Topic "Problem registering com"

Author Message
as1981
[View user's profile]

Joined: 2015-04-18
Posts: 16
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
martin
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 24512
Location: Prague, Czechia
Please read documentation:
http://winscp.net/eng/docs/message_net_operation_not_supported

If that does not help, come back.
_________________
Martin Prikryl
Advertisements

You can post new topics in this forum






Search Site

What is WinSCP?

It is award-winning SFTP client, SCP client, FTPS client and FTP client integrated into one software program for file transfer to FTP server or secure SFTP server. [More]

And it's free!

Donate

About donations

$9   $19   $49   $99

About donations

Recommend

WinSCP Privacy Policy

WinSCP License