Topic "Problem registering com"

Author Message
[View user's profile]

Joined: 2015-04-18
Posts: 18

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?

[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 27106
Location: Prague, Czechia
Please read documentation:

If that does not help, come back.
Martin Prikryl

You can post new topics in this forum


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!


About donations

$9   $19   $49   $99

About donations


WinSCP Privacy Policy

WinSCP License