• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 287
  • Last Modified:

Shell.Explorer in usercontrols

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

1 Solution
Bob LearnedCommented:
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.

nielsboldtAuthor Commented:
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now