19.12.2012 Views

Computer Programming Concepts and Visual Basic David I. Schneider

Computer Programming Concepts and Visual Basic David I. Schneider

Computer Programming Concepts and Visual Basic David I. Schneider

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

396 <strong>Computer</strong> <strong>Programming</strong> <strong>Concepts</strong> <strong>and</strong> <strong>Visual</strong> <strong>Basic</strong><br />

Private Sub cmdBack_Click()<br />

WebBrowser1.GoBack ‘Return to the previous web site or page<br />

End Sub<br />

Private Sub cmdPH_Click()<br />

WebBrowser1.Navigate (“http://www.prenhall.com”)<br />

End Sub<br />

[Run. After the Internet Explore home page appears, click on the comm<strong>and</strong> button with the picture of the<br />

Prentice-Hall trademark.]<br />

COMMENTS<br />

1. The abbreviation HTTP st<strong>and</strong>s for HyperText Transfer Protocol.<br />

2. Some additional properties of the Web Browser control are<br />

LocationURL Gives the URL of the current page.<br />

LocationName Gives the title of the current page.<br />

Busy Has the value True if the control is downloading a file<br />

or navigating to a new location.<br />

3. Some additional methods of the Web Browser control are<br />

GoForward Undoes the most recent GoBack method.<br />

GoSearch Goes to the user’s web searching page.<br />

Stop Cancels the current operation of the control.<br />

4. Some additional events of the Web Browser control are<br />

BeforeNavigate Triggered right before the control moves to a new<br />

location.<br />

ProgressChange Triggered periodically as the downloading continues.

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!