VB6 Web browser help?

Status
Not open for further replies.

Dzetki

The Prodigal Son Returns
Jul 16, 2010
990
220
Well, i tried to make my own web browser in VB6 as my first VB6 project, but it failed as i don't know how to get it to work in an x86 operative system.

Screenshot of the .exe file in Visual Basic:
1292090608886175503440.png

Unfortunately i can't give you a screenie of the error I get as you wouldn't understand what it says (it's in norwegian)..

Heres a translation:
The version of this file isn't compatible with the windows-version you are running. Check in your system information of you need a x86 or x64 version of the program, and contact the program-deliver.

My code:
Private Sub cmdgo_Click()
WebBrowser1.Navigate (Text1.Text)
End Sub
Private Sub cmdback_Click()
WebBrowser1.GoBack
End Sub
Private Sub Cmdforward_Click()
WebBrowser1.GoForward
End Sub
Private Sub cmdrefresh_Click()
WebBrowser1.Refresh
End Sub
Private Sub Form_Load()
WebBrowser1.Navigate ("http://www.google.com")
End Sub
Private Sub WebBrowser1_StatusTextChange(ByVal Text As String)
Text1.Text = (WebBrowser1.LocationURL)
Form1.Caption = (WebBrowser1.LocationName)
End Sub

Could you help me get it up running? (it's only a basic web browser which i'll make more advanced later on.)
 
Status
Not open for further replies.

Users who are viewing this thread

Top