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
Complete thread:
- VB2005 Express - Robert, 2007-08-04, 11:48
- Re: VB2005 Express - wodDamir, 2007-08-04, 13:00
- Re: VB2005 Express - Robert, 2007-08-04, 13:41
- Re: VB2005 Express - wodDamir, 2007-08-04, 15:53
- Re: VB2005 Express - Robert, 2007-08-04, 17:27
- Re: VB2005 Express - wodDamir, 2007-08-04, 18:14
- Re: VB2005 Express - Robert, 2007-08-06, 11:45
- Re: VB2005 Express - wodDamir, 2007-08-06, 12:06
- Re: VB2005 Express - Robert, 2007-08-06, 12:47
- Re: VB2005 Express - wodDamir, 2007-08-06, 13:13
- Re: VB2005 Express - Robert, 2007-08-06, 12:47
- Re: VB2005 Express - wodDamir, 2007-08-06, 12:06
- Re: VB2005 Express - Robert, 2007-08-06, 11:45
- Re: VB2005 Express - wodDamir, 2007-08-04, 18:14
- Re: VB2005 Express - Robert, 2007-08-04, 17:27
- Re: VB2005 Express - wodDamir, 2007-08-04, 15:53
- Re: VB2005 Express - Robert, 2007-08-04, 13:41
- Re: VB2005 Express - wodDamir, 2007-08-04, 13:00