Post a reply

Options
Add an Attachment

If you do not want to add an Attachment to your Post, please leave the Fields blank.

(maximum 10 MB; please compress large files; only common media, archive, text and programming file formats are allowed)

Options

Topic review

rlam

I am running this on Access 32bit.
Yes I can see the reference in the list.

I did probably register multiple times on different paths. Let me see if I can get rid of them and do this again.

Thank you,

Ronny
martin

What is the application (Excel or what) that you run your VBA code in? 32-bit or 64-bit?

So you see WinSCP in references list?

Didn't you register the assembly (different version or different path) previously on the machine? Duplicate registrations break it.
See https://winscp.net/eng/docs/library_install#side-by-side
rlam

on windows 7 I can find a entry here

HKEY_USERS\...Software\Microsoft\Windows\CurrentVersion\Explorer\RunMRU

but not in Windows server 2012 R12.

In Windows Server 2012 R2 the only entry is here...
HKEY_LOCAL_MACHINE\SOFTWARE\Classes\Record\...\CodeBase

thank you,
Ronny
rlam

If I register with 64bit, I get a ActiveX error, if I register 32bit, I get an automation error.

Still nothing.
rlam

Pretty sure I did it right, I used...
C:\Windows\Microsoft.NET\Framework64\v4.0.30319\RegAsm.exe WINSCPnet.DLL /codebase /tlb

Do I have to use a different DLL, is there a 64bit dll I need to use.

Thank you,
Ronny
martin

Did you register the assembly even for 64-bit (if the system is 64-bit)?
rlam

I did register, no error during registration, "C:\Windows\Microsoft.NET\Framework\v4.0.30319\RegAsm.exe WINSCPnet.DLL /codebase /tlb "
Guest

anyone? Need some help. Don't know how to make this work on Win Server 2012 R2.

Thank you
rlam

WinSCP on Windows Server 2012 R2

I am getting a Automation Error running the code (VBA) that I previously used on Windows 7. Is it not compatible with Win Server 2012 R2?

Thank you,
Ronny