Post subject: please help me for driving web browser in vb6.0
Posted: Sat Feb 21, 2009 8:15 am
Joined: Sat Feb 21, 2009 8:01 am Posts: 2
hello i'm writing lessons program. But it can't work. If known any one please help me.
Private Sub Form1_load() WebBrowser1.Navigate ("C:\Data\000.html") End Sub
Private Sub WebBrowser1_StatusTextChanges(ByVal Text As String) Dim HtmlUrl as String HtmlUrl = WebBrowser1.LocationUrl If HtmlUrl = "command:goto:001" Then WebBrowser1.Navigate ("C:\Data\001.html") If HtmlUrl = "command:goto:002" Then WebBrowser1.Navigate ("C:\Data\002.html") . . End Sub
If "Lesson 1" clicked the page need to change by c:\Data\001.html But it doesn't work. The WebBrowser1 always running. Please help me for those problem
Users browsing this forum: No registered users and 0 guests
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot post attachments in this forum