VB and UNIX
VB and UNIX
VB and UNIX
VB and UNIX
VB and UNIX
VB and UNIX VB and UNIX VB and UNIX VB and UNIX VB and UNIX VB and UNIX VB and UNIX VB and UNIX
VB and UNIX VB and UNIX
VB and UNIX
Go Back  Xtreme Visual Basic Talk > > > VB and UNIX


Reply
 
Thread Tools Display Modes
  #1  
Old 08-23-2006, 09:30 AM
Fatbob Fatbob is offline
Freshman
 
Join Date: Jul 2002
Location: Canada
Posts: 49
Default VB and UNIX


Hi everyone!

Is it possible to use VB.NET to run a command or a script on a UNIX server and get back the results? For example, I'd like to have my VB program connect to my UNIX server, run an LS command and retrieve the output (and be able to manipulate the data) from that command.

Thanks!
Reply With Quote
  #2  
Old 08-23-2006, 12:30 PM
wayneph's Avatar
waynephVB and UNIX wayneph is offline
Web Junkie

Retired Moderator
* Expert *
 
Join Date: Apr 2004
Location: D/FW, Texas, USA
Posts: 8,393
Default

take a look at Mono. AFAIK, As of now the microsoft framework only runs on windows.
__________________
-- wayne, MSSM Retired
> SELECT * FROM users WHERE clue > 0
0 rows returned
Reply With Quote
  #3  
Old 08-23-2006, 12:44 PM
Fatbob Fatbob is offline
Freshman
 
Join Date: Jul 2002
Location: Canada
Posts: 49
Default

I don't want to run my VB.NET app on UNIX (it'll run on Windows). I want to be my app (running on Windows) to be able to connect to a UNIX server, execute some command(s) on that server and return the results to my app.
Reply With Quote
  #4  
Old 08-23-2006, 12:57 PM
wayneph's Avatar
waynephVB and UNIX wayneph is offline
Web Junkie

Retired Moderator
* Expert *
 
Join Date: Apr 2004
Location: D/FW, Texas, USA
Posts: 8,393
Default

Sorry, I misread your inital question. Here is a link to a C# library for scripting telent sessions. You can probably compile it as is, and just use it, or translate to VB.NET.
__________________
-- wayne, MSSM Retired
> SELECT * FROM users WHERE clue > 0
0 rows returned
Reply With Quote
  #5  
Old 08-24-2006, 08:01 AM
Fatbob Fatbob is offline
Freshman
 
Join Date: Jul 2002
Location: Canada
Posts: 49
Default

Thank you, I'll look into that.
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Forum Jump

Advertisement:





Free Publications
The ASP.NET 2.0 Anthology
101 Essential Tips, Tricks & Hacks - Free 156 Page Preview. Learn the most practical features and best approaches for ASP.NET.
subscribe
Programmers Heaven C# School Book -Free 338 Page eBook
The Programmers Heaven C# School book covers the .NET framework and the C# language.
subscribe
Build Your Own ASP.NET 3.5 Web Site Using C# & VB, 3rd Edition - Free 219 Page Preview!
This comprehensive step-by-step guide will help get your database-driven ASP.NET web site up and running in no time..
subscribe
VB and UNIX
VB and UNIX
VB and UNIX VB and UNIX
VB and UNIX
VB and UNIX
VB and UNIX VB and UNIX VB and UNIX VB and UNIX VB and UNIX VB and UNIX VB and UNIX
VB and UNIX
VB and UNIX
 
VB and UNIX
VB and UNIX
 
-->