473,554 Members | 3,168 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

What is WebBrowser control called now?

....and how do I insert one into my form? I used in VB 6.0 last, but cannot
figure out where it is in .Net

Thanx,
--
Anil Gupte
www.keeninc.net
www.icinema.com
Dec 13 '06 #1
11 2808
Anil Gupte wrote:
...and how do I insert one into my form? I used in VB 6.0 last, but cannot
figure out where it is in .Net
After searching for all of 20 seconds on MSDN, I found that it is
called WebBrowser.

To use it, you simply drag it onto your form from the toolbox.

Dec 13 '06 #2
Hmm, sorry, but I cannnot find it. Not on the toolbox. The couple of
references in MSDN found seem to refer to VB 6.0, for example
*************** **********
In Visual Basic 6.0, the OLE Container control was used to add insertable
OLE objects to your forms. There is no OLE Container control in Visual Basic
..NET. If you need the functionality of the OLE Container control, in some
cases you can substitute the Visual Basic 6.0 WebBrowser ActiveX control and
use it as an OLE Container.
See Also
Things to Consider Before Upgrading | Adding ActiveX Controls to Windows
Forms

*************** *****
There is no WebBrowser in the toolbox - I think even in VB6 I had to add a
reference before I could insert it. But in .Net I cannot find an reference
with the same or similar name. The above text also makes me wonder if I
have to somehow include a VB6 project to be able to see a WebBrowser.

Thanx,
--
Anil Gupte
www.keeninc.net
www.icinema.com

"Chris Dunaway" <du******@gmail .comwrote in message
news:11******** **************@ 16g2000cwy.goog legroups.com...
Anil Gupte wrote:
>...and how do I insert one into my form? I used in VB 6.0 last, but
cannot
figure out where it is in .Net

After searching for all of 20 seconds on MSDN, I found that it is
called WebBrowser.

To use it, you simply drag it onto your form from the toolbox.

Dec 13 '06 #3
On Wed, 13 Dec 2006 23:53:47 +0530, Anil Gupte wrote:
There is no WebBrowser in the toolbox - I think even in VB6 I had to add a
reference before I could insert it. But in .Net I cannot find an reference
with the same or similar name. The above text also makes me wonder if I
have to somehow include a VB6 project to be able to see a WebBrowser.

Thanx,
What version of VS are you using? The WebBrowser is included in Visual
Studio 2005
--
Bits.Bytes
http://bytes.thinkersroom.com
Dec 13 '06 #4
Anil Gupte wrote:
Hmm, sorry, but I cannnot find it. Not on the toolbox. The couple of
references in MSDN found seem to refer to VB 6.0, for example
I'm not sure why you aren't seeing it. When I search for WebBrowser on
MSDN, I get this item as the fourth one in the list:

WebBrowser Class (System.Windows .Forms)
Enables the user to navigate Web pages inside your form. ... Enables
the user to navigate Web pages inside your form. Namespace:
System.Windows. Forms
http://msdn2.microsoft.com/en-us/lib...ebbrowser.aspx
But Rad is right, the WebBrowser class is only available in VS2005.
There is no WebBrowser in the toolbox - I think even in VB6 I had to add a
reference before I could insert it. But in .Net I cannot find an reference
with the same or similar name. The above text also makes me wonder if I
have to somehow include a VB6 project to be able to see a WebBrowser.
If you are using VS2005 and the WebBrowser control is not on the
toolbox, right click the toolbox and select Choose Items. Then click
the .Net Components tab and scroll down to WebBrowser and select it.

If you are using VS2003, right click the toolbox and select Add/Remove
items. Then click the COM components tab and select the Microsoft Web
Browser ActiveX control as you do now with VB6.

Chris

Dec 14 '06 #5
I am using .Net 2003 Enterprise

--
Anil Gupte
www.keeninc.net
www.icinema.com

"Rad [Visual C# MVP]" <no****@nospam. comwrote in message
news:1v******** ********@thinke rsroom.com...
On Wed, 13 Dec 2006 23:53:47 +0530, Anil Gupte wrote:
>There is no WebBrowser in the toolbox - I think even in VB6 I had to add
a
reference before I could insert it. But in .Net I cannot find an
reference
with the same or similar name. The above text also makes me wonder if I
have to somehow include a VB6 project to be able to see a WebBrowser.

Thanx,

What version of VS are you using? The WebBrowser is included in Visual
Studio 2005
--
Bits.Bytes
http://bytes.thinkersroom.com

Dec 14 '06 #6
I am using .Net 2003. And I am sorry I thought you were referring to my
local MSDN, which is where I searched.

--
Anil Gupte
www.keeninc.net
www.icinema.com

"Chris Dunaway" <du******@gmail .comwrote in message
news:11******** *************@n 67g2000cwd.goog legroups.com...
Anil Gupte wrote:
>Hmm, sorry, but I cannnot find it. Not on the toolbox. The couple of
references in MSDN found seem to refer to VB 6.0, for example

I'm not sure why you aren't seeing it. When I search for WebBrowser on
MSDN, I get this item as the fourth one in the list:

WebBrowser Class (System.Windows .Forms)
Enables the user to navigate Web pages inside your form. ... Enables
the user to navigate Web pages inside your form. Namespace:
System.Windows. Forms
http://msdn2.microsoft.com/en-us/lib...ebbrowser.aspx
But Rad is right, the WebBrowser class is only available in VS2005.
>There is no WebBrowser in the toolbox - I think even in VB6 I had to add
a
reference before I could insert it. But in .Net I cannot find an
reference
with the same or similar name. The above text also makes me wonder if I
have to somehow include a VB6 project to be able to see a WebBrowser.

If you are using VS2005 and the WebBrowser control is not on the
toolbox, right click the toolbox and select Choose Items. Then click
the .Net Components tab and scroll down to WebBrowser and select it.

If you are using VS2003, right click the toolbox and select Add/Remove
items. Then click the COM components tab and select the Microsoft Web
Browser ActiveX control as you do now with VB6.

Chris

Dec 14 '06 #7
OK. I found it. http://support.microsoft.com/kb/821771

--
Anil Gupte
www.keeninc.net
www.icinema.com

"Anil Gupte" <an*******@icin ema.comwrote in message
news:u%******** ********@TK2MSF TNGP03.phx.gbl. ..
>I am using .Net 2003. And I am sorry I thought you were referring to my
local MSDN, which is where I searched.

--
Anil Gupte
www.keeninc.net
www.icinema.com

"Chris Dunaway" <du******@gmail .comwrote in message
news:11******** *************@n 67g2000cwd.goog legroups.com...
>Anil Gupte wrote:
>>Hmm, sorry, but I cannnot find it. Not on the toolbox. The couple of
references in MSDN found seem to refer to VB 6.0, for example

I'm not sure why you aren't seeing it. When I search for WebBrowser on
MSDN, I get this item as the fourth one in the list:

WebBrowser Class (System.Windows .Forms)
Enables the user to navigate Web pages inside your form. ... Enables
the user to navigate Web pages inside your form. Namespace:
System.Windows .Forms
http://msdn2.microsoft.com/en-us/lib...ebbrowser.aspx
But Rad is right, the WebBrowser class is only available in VS2005.
>>There is no WebBrowser in the toolbox - I think even in VB6 I had to add
a
reference before I could insert it. But in .Net I cannot find an
reference
with the same or similar name. The above text also makes me wonder if I
have to somehow include a VB6 project to be able to see a WebBrowser.

If you are using VS2005 and the WebBrowser control is not on the
toolbox, right click the toolbox and select Choose Items. Then click
the .Net Components tab and scroll down to WebBrowser and select it.

If you are using VS2003, right click the toolbox and select Add/Remove
items. Then click the COM components tab and select the Microsoft Web
Browser ActiveX control as you do now with VB6.

