Re: VB2005 Express (General questions)
Robert,
I've checked, but we haven't received an e-mail from you.
Basically, the way to use the component in VB2005 Express would be to do the following:
1. Choose Project->Add reference from the menu
2. Select  Browse  tab, browse to System32 folder and import wodSSH.ocx
3. Initialize the component (this should work):
Basically, the following code should work:
---------------------------------------------------------------------
    Dim WithEvents ssh1 As WODSSHLib.wodSSH
    Private Sub Form1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load
        ssh1 = New WODSSHLib.wodSSH
        ssh1.Hostname =  your_host 
        ssh1.Login =  your_login 
        ssh1.Password =  your_pass 
        ssh1.Connect()
    End Sub
    Private Sub ssh1_Received(ByVal ByteCount As Short) Handles ssh1.Received
        TextBox1.Text += ssh1.Receive()
    End Sub
---------------------------------------------------------------------
Also, this sample only connects to the server, and prints out the received text.
Hope this helped.
Regards,
Damba


![Open whole thread [*]](themes/default/images/complete_thread.png)









