|
-
Feb 12th, 2003, 06:21 AM
#1
Thread Starter
Fanatic Member
.net activex
I have created an activex control in vb 6
Can this be upgraded to .net?
The error message says that it can not be upgradd because the activex was written in vb6. Is there a way around this? or do I have to re-write the whole of the activex in vb.net?
Thanks
-
Feb 12th, 2003, 07:47 AM
#2
Hyperactive Member
well..you might have 2..but i use vb 6 cont. all the time..
-
Feb 12th, 2003, 08:34 AM
#3
PowerPoster
If the active x control works good without any problems, there is no need to upgrade it to .Net. You can just use com interop. Right click on the toolbox, select Customize toolbox. Go to the COM tab, then browse for your activex control. The ide will create a wrapper around it that will allow your .Net app to use it.
If you need to change it though, you might want to think about rewriting the code. The upgrade wizard tries real hard, but just always comes up short. Make sure that when you upgrade it though, try to find the .Net way of doing things instead of using API's as much as possible.
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
|