|
-
Oct 28th, 2006, 01:17 PM
#1
Thread Starter
New Member
This is getting frustrating...
Im pretty new to Visual Basic, and I want to make a custom web browser to fit my needs. I have everything on it perfect, exept I have no idea what the code is for back, forward, and refresh. Could someone let me in on that code?
-
Oct 28th, 2006, 01:51 PM
#2
Re: This is getting frustrating...
For back and forth, you need to keep track of that information in memory.
For refresh, it depends on how you are loading the page, but it should be something as simple as reloading the page.
-
Oct 28th, 2006, 07:04 PM
#3
Re: This is getting frustrating...
VB Code:
WebBrowser1.GoForward()
WebBrowser1.GoBack()
WebBrowser1.Refresh()
"I'm not normally a praying man, but if you're up there, save me... Superman!" - Homer Simpson
My Blog
-
Oct 28th, 2006, 10:20 PM
#4
Re: This is getting frustrating...
A word of advice: if you're using a class, e.g. WebBrowser, and you want to do something with it then the first thing you should do is read the MSDN help topic for the class itself and the second thing you should do is read the help topic for its member listing. More often than not this will provide you the information you need. Most types and members in the .NET Framework are quite descriptively named, as in this case. Had you read the member listing topic for the WebBrowser I'm quite sure that you'd have recognised that those three methods did exactly what you wanted.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|