|
-
Sep 21st, 2003, 08:38 PM
#1
Thread Starter
Addicted Member
Create VB.Net DLL to be used in VB6 [UNRESOLVED]
Hi all,
I need to make a dll which will be referenced in VB6. The problem is I can't get it to work in VB6. I have gone through several threads discussing this problem and yet I can't find the correct solution.
I am facing these errors:
1) Automation error.
2) IntelliSense is not working when I press [dot] after the class name. ( This is after I tried writing a simple DLL in VB6, then upgrade it to .Net using the upgrade wizard. And after which I compile the DLL in .Net and use it back in VB6. Hope I'm not confusing you all.)
Can anyone tell me the correct step-by-step to create a DLL which can be used in VB6? What are the limitations?
Please help,
Jeremy
Last edited by jeremy_ckw; Sep 22nd, 2003 at 09:54 PM.
"If ignorance is bliss, that probably explain why I'm in a such a mess right now!!"
-
Sep 21st, 2003, 11:17 PM
#2
Thread Starter
Addicted Member
"If ignorance is bliss, that probably explain why I'm in a such a mess right now!!"
-
Sep 22nd, 2003, 02:39 AM
#3
Frenzied Member
well i dont know a way to fix it.. but why do that in the first place
if you program in Vb6 and use a dll made in VB.NET you force the user to have Vb6 runtime files AND the .net framework
you can better try and program everything in .net... more friendly for your final user
i just started programming in vb.net.. and its hard.. but once you get used to it. its really great
-
Sep 22nd, 2003, 02:47 AM
#4
Thread Starter
Addicted Member
Originally posted by Ultimasnake
well i dont know a way to fix it.. but why do that in the first place
if you program in Vb6 and use a dll made in VB.NET you force the user to have Vb6 runtime files AND the .net framework
you can better try and program everything in .net... more friendly for your final user
i just started programming in vb.net.. and its hard.. but once you get used to it. its really great
Thanks for replying. Appreciate that.
You see, my company is trying to convert to VB.Net. But our previous projects were done in VB6. My new assignment is to build components and DLLs but it must be able to be referenced in VB6.
Anyone knows how?
Regards,
Jeremy
"If ignorance is bliss, that probably explain why I'm in a such a mess right now!!"
-
Sep 22nd, 2003, 02:48 AM
#5
Frenzied Member
well that sucks
but somehow i got a feeling it might not work since it are 2 diffrent platforms :S.....
did you try to convert your vb6 applications to .net? with the import feature? (failed for me big time but who knows...)
-
Sep 22nd, 2003, 03:23 AM
#6
Thread Starter
Addicted Member
Originally posted by Ultimasnake
well that sucks
but somehow i got a feeling it might not work since it are 2 diffrent platforms :S.....
did you try to convert your vb6 applications to .net? with the import feature? (failed for me big time but who knows...)
Yeap, I tried that too. Tried writing a simple code in VB6 and upgrade it to VB.Net to see the difference but nope, I can't make the IntelliSense work when I compile it in VB.Net and use in VB6.
Terrible backward compatibiliity.
Jeremy
"If ignorance is bliss, that probably explain why I'm in a such a mess right now!!"
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
|