D
Dan McCollick
Hi All,
Noob question that I can not seem to figure out:
I am trying to implement a screenscraper to pull data from two seperate
websites, here is some test code so far:
public static void Main(string[] args)
{
Application.EnableVisualStyles();
Application.SetCompatibleTextRenderingDefault(false);
MainForm mainForm = new MainForm();
//Application.Run(new MainForm());
Application.Run (mainForm);
mainForm.setStatusBarLabel("Ready");
//load prosight data
mainForm.loadProsightData();
Application.Run (mainForm);
}
Why, when debuging, does the system never go past Appplication.Run
(mainForm)?
In another method in the mainForm constructor, I load an
InternetExplorer object. I would like the statustext, and progress bar
from this object to feed and update a status bar in my mainform. If
Application.Run(mainform) would end, i could then use the
setStatusBarLabel function to update my status text.....
Noob question that I can not seem to figure out:
I am trying to implement a screenscraper to pull data from two seperate
websites, here is some test code so far:
public static void Main(string[] args)
{
Application.EnableVisualStyles();
Application.SetCompatibleTextRenderingDefault(false);
MainForm mainForm = new MainForm();
//Application.Run(new MainForm());
Application.Run (mainForm);
mainForm.setStatusBarLabel("Ready");
//load prosight data
mainForm.loadProsightData();
Application.Run (mainForm);
}
Why, when debuging, does the system never go past Appplication.Run
(mainForm)?
In another method in the mainForm constructor, I load an
InternetExplorer object. I would like the statustext, and progress bar
from this object to feed and update a status bar in my mainform. If
Application.Run(mainform) would end, i could then use the
setStatusBarLabel function to update my status text.....