Quantcast
Channel: VBForums - Visual Basic 6 and Earlier
Viewing all articles
Browse latest Browse all 21212

VB6 complied Webbrowser html probem

$
0
0
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:

With frmWWNSN

.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?

Viewing all articles
Browse latest Browse all 21212

Trending Articles