Advanced WebBrowser Help?

SwiftYx
09-24-2009, 04:10 AM
I've only been programming in VB for a few months now due to a college course i was taking, i'm now onto the next level course and know next to nothing about VB. I've only just started learning how variables work ect but would like to get ahead of everyone.

I've created the simple layout for a web browser using all the forward, back buttons ect. There's a few things i have no idea about and am having trouble finding online.

1. How to save history.
2. How to stop URLs duplicating in history.
3. How to setup "Favourites"
4. How to maximize the WebBrowser when it is running.
5. How to add a progress bar.
6. How to get Control Panel shortcuts to load i.e. Internet Options.

If anyone can help me with these things it'd be greatly appreciated.

Thanks :).

kassyopeia
09-24-2009, 05:39 AM
All of these things are very hard (but not impossible) to accomplish with VB. The reference is here (http://msdn.microsoft.com/en-us/library/aa770043(VS.85).aspx), but to be able to make sense of it, you first need to understand something about IDispatch (http://msdn.microsoft.com/en-us/library/ms221608.aspx) and how to use helper libraries like this one (http://www.brothersoft.com/olelib.tlb-199433.html).

In other words, this will take time and effort.

SwiftYx
09-24-2009, 05:58 AM
Well i'll give it all a read. I need to learn this stuff so i will stick at it until i get it lol.

kassyopeia
09-24-2009, 06:22 AM
Learning more is always a good idea, but going from variables straight to typelibs is like going from learning how to open the hood to trying to construct an engine from scratch: It might be better to set some intermediate targets, so as to avoid frustration. ;)

vb5prgrmr
09-24-2009, 06:49 AM
Okay, if you have VB6 Professional or Enterprise there is this think call VB6 Application Wizard and you can find this under Add-Ins>Add-In Manager. As you go through this wizard you will have the option to web enable the application (basically it can create a souped up notepad as I remember). If you select this option to have a web enabled application it will create a form for you that is or looks like the old IE2.x or 3. That should have enough code for you to get cracking on...



Good Luck

EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum