Solved

Shell.Explorer in usercontrols

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

Maximize Your Threat Intelligence Reporting

Reporting is one of the most important and least talked about aspects of a world-class threat intelligence program. Here’s how to do it right.

Join & Write a Comment

This article explains how to create and use a custom WaterMark textbox class.  The custom WaterMark textbox class allows you to set the WaterMark Background Color and WaterMark text at design time.   IMAGE OF WATERMARKS STEPS Create VB …
A while ago, I was working on a Windows Forms application and I needed a special label control with reflection (glass) effect to show some titles in a stylish way. I've always enjoyed working with graphics, but it's never too clever to re-invent …
Access reports are powerful and flexible. Learn how to create a query and then a grouped report using the wizard. Modify the report design after the wizard is done to make it look better. There will be another video to explain how to put the final p…
This video shows how to remove a single email address from the Outlook 2010 Auto Suggestion memory. NOTE: For Outlook 2016 and 2013 perform the exact same steps. Open a new email: Click the New email button in Outlook. Start typing the address: …

744 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

Need Help in Real-Time?

Connect with top rated Experts

10 Experts available now in Live!

Get 1:1 Help Now