Chris


Dec 14 '06 #8
Anil,

Don't forget as Chriss wrote to set it in your toolbox and drag it from
there on your form.
Otherwise the RESX settings will most probably go wrong.

Cor

"Anil Gupte" <an*******@icin ema.comschreef in bericht
news:ux******** ******@TK2MSFTN GP03.phx.gbl...
OK. I found it. http://support.microsoft.com/kb/821771

--
Anil Gupte
www.keeninc.net
www.icinema.com

"Anil Gupte" <an*******@icin ema.comwrote in message
news:u%******** ********@TK2MSF TNGP03.phx.gbl. ..
>>I am using .Net 2003. And I am sorry I thought you were referring to my
local MSDN, which is where I searched.

--
Anil Gupte
www.keeninc.net
www.icinema.com

"Chris Dunaway" <du******@gmail .comwrote in message
news:11******* **************@ n67g2000cwd.goo glegroups.com.. .
>>Anil Gupte wrote:
Hmm, sorry, but I cannnot find it. Not on the toolbox. The couple of
references in MSDN found seem to refer to VB 6.0, for example

I'm not sure why you aren't seeing it. When I search for WebBrowser on
MSDN, I get this item as the fourth one in the list:

WebBrowser Class (System.Windows .Forms)
Enables the user to navigate Web pages inside your form. ... Enables
the user to navigate Web pages inside your form. Namespace:
System.Window s.Forms
http://msdn2.microsoft.com/en-us/lib...ebbrowser.aspx
But Rad is right, the WebBrowser class is only available in VS2005.

There is no WebBrowser in the toolbox - I think even in VB6 I had to
add a
reference before I could insert it. But in .Net I cannot find an
reference
with the same or similar name. The above text also makes me wonder if
I
have to somehow include a VB6 project to be able to see a WebBrowser.

If you are using VS2005 and the WebBrowser control is not on the
toolbox, right click the toolbox and select Choose Items. Then click
the .Net Components tab and scroll down to WebBrowser and select it.

If you are using VS2003, right click the toolbox and select Add/Remove
items. Then click the COM components tab and select the Microsoft Web
Browser ActiveX control as you do now with VB6.

Chris



Dec 14 '06 #9
Yes, thanx I did that.

--
Anil Gupte
www.keeninc.net
www.icinema.com

"Cor Ligthert [MVP]" <no************ @planet.nlwrote in message
news:%2******** ********@TK2MSF TNGP02.phx.gbl. ..
Anil,

Don't forget as Chriss wrote to set it in your toolbox and drag it from
there on your form.
Otherwise the RESX settings will most probably go wrong.

Cor

"Anil Gupte" <an*******@icin ema.comschreef in bericht
news:ux******** ******@TK2MSFTN GP03.phx.gbl...
>OK. I found it. http://support.microsoft.com/kb/821771

--
Anil Gupte
www.keeninc.net
www.icinema.com

"Anil Gupte" <an*******@icin ema.comwrote in message
news:u%******* *********@TK2MS FTNGP03.phx.gbl ...
>>>I am using .Net 2003. And I am sorry I thought you were referring to my
local MSDN, which is where I searched.

--
Anil Gupte
www.keeninc.net
www.icinema.com

"Chris Dunaway" <du******@gmail .comwrote in message
news:11****** *************** @n67g2000cwd.go oglegroups.com. ..
Anil Gupte wrote:
Hmm, sorry, but I cannnot find it. Not on the toolbox. The couple of
reference s in MSDN found seem to refer to VB 6.0, for example

I'm not sure why you aren't seeing it. When I search for WebBrowser on
MSDN, I get this item as the fourth one in the list:

WebBrowser Class (System.Windows .Forms)
Enables the user to navigate Web pages inside your form. ... Enables
the user to navigate Web pages inside your form. Namespace:
System.Windo ws.Forms
http://msdn2.microsoft.com/en-us/lib...ebbrowser.aspx
But Rad is right, the WebBrowser class is only available in VS2005.

