Application of Web Browser
follow stages;steps following completely
1. Open new project use Standar.Exe
2. Of especial menu, select;choose menu of Project .. Components. Later;Then
activating Check Box menu of Microsoft Internet Control.
3. Enhancing object of Textbox, object of Commandbuntton, and object
Webbrowser into form. Following example of desain its its.
4. Arrange appearance of form above with order of[is tables of following.
Tables 5.1 Arrangement of simple Web Browser form

5. After finishing, typing program code following completely.
Private Sub of Tbback_Click()
On Error Resume of Next
Webbrowser.Goback
End Sub
Private Sub of Tbforword_Click()
On Error Resume of Next
Webbrowser.Goforward
End Sub
Private Sub of Tbgo_Click()
Webbrowser.Navigate Txturl.Text
End Sub
Private Sub of Txturl_Keydown(Keycode Ace Integer _
Shift Ace Integer)
Webbrowser.Navigate Txturl.Text
End Sub.
6. After finishing, running program by button F5.
Tuesday, June 30, 2009
tutorial Visual Basic
Subscribe to:
Post Comments (Atom)
0 comments on "tutorial Visual Basic"
Subscribe in a Reader
Post a Comment