I've got an application that scans for updates when it's started (loads). I've got some progressbar that advances as files are being scaned but the form doesnt display until after the scanning is done. How do I get the form to display right after being loaded Using VS2005 if it matters.

j# form load
ChrizA
You are going to have to be a bit more specific on how your application actually loads as that directly relates to a solution.
Your update checker... is it happening inside of your Load event handler If so, you’ll want to spawn it off there, likely into a different thread so that the Load event can finish and your form be displayed.
Also... if you’ve already fired off Show() and your Load event has completed... you may be having a problem with your checker running in the main thread which could block the initial drawing of the form and DoEvents *might* help.
Without some more idea of what you are doing (code would be useful) it’s hard to say anything definite however.
srinivas duddu
thanks for the quick reply - got that to work but now have a different problem. I'm reading from files and I'm geting an error on the highlighted line below. The first value in the list_races ArrayList is a string (with the value of "Human"). The file Data/Races/Human.txt exists and has one line in it. The exception thrown is a java.io.FileNotFoundException and is caught later (whats shown is within a try/catch). is there anything that would be causing the file to not be found
code:
int index = 0;while (t_list_races.size() > index)
{
list_races.add(new Race((String)(t_list_races.get(index))));
String temp = ((Race)(list_races.get(index))).name_get();
buffer = new BufferedReader(new FileReader(new File("Data/Races/" + temp + ".txt")));
((Race)(list_races.get(index))).desc_set(buffer.readLine());
progressBar3.set_Value(bar_value++);
index++;
} System.out.println("" + progressBar3.get_Value() + "/" + progressBar3.get_Maximum());
label2.set_Text("Game Data Loaded!");
button1.set_Enabled(true);
button2.set_Enabled(true);
button4.set_Enabled(true);
if (SERVER_MULTI)
button5.set_Enabled(true);
RRS