RE: newbie... Trying to use .NET class library from VB6/COM
From: jqpdev (jqpdev_at_discussions.microsoft.com)
Date: 02/18/05
- Next message: Teis Draiby: "Re: Convert Managed String* to TCHAR* or LPCOLESTR"
- Previous message: Teis Draiby: "Re: Convert Managed String* to TCHAR* or LPCOLESTR"
- In reply to: savoy: "RE: newbie... Trying to use .NET class library from VB6/COM"
- Next in thread: jqpdev: "FIXED RE: newbie... Trying to use .NET class library from VB6/COM"
- Messages sorted by: [ date ] [ thread ]
Date: Fri, 18 Feb 2005 05:39:02 -0800
I tried having the class library in the same folder and a separate folder.
Also, I suspect that you have both VB6 and VS.NET (2002/2003) installed on
the same partition. I was able to get the app. to work in the VM/partition
where VS.NET 2003 resides. I fired up the dll from a vbs file.
The GAC install is still an issue because on the VB6 VM/partition there is
no gacutil.exe. A real test of the client and server working together is to
deploy the server (.NET exe/dll) to a client app. environment that is
completely separate from the development environment.
I'm heading into my office in a little while. I suspect that my .NET class
library (server) is not being registered properly so it can't be found.
Partial registrations are a pain in the caboose.
Please let me know if you come up with any other ideas or suggestions.
Thanks in advance.
"savoy" wrote:
> I was getting the same error in a similar situation, trying to access .Net
> dll from VB6. Problem went away for me when I added the .Net dll to the
> global assembly cache. Although it should work by just putting the dll in the
> same folder as the VB6 app (or a sub-folder of the app), for me it didn't.
- Next message: Teis Draiby: "Re: Convert Managed String* to TCHAR* or LPCOLESTR"
- Previous message: Teis Draiby: "Re: Convert Managed String* to TCHAR* or LPCOLESTR"
- In reply to: savoy: "RE: newbie... Trying to use .NET class library from VB6/COM"
- Next in thread: jqpdev: "FIXED RE: newbie... Trying to use .NET class library from VB6/COM"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|