Topic "ActiveX Automation - Can't create object"

Author Message
CarBor
[View user's profile]

Joined: 2016-11-15
Posts: 1
Location: Karlskrona, Sweden
Hi all! I'm probably missing something simple here but I can't get my VB Script to create the objects I need to do a file transfer.
I've installed WinSCP-5.9.2-Setup.exe.
I've registered the 23-bit and 64-bit tlb's. No issues...

I have a reference to the WinSCP scripting interface .NET wrapper (1.3). - I THINK this might be the issue. That's the only reference that shows up. I can add the tlb's by browsing but they won't stick...

I copied the code samples like:

Dim SessionOptions as WinSCP.SessionOptions

but the only way I can get all the options etc to pop up is by writing

Dim SessionOptions as WinSCPnet.SessionOptions

I haven't been able to find a WinSCP to download - only a WinSCPNet... What am I doing wrong, please?

Oh yeah, I'm running the scripts on a 64 bit Windows Server 2008 R2 Std, btw...

Cheers/Carl
martin◆
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 27083
Location: Prague, Czechia
Where do you have "reference to the WinSCP scripting interface .NET wrapper"?

What error do you get, when you "create the objects"?
Advertisements

You can post new topics in this forum

Search

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