Solved

Shell.Explorer in usercontrols

Posted on 2006-07-14
2
270 Views
Last Modified: 2012-05-05
Hi Guys

in a vb 6 application I need to convert to .Net I has a declaration like

"Private WithEvents ctlBrowser As VBControlExtender"

in a user control, and further on it was added to the controls of the user control by

"Set ctlBrowser = Controls.Add("Shell.Explorer", "ctlBrowser")"

My problems is know what to replace this with. The documentation says that the VBControlExtender has become obsolete because activex components can be hosted directly onto a user control in .Net. Does that mean that I simply can drag the approriate control into the user control in the designer, and if this is true, where do I find the Shell explorer.

If I'm wrong in the above, what should I then Do?

Thanks, Niels


 
0
Comment
Question by:nielsboldt
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 
LVL 96

Accepted Solution

by:
Bob Learned earned 500 total points
ID: 17110584
1) What .NET version do you have?

2) With 2003, you could add the Micro$oft web browser easily by adding a COM reference to the control to the Tool Box, and dragging/dropping onto a form

3) With 2005, there is a managed version of the WebBrowser control.

Bob
0
 

Author Comment

by:nielsboldt
ID: 17269539
Thanks,
0

Featured Post

Enroll in June's Course of the Month

June’s Course of the Month is now available! Experts Exchange’s Premium Members, Team Accounts, and Qualified Experts have access to a complimentary course each month as part of their membership—an extra way to sharpen your skills and increase training.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Article by: jpaulino
XML Literals are a great way to handle XML files and the community doesn’t use it as much as it should.  An XML Literal is like a String (http://msdn.microsoft.com/en-us/library/system.string.aspx) Literal, only instead of starting and ending with w…
Since .Net 2.0, Visual Basic has made it easy to create a splash screen and set it via the "Splash Screen" drop down in the Project Properties.  A splash screen set in this manner is automatically created, displayed and closed by the framework itsel…
Michael from AdRem Software outlines event notifications and Automatic Corrective Actions in network monitoring. Automatic Corrective Actions are scripts, which can automatically run upon discovery of a certain undesirable condition in your network.…
Monitoring a network: how to monitor network services and why? Michael Kulchisky, MCSE, MCSA, MCP, VTSP, VSP, CCSP outlines the philosophy behind service monitoring and why a handshake validation is critical in network monitoring. Software utilized …

705 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question