473,704 Members | 2,405 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 2838
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
7984
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
4778
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 is fine, except I had to fix the column sizes of the table in cm. Because of this, the table will...
9
3181
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 code some Hyperlinks by wich I could react, launching an specific action) The properties...
7
11924
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 even suppress that click?_
5
6580
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 of an Excel spreadsheet.:
2
11141
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 aware that when you set this property, the WebBrowser control automatically navigates to the...
18
6857
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
4309
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 times during the program run, depending on user interaction. The WebBrowser then navigates to a local...
3
3273
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 program. IE somehow gets around this. It will simply write the phrase "error on page" at the status...
0
8767
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 usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
9135
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 captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
9026
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 most users, this new feature is actually very convenient. If you want to control the update process,...
0
8977
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
7891
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 launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
0
5931
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 into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
4701
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
3135
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
3
2080
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.