Click here to Skip to main content
15,880,469 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I am working on windows application. In that application i had created one Web Browser. I want to work on the same web browser where i want to make it as offline browser. I want to open already saved HTML files in the same browser.

For example: Suppose i have HTML files of Rediff.com and when i enter text into address bar it automatically move to physical path of web files.
i.e. @"c:\WebFiles\Rediff\Main.htm"...

Using WebBrowser.Navigate(URL) it will connect to live server.
How to navigate brouser to Phyascial path i.e c:\?

Is there any alternative way of doing it?

Any kind of link, suggestion and specially expert advice would be highly appreciated.

Regards,
Balkrishna Raut
Posted
Updated 7-Jan-11 1:10am
v6
Comments
Sandesh M Patil 7-Jan-11 7:03am    
Edited for better readability

1 solution

use file:// instead of http:// in the url

Regards
Espen Harlinn
 
Share this answer
 
Comments
#realJSOP 7-Jan-11 7:30am    
This is the answer, and should be marked as such.
fjdiewornncalwe 7-Jan-11 10:46am    
+5... Excellent and simple.
Espen Harlinn 7-Jan-11 12:19pm    
Thanks Marcus!

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900