PC Review
Forums
Newsgroups
Microsoft DotNet
Microsoft Dot NET Framework Forms
Re: Opening the application's "homepage" in axwebbrowser when it is lo
Forums
Newsgroups
Microsoft DotNet
Microsoft Dot NET Framework Forms
Re: Opening the application's "homepage" in axwebbrowser when it is lo
![]() |
Re: Opening the application's "homepage" in axwebbrowser when it is lo |
|
|
Thread Tools | Rate Thread |
|
|
#1 |
|
Guest
Posts: n/a
|
Use
Use other overloaded method of web browser contorl that take only file name etc Me.AxWebBrowser1.Navigate("FileName") where File Name can be a url or File Name. In your case you must place index.html in Bin directory and call above line in form loading event handler. regards Waheed Iqbal "orit" <orit@discussions.microsoft.com> wrote in message news:05B16213-DE4D-43E8-9F20-62DC583F2AB4@microsoft.com... >I have winform that contains axWebBrowser. I want that when the application > runs a default .html page of the application will be opened in the > webbrowser > control. > My question is how do I include in my application a constant file, and how > do I refer to it in the code. for example in the following code - with > what > reference should I replace the "index.html" that will always be available > with my application? > I tried to add to the _load event of the form the following code: > Code:
> > Thanks a lot |
|
![]() |
|
| Thread Tools | |
| Rate This Thread | |
|
|

Main Page 