There is no WebBrowser in the toolbox - I think even in VB6 I had to
add a
reference before I could insert it. But in .Net I cannot find an
reference
with the same or similar name. The above text also makes me wonder if
I
have to somehow include a VB6 project to be able to see a WebBrowser.

If you are using VS2005 and the WebBrowser control is not on the
toolbox, right click the toolbox and select Choose Items. Then click
the .Net Components tab and scroll down to WebBrowser and select it.

If you are using VS2003, right click the toolbox and select Add/Remove
items. Then click the COM components tab and select the Microsoft Web
Browser ActiveX control as you do now with VB6.

Chris



Dec 14 '06 #10

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
7955
by: Vetrivel | last post by:
Application architecture : Develop interface between two existing systems, a. Enterprise CRM system b. Web based intranet system. Environment : Intranet Server : IIS and ASP. Script : VBScript and Javascript Client : 1. IE browser. 2. VBForm embedded with WebBrowser control (MS Internet
2
4765
by: Chris Bingham | last post by:
Hi everyone, Does anyone know how to fix the paper orientation depending on the paper size used when printing with the WebBrowser control please? What I've got is a HTML file, containing 1 big table of data, created by transforming an XML file using a XSLT file I created in InfoPath (didn't have time to learn XSLT!), the resulting HTML file...
9
3169
by: philip | last post by:
Is it possible, on a WebBrowser control, to intercept a HyperLink and react programmatically to this click ? That's my first question. In fact, I use the Webbrowser as a sort of report (I write the html code and tables programmatically in a string, and I give the string to the property DocumentText of the WebBrowser, and I insert in this...
7
11908
by: Dave Booker | last post by:
I am using a WebBrowser object in my .NET 2.0 application, but it is not shown to the user. Every time a timer event triggers it to perform a m_WebBrowser.Navigate() I get that classic IE 'click' and it steals the focus from the user's current application. How can I prevent the hidden WebBrowser from stealing focus? (And better yet can I...
5
6569
by: mabond | last post by:
Hi recently read a posting and reply about Excel processs still running after the Appliction.Quit was called. Thought I might be able to use the same (System.Runtime.InteropServices.Marshal.ReleaseComObject(exApplication)) to solve my problem but could not. Background : My app uses a WebBrowser control to display to the user the contents...
2
11126
by: Zytan | last post by:
I have a WebBroswer control, and I set the HTML it will display via DocumentText, which takes a a string. This shows the HTML code from the string in the control. But, sometimes, the WebBrowser shows nothing. Clicking 'view source' shows: "<HTML></HTML>", and the filename is called "about_blank.txt", which is the about:blank URL. I am...
18
6833
by: Zytan | last post by:
I have multiple threads writing to WebBrowser (using a function that checks InvokedRequired, and if so, invokes itself on the WebBrowser thread) and they are getting deadlocked. They only deadlock when I use lock { } around the call to WebBrowser.Write to ensure thread safety! Does any one have experience with such a thing? Zytan
2
4282
by: Jeroen | last post by:
We are experiencing a tuff-to-debug problem ever since we introduced a WebBrowser control into our failry large application. I'm not sure if the problem description below contains enough details, so if I need to elaborate on something please ask for it. We have a UserControl with a WebBrowser on it. This UserControl is instantiated a few...
3
3268
by: Dom | last post by:
I have a prgram with a webBrowser control. The user can click on a Linked Reference and the webBrowser control shows that site. Sometimes the URL (not my program, but the URL I am browsing to) has an "error on page", eg, a javascript error. My program then gives a dialog box, stating the error, and all my users think I wrote a crummy...
0
7589
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main...
0
7787
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. ...
0
8029
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that...
1
7551
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For...
0
6131
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then...
0
5147
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert...
0
3550
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in...
1
2012
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
1
1121
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.