By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
444,238 Members | 1,532 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 444,238 IT Pros & Developers. It's quick & easy.

Microsoft Web Browser COM Component

P: n/a
I have added a Microsoft Web Browser control to my toolbox and placed it on
my form.

However, the LocationURL is readonly.

Is there any way to set the URL so that when the form loads, the page
appears straight away? I was thinking that the LocationURL property referred
to the URL of the form. Would that be correct?

Any advice on how to open the browser with a page loaded would be really
appreciated.
Nov 21 '05 #1
Share this Question
Share on Google+
2 Replies


P: n/a
I just wanted to add that I found the Navigate2 property and set it to a page
on the web. It works fine.

However, I now want to add a page of my own to the project and show it in
the browser. I have tried simply adding the page as an existing item, but
cannot seem to get it to load.

Any suggestions?
Nov 21 '05 #2

P: n/a
"cashdeskmac" <ca*********@discussions.microsoft.com> schrieb:
I have added a Microsoft Web Browser control to my toolbox and placed it on
my form.

However, the LocationURL is readonly.

Is there any way to set the URL so that when the form loads, the page
appears straight away?


You can use the control's 'Navigate'/'Navigate2'/'Navigate3' methods to
display a certain page in the control.

--
M S Herfried K. Wagner
M V P <URL:http://dotnet.mvps.org/>
V B <URL:http://classicvb.org/petition/>

Nov 21 '05 #3

This discussion thread is closed

Replies have been disabled for this discussion.