Forum posts for mozilla.exe

C# - Visual Studio Not able to clean textbox after IF Statement

I am making a very simple program. Need some help clearing out a textbox after performing a search. I have used the cboPrograms.Text = string.Empty; but I must not be putting it in the right place. After I choose an option it will not clear.

private void cboPrograms_SelectedIndexChanged(object sender, EventArgs e)
{

if (cboPrograms.Text == 'MFValidation')
{
System.Diagnostics.Process.Start('C:\Program Files (x86)\Mozilla\Mozilla.exe');
}
else if (cboPrograms.Text == 'Add/Remove Programs')
{
System.Diagnostics.Process.Start('C:\Program Files\AddRemove\addremove.exe');
cboPrograms.Text = string.Empty;
}


{
cboPrograms.Text = string.Empty;
}
}

View complete forum thread with replies

Other posts related to mozilla.exe

See Related Forum Messages: Follow the Links Below to View Complete Thread

How to include image at runtime using JSP?
C# - Visual Studio Not able to clean textbox after IF Statement

What is the carbon footprint of your coffee?

Is it low? Is it high? Can this things really kill the planet Earth? Maybe the answer will surprise you. Maybe not.