Home All Groups Group Topic Archive Search About

Showing a web page in VB.Net form?

Author
30 Mar 2006 6:59 AM
rj
Hi All,

I am kind of new to .Net.
I have a web page created in Access (data access page), and i wish to
view it on a form created in VB.Net. I dont want it to open in a new
window.
Is this possible? How do I do it?

Thanks in advance..

Author
30 Mar 2006 8:10 AM
CMM
If you're using VS2003, right-click on the toolbox and click Add Item -> COM
Components -> Microsoft Web Browser.

If you're using VS2005 simply use the new built-in WebBrowser control.

--
-C. Moya
www.cmoya.com
Show quoteHide quote
"rj" <rje***@gmail.com> wrote in message
news:1143701950.588738.120290@i39g2000cwa.googlegroups.com...
> Hi All,
>
> I am kind of new to .Net.
> I have a web page created in Access (data access page), and i wish to
> view it on a form created in VB.Net. I dont want it to open in a new
> window.
> Is this possible? How do I do it?
>
> Thanks in advance..
>
Author
30 Mar 2006 10:53 AM
Herfried K. Wagner [MVP]
"rj" <rje***@gmail.com> schrieb:
> I have a web page created in Access (data access page), and i wish to
> view it on a form created in VB.Net. I dont want it to open in a new
> window.

..NET 1.0/1.1:

WebOCHostVB.exe Hosts the WebBrowser Control in Visual Basic .NET
<URL:http://support.microsoft.com/?scid=kb;EN-US;311303>

..NET 2.0 comes with a built-in webbrowser control.

--
M S   Herfried K. Wagner
M V P  <URL:http://dotnet.mvps.org/>
V B   <URL:http://classicvb.org/petition/>
Author
30 Mar 2006 1:03 PM
rj
Thanks :))
Author
31 Mar 2006 7:16 AM
rj
but how do I specify a path for the site to open? i dont see any
options in the properties..
Author
31 Mar 2006 10:49 AM
Herfried K. Wagner [MVP]
"rj" <rje***@gmail.com> schrieb:
> but how do I specify a path for the site to open? i dont see any
> options in the properties..

..NET 2.0:  'WebBrowser.Url'.
..NET 1.*:  'WebBrowser.Navigate'.

--
M S   Herfried K. Wagner
M V P  <URL:http://dotnet.mvps.org/>
V B   <URL:http://classicvb.org/petition/>
Author
31 Mar 2006 1:08 PM
rj
Thanx.. will try that :))