Solved

Shell.Explorer in usercontrols

Posted on 2006-07-14
2
269 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

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Need help with a query 3 49
how to remove error in database 6 54
Check only one toolstripmenu item 12 60
Make borderless form movable by user 2 26
It’s quite interesting for me as I worked with Excel using vb.net for some time. Here are some topics which I know want to share with others whom this might help. First of all if you are working with Excel then you need to Download the Following …
The ECB site provides FX rates for major currencies since its inception in 1999 in the form of an XML feed. The files have the following format (reducted for brevity) (CODE) There are three files available HERE (http://www.ecb.europa.eu/stats/exch…
In a recent question (https://www.experts-exchange.com/questions/29004105/Run-AutoHotkey-script-directly-from-Notepad.html) here at Experts Exchange, a member asked how to run an AutoHotkey script (.AHK) directly from Notepad++ (aka NPP). This video…

737 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