Back to product page
- Introduction
- Overview
- License agreement
- Getting Started
- Objects
- Enumerations
- wodSSHD
- Methods
- Properties
- Events
- Connecting
- CryptoInformation
- Disconnected
- LoginGSSAPI
- LoginPassword
- LoginPubkey
- PortBindRequest
- PortForwardConnect
- PortForwardDisconnect
- PortForwardRequest
- Received
- ServiceRequest
- ServiceStart
- SftpDeleteFile
- SftpDownloadFile
- SftpFileTransferData
- SftpListDir
- SftpListDirData
- SftpMakeDir
- SftpProgress
- SftpRemoveDir
- SftpRename
- SftpTransferComplete
- SftpUploadFile
- StateChanged
- IwodSSHDNotify
- Methods
- Connecting
- CryptoInformation
- Disconnected
- LoginGSSAPI
- LoginPassword
- LoginPubkey
- PortBindRequest
- PortForwardConnect
- PortForwardDisconnect
- PortForwardRequest
- Received
- ServiceRequest
- ServiceStart
- SftpDeleteFile
- SftpDownloadFile
- SftpFileTransferData
- SftpListDir
- SftpListDirData
- SftpMakeDir
- SftpProgress
- SftpRemoveDir
- SftpRename
- SftpTransferComplete
- SftpUploadFile
- StateChanged
- Methods
- SSHKeyPair
- SSHUser
- SSHUsers
- How to get support
- Technical information
- Fast notifications
- Error list
Getting Started in VB
Working with the COM object
In order to insert wodSSHServer COM object in your project, follow these steps:- Install the component on your system by starting its setup program.
- In the Visual Basic IDE, create new project or open existing one.
- Click on 'Project', then on 'References' menu
- Find and select 'WeOnlyDo! COM SSHD Server COM Object', and click on 'Ok' to leave the dialog box.
- Open code editor, and at the top, in (General) section add this code:
Dim WithEvents SSH1 As wodSSHDCom - In Form_Load function initialize the component
Private Sub Form_Load()
Set SSH1 = New wodSSHDCom
End Sub
- If you have licensed version of wodSSHServer, then after you initialize the component, set it's LicenseKey property:
Private Sub Form_Load()
Set SSH1 = New wodSSHDCom
SSH1.LicenseKey = "xxxx....xxxx"
End Sub
- To use notifications (optional) instead of events, please refer here.
- To free up the resources when your program ends, destroy the component from Form_Unload
- Do not forget to distribute wodSSHD.DLL when using COM object!
Private Sub Form_Unload(Cancel As Integer)
Set SSH1 = Nothing
End Sub
Working with the ActiveX control
In order to insert wodSSHServer ActiveX control in your project, follow these steps:- Install the component on your system by starting its setup program.
- In the Visual Basic IDE, create new project or open existing one.
- Click on 'Project', then on 'Components' menu
- Find and select 'WeOnlyDo! COM SSHD Server ActiveX Control', and click on 'Ok' to leave the dialog box.
- Locate new wodSSHServer icon on Toolbox toolbar
- Do not forget to distribute wodSSHD.OCX when using ActiveX control!