running Unix shell script

vb_coder2009

New member
Joined
Oct 19, 2009
Messages
1
Programming Experience
Beginner
I want to create a vb .net application and in that application, call Attachmate Reflection API to create a unix session to run shell script in the unix box. I am doin it as follows (code below)

Prolem 1 - RUO.connect() takes an ConnectionName As Object - ?
if i leave this blank a message opens up prompting a host_name. I want to automate this so that when I call RUO.connect with the appropriate param (host_name, username, password),a connection is made a session opens up for me to run my shell script. How do I achieve this?

Module Module1
Public RUO As New Reflection2.Session

Sub Main()

RUO.Connect()

Console.WriteLine("connected")
Console.Read()

End Sub

End Module

Would appreciate any help possible!!

Regards,
vb_coder2009
 
Top Bottom