Putting a browser into my app?

  • Thread starter Thread starter news.microsoft.com
  • Start date Start date
N

news.microsoft.com

Hi,

I want ot have a browser window(no tool or address bar) in my vb.net.

I have looked at the .net and com objects, and I can see a com component
called 'MS web browser'. It looks like what I want, but the browser address
is readonly, and I can not set it

Is there a proper .net browser that I can use for this ? If not how do I set
the com based browser to look at my web page?

Thanks
 
Hi,
Take a look at the "navigate" methode (although the best is to use
"navigate2")
xxwebbrowser.navigate2(url)
I hope this helps
Cor
 
Hi,

You will have to use the WebBrowser control through COM interop as there
currently is no managed web browser control. You need to..

- Add the WebBrowser Control to your form
- Use the WebBrowser.Navigate2() method to load a URL into the browser
control

See the following knowledge base article for more information.

http://support.microsoft.com/?kbid=311284

--
Ross Donald
Rad Software
http://www.radsoftware.com.au


| Hi,
|
| I want ot have a browser window(no tool or address bar) in my vb.net.
|
| I have looked at the .net and com objects, and I can see a com component
| called 'MS web browser'. It looks like what I want, but the browser
address
| is readonly, and I can not set it
|
| Is there a proper .net browser that I can use for this ? If not how do I
set
| the com based browser to look at my web page?
|
| Thanks
|
|
 
Back
Top