Problem registering com

Advertisement

as1981
Joined:
Posts:
19

Problem registering com

All,

I am intending to use the winscpnet.dll functionality in vb6. I think I need to register the com and then put a reference to it in the VB6 code?

I am trying to register the com file with the follwing:

regasm.exe WinSCPnet.dll /codebase /tlb

The error I get is:

RegAsm : error RA0000 : Could not load file or assembly 'file:///C:\Windows\Microsoft.NET\Framework\v4.0.30319\WinSCPnet.dll' or one of its dependencies. Operation is not supported. (Exception from HRESULT: 0x80131515)

Does anyone know the cause of the error or if I will need to add a reference in VB6 and what the reference would be?

Thanks

Reply with quote

Advertisement

Advertisement

You can post new topics in this forum