all groups > dotnet interop > october 2005 >
You're in the

dotnet interop

group:

.Net Dll in VB 6


.Net Dll in VB 6 André
10/12/2005 2:09:03 PM
dotnet interop:
Hello,

I am trying to get a .net Dll to work in VB6.

I have done the instructions as per
http://www.findarticles.com/p/articles/mi_zddvs/is_200504/ai_n13591391
I create my Dll using ClassInterface(ClassInterfaceType.AutoDual)
then i run

gacutil /i dllname.dll
then, regasm dllname.dll /tlb

I can see the dll /tbl in vb6, but when i go to run it, i get this error:
Automation error Cannot create a file when the file already exists.

I've tried this with C# and VB.net. Both give me this error.

Please help.

Thank you,

André



RE: .Net Dll in VB 6 doremi1979
10/14/2005 2:34:09 AM
I got exactly the same problem with yours, eager for a solution.

[quoted text, click to view]
RE: .Net Dll in VB 6 André
10/14/2005 8:40:09 AM
Yeah, i found a solution,

Thank god for Codeproject....


Check out

http://www.codeproject.com/dotnet/nettocom.asp?df=100&forumid=14076&exp=0&select=1063791#xx1063791xx

[quoted text, click to view]
RE: .Net Dll in VB 6 doremi1979
10/15/2005 7:00:02 PM
That's the final answer, thank you so much : )

[quoted text, click to view]
AddThis Social Bookmark Button