|
-
May 28th, 2003, 03:01 PM
#1
Thread Starter
Fanatic Member
Use ocx control in VB.NET [RESOLVED]
I have a foldertreeview control that is basically a treeview that looks like the treeview in explorer. I've looked high and low and maybe I'm just being stupid, but I can't figure out how to use the control in VB.NET. I've added a reference to it, but I have a feeling I need to convert it somehow. Is there any way to convert it apart from converting a VB6 project with one of these foldertreeview controls?
Last edited by VictorB212; May 31st, 2003 at 11:10 AM.
-
May 30th, 2003, 03:22 AM
#2
New Member
If you haven't already you should add the control to the Toolbox (Customize Toolbox menu item). As it's an OCX control you should be able to find it on the COM Components tab. When you drag it onto your form (assuming thats what you are going to do!) it will create an wrapper class (prefixed Ax) and automatically add this as a reference in your project.
Also see
ms-help://MS.VSCC/MS.MSDNVS/vbcon/html/vbtskAddingActiveXControlsToForm.htm in the on-line help.
-
May 31st, 2003, 11:09 AM
#3
Thread Starter
Fanatic Member
Thank you very much -- this is exactly what I wanted.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|