I need to use a VBA.Collection object in a VB.Net project (in order to pass to a VB6 DLL).
However, when I attempt to instantiate the collection object, I get the following error:
Here is my code:An unhandled exception of type 'System.Runtime.InteropServices.COMException' occurred in WindowsApplication1.exe
Additional information: COM object with CLSID {A4C4671C-499F-101B-BB78-00AA00383CBB} is either not valid or not registered.
VB Code:
Dim col As vba.collection col = New VBA.Collection



Reply With Quote