Hi. Tearing my hair out with this one!
I've created a simple C# class library using Visual Studio 2010 to compress/decompress files using .NET GZip. It works fine on my development machine but I need to deploy it as part of an Access application solution for clients, and I can't get it working no matter what I try.
When I build in VS2010 with "Register for COM interop" checked, the dll works fine (I can call its methods after adding a Reference in Access VBA). However, if I try to register it using RegAsm.exe, and not VS2010, the utility reports success, but I get error 429 when I try and run the VBA code that calls my dll's methods. I used the /codebase and /tlb flags.
1) I need to understand why RegAsm.exe doesn't seem to register it 'successfully' for use!
2) I need to know how to deploy my dll for clients.
Help appreciated! (so I don't go completely bald :-/)
I've created a simple C# class library using Visual Studio 2010 to compress/decompress files using .NET GZip. It works fine on my development machine but I need to deploy it as part of an Access application solution for clients, and I can't get it working no matter what I try.
When I build in VS2010 with "Register for COM interop" checked, the dll works fine (I can call its methods after adding a Reference in Access VBA). However, if I try to register it using RegAsm.exe, and not VS2010, the utility reports success, but I get error 429 when I try and run the VBA code that calls my dll's methods. I used the /codebase and /tlb flags.
1) I need to understand why RegAsm.exe doesn't seem to register it 'successfully' for use!
2) I need to know how to deploy my dll for clients.
Help appreciated! (so I don't go completely bald :-/)