Click to See Complete Forum and Search --> : Integrating HTML


samzsitez
June 15th, 2001, 08:18 AM
What if we wanted to include a sniplet of code, say a banner linking to the program's website.
or just plain HTML formating in a frames

What should we do?

Thanks in advance

Jean-Guy2000
June 15th, 2001, 10:41 AM
For a banner just make a picturebox that contains the banner and then in the On_Click() event put this code in

Dim lSuccess as Long
lSuccess = ShellExecute(Me.hwnd, "Open", "http://yoursite.com", 0&, 0&, SW_SHOWDEFAULT)

This will cause the default broswer to open to your url. If you want to embed html code you need to use the internet explorer ocx.

Jean-Guy

samzsitez
June 15th, 2001, 11:21 AM
thanks guy
so what if i wanted to embed HTML using internet explorer.ocx

how do i do that?
thanks