Solved

Shell.Explorer in usercontrols

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

PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

Question has a verified solution.

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

Suggested Solutions

Well, all of us have seen the multiple EXCEL.EXE's in task manager that won't die even if you call the .close, .dispose methods. Try this method to kill any excels in memory. You can copy the kill function to create a check function and replace the …
Introduction When many people think of the WebBrowser (http://msdn.microsoft.com/en-us/library/2te2y1x6%28v=VS.85%29.aspx) control, they immediately think of a control which allows the viewing and navigation of web pages. While this is true, it's a…
This Micro Tutorial will give you a basic overview how to record your screen with Microsoft Expression Encoder. This program is still free and open for the public to download. This will be demonstrated using Microsoft Expression Encoder 4.
Email security requires an ever evolving service that stays up to date with counter-evolving threats. The Email Laundry perform Research and Development to ensure their email security service evolves faster than cyber criminals. We apply our Threat…

810 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