Open .html on load of form and to make default web browser!
hi, i run C# 2010, .NET 4
I would like some help to be able to make my form- a web browser.
My aim is that when a .html file is clicked outside my app, it opens the form and the web browser control loads the .html file but not the home page.
Then, i would like to be able to make it my default browser once done.
So how can i do this.
Please reply with code or comments :)
what i want is to be able to open something in my Web Browser in explorer.exe
I know how to do this, but , it doesn't load the file. I know how to make it default browser, but there is no point of doing it if it can't open .htmls from explorer.exe
See, what i want is some code to allow the web browser control to load .htmls like all other browsers when they are clicked on in Explorer.exe
Watch this video - only 20 secs!!
Link: http://fs11n5.sendspace.com/dl/b4dcb...al%20Video.wmv
I really need help quickly.
Re: Open .html on load of form and to make default web browser!
You probably need to set html file extensions to use your application.
Take a look at this and this
Re: Open .html on load of form and to make default web browser!
I know how to make a file association, but i want the actual web browser to load a .html that is clicked in explorer.exe Have you seen the video?
Re: Open .html on load of form and to make default web browser!
after you make the file association to your app.exe you need to change it to accept args[], then on load, make sure it's a valid url and wb1.nav()