Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 4
Default telnet without sendkeys

hi
i wish to telnet to a unix server, execute some commands and get the
results onto excel range. I have tried opening telnet application using
sendkeys but its not what i want. Any other ways or some Active X
controls that might let me do this task?
thanks

  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 2,253
Default telnet without sendkeys

either get yourself an windows based telnet client that supports
automation... just find some shareware you like.

OR..use batchfile approach:

eg.
excel creates batchfile.
excel starts batchfile

batchfile start telnet
telnet create a results/logfile
batchfile create done.txt

excel waiting for done.txt in delayed loop
then process the resultsfile.



--
keepITcool
| www.XLsupport.com | keepITcool chello nl | amsterdam


wrote :

hi
i wish to telnet to a unix server, execute some commands and get the
results onto excel range. I have tried opening telnet application
using sendkeys but its not what i want. Any other ways or some Active
X controls that might let me do this task?
thanks

  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1,163
Default telnet without sendkeys

You can possibly use the Windows API to control Telnet - there are commands
to activate windows and to access the menus, etc. but it would take quite a
bit of advanced programming to get it to work. For more information you can
refer here
http://msdn.microsoft.com/library/de...y_category.asp

" wrote:

hi
i wish to telnet to a unix server, execute some commands and get the
results onto excel range. I have tried opening telnet application using
sendkeys but its not what i want. Any other ways or some Active X
controls that might let me do this task?
thanks


Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
How can I hyperlink to a telnet session? mike Excel Discussion (Misc queries) 0 April 26th 06 09:54 PM
sendkeys problem for telnet mike Excel Programming 1 June 15th 05 02:12 PM
Starting telnet/ssh from Excel Thomas Aure Excel Programming 1 May 31st 05 08:23 AM
How to Close Telnet Session using VBA Donnie Stone Excel Programming 0 November 9th 03 01:19 PM
Need VB script for telnet application John M. Lembo Excel Programming 1 September 5th 03 07:28 PM


All times are GMT +1. The time now is 02:25 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"