Topic "Read Registry values if WinSCP is installed"

Author Message
[View user's profile]

Joined: 2013-04-24
Posts: 1
Location: Athens, Greece
I am developing an MS Access 2010 app in VBA
I am trying to check if WinSCP is installed on a machine.
As WinSCP.tlb is a reference to my project,

I am checking via VBA, if the file "%windir%\system32\winscp.tlb"
(or "%windir%\system64\winscp.tlb") exists

If not, I am registering COM assembly via code, with RegAsm.exe using:
%WINDIR%\Microsoft.NET\Framework\<version>\RegAsm.exe WinSCPnet.dll /codebase /tlb

Is it possible to read WinSCP registry key and value for that?

I can read registry keys and values in VBA
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 24755
Location: Prague, Czechia
Do you want to test, if WinSCP is installed or registered?
If registered, IMHO the best test, is to try to instantiate the WinSCP.Session class.
Martin Prikryl

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!


About donations

$9   $19   $49   $99

About donations


WinSCP Privacy Policy

WinSCP License