I have a problem with my application when I compile my code.
I have a stand alone form that has the webbrowser control.
I generate an html page that I store as a file on a hard drive.
After I've generated the html file, I direct the webbrowser to open it:
When I run in design mode, everything works; when I compile and run the webbrowser form completely hangs or displays a memory conflict error.
Why would compiled code function differently from design for such a simple operation?
I have a stand alone form that has the webbrowser control.
I generate an html page that I store as a file on a hard drive.
After I've generated the html file, I direct the webbrowser to open it:
With frmWWNSN
.WebBrowser1.Navigate2 (OutputFile)
.Show vbModal
End With
.WebBrowser1.Navigate2 (OutputFile)
.Show vbModal
End With
When I run in design mode, everything works; when I compile and run the webbrowser form completely hangs or displays a memory conflict error.
Why would compiled code function differently from design for such a simple operation?