G
Guest
I am writing a timesheet program for my office and I am trying to keep a
portion of my code synchronous during shutdown (so that it registers the time
a user shuts down the computer) , but
webBrowser1.Navigate("www.webpage.com"); starts, then the app shuts down
before the navigation is completed.
I've tried:
while (this.webBrowser1.IsBusy.Equals(true)) { }
and
while
(!this.webBrowser1.ReadyState.Equals(System.Windows.Forms.WebBrowserReadyState.Complete)) { }
but neither seem to work correctly.
Any help would be appreciated, thank you,
Michael
I'm using C# EE beta2 at the moment
portion of my code synchronous during shutdown (so that it registers the time
a user shuts down the computer) , but
webBrowser1.Navigate("www.webpage.com"); starts, then the app shuts down
before the navigation is completed.
I've tried:
while (this.webBrowser1.IsBusy.Equals(true)) { }
and
while
(!this.webBrowser1.ReadyState.Equals(System.Windows.Forms.WebBrowserReadyState.Complete)) { }
but neither seem to work correctly.
Any help would be appreciated, thank you,
Michael
I'm using C# EE beta2 at the moment