Quantcast
Channel: VBForums - Visual Basic .NET
Viewing all articles
Browse latest Browse all 27514

VS 2008 how can I prevent this from causing an error?

$
0
0
I'm controlling the form1.webbrowser1 from a module so I have this loop after form1.webbrowser1.navigate:


Do While Form1.WebBrowser1.ReadyState <> WebBrowserReadyState.Complete
System.Windows.Forms.Application.DoEvents()
Loop


System.Windows.Forms.Application.DoEvents() is causing an "attempted to read or write protected memory error"

How can I correct this?

Viewing all articles
Browse latest Browse all 27514

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>