[VB2005] How to make browser with settings.ini
Hey, how do I make a browser with a fixed homepage that's adjustable in a settings.ini file.
So what do I need to know:
How does VB import settings from the settings.ini
(like webpage to show, version number, later maybe something else)
How to open a subwindow, but it's not a real app.
and how to refresh a page.
oh, and how to scroll a message in a new window
Thanks if you can help me out
Re: [VB2005] How to make browser with settings.ini
In .net 2 there is a webbrowser control. You should be able to just drag it on from your wysiwyg editor and set its default site in its properties. It comes with no buttons etc by default so just add some buttons and get their event handlers to call functions on the control to refresh etc.
If you are using .net 1.1 or previously (which I doubt since youre using "vb2005") you will have to go the activex control route with AxInterop.SHDocVw.dll and Interop.SHDocVw.dll (I think both of them are needed at least)
Re: [VB2005] How to make browser with settings.ini
And what's the code for refreshing the page? it's in .net 2
I found a tut for using settings from a .ini.
Re: [VB2005] How to make browser with settings.ini
You could get some os to work from,