No webbrowser?

R

Rolf Barbakken

This may be a stupid question, but I have VS2005 Pro, on Windows XP SP2,
IE7, and in my toolbox in VS2005 there is no WebBrowser control, but there
is a WebControl that is disabled. In my references I have System.Web,
System.Windows.Forms, SHDocVw.

Why is it not possible for me to add a webbrowser to my Windows application
forms?
 
H

Herfried K. Wagner [MVP]

Rolf Barbakken said:
This may be a stupid question, but I have VS2005 Pro, on Windows XP SP2,
IE7, and in my toolbox in VS2005 there is no WebBrowser control, but there
is a WebControl that is disabled. In my references I have System.Web,
System.Windows.Forms, SHDocVw.

Right-click the toolbox and choose the appropriate item to customize it.
Select the WebBrowser control from the ".NET" tab. A reference to
"SHDocVw.dll" and/or "System.Web.dll" is not required.
 
R

Rolf Barbakken

Herfried K. Wagner said:
Right-click the toolbox and choose the appropriate item to customize it.
Select the WebBrowser control from the ".NET" tab. A reference to
"SHDocVw.dll" and/or "System.Web.dll" is not required.

Thanks. I had done just that, but the control wasnt there. But now after a
restart the control is where its supposed to be.

Thanks anyway.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top