Topic "Read Registry values if WinSCP is installed"

Author Message
thpanos
[View user's profile]

Joined: 2013-04-24
Posts: 1
Location: Athens, Greece
Hi,
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
martin
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 25034
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
Advertisements

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!

Donate

About donations

$9   $19   $49   $99

About donations

Recommend

WinSCP Privacy Policy

WinSCP License