WinSCP.dll Registration issues - want to use with VBA
I did install the COM interface files, etc. at the same place as the WinSCP.exe
This is a 64 bit machine with Office 2010 x64. Want to program in VBA
Tried to register both ways RegAsm.exe [first] (as follows at the bottom and it worked)...for WinSCPNet is now in Excel Tools | References list. But I want WinSCP.dll registered.
But I want to see WinSCP.dll interface, not WinSCPNet.dll
Tried ...windows\system32\regsvr32.exe for WinSCP.dll; but it gives an error.... "..WinSCO.dll was loaded but the entry-point DllRegisterServer was not found.
What am I doing wrong?
Should I delete the RegAsm.exe registration and try RegSvr32 first?
U:\>%WINDIR%\Microsoft.NET\Framework\v4.0.30319\RegAsm.exe "C:\Program Files (x86)\WinSCP\WinSCP.dll" /codebase /tl
Microsoft .NET Framework Assembly Registration Utility version 4.0.30319.17929
for Microsoft .NET Framework version 4.0.30319.17929
Copyright (C) Microsoft Corporation. All rights reserved.
Types registered successfully
Assembly exported to 'C:\Program Files (x86)\WinSCP\WinSCP.tlb', and the type library was registered successfully
This is a 64 bit machine with Office 2010 x64. Want to program in VBA
Tried to register both ways RegAsm.exe [first] (as follows at the bottom and it worked)...for WinSCPNet is now in Excel Tools | References list. But I want WinSCP.dll registered.
But I want to see WinSCP.dll interface, not WinSCPNet.dll
Tried ...windows\system32\regsvr32.exe for WinSCP.dll; but it gives an error.... "..WinSCO.dll was loaded but the entry-point DllRegisterServer was not found.
What am I doing wrong?
Should I delete the RegAsm.exe registration and try RegSvr32 first?
U:\>%WINDIR%\Microsoft.NET\Framework\v4.0.30319\RegAsm.exe "C:\Program Files (x86)\WinSCP\WinSCP.dll" /codebase /tl
Microsoft .NET Framework Assembly Registration Utility version 4.0.30319.17929
for Microsoft .NET Framework version 4.0.30319.17929
Copyright (C) Microsoft Corporation. All rights reserved.
Types registered successfully
Assembly exported to 'C:\Program Files (x86)\WinSCP\WinSCP.tlb', and the type library was registered successfully