How do I close telnet App through Access 2k?

NJudson

Who farted?
Local time
Today, 04:08
Joined
Feb 14, 2002
Messages
297
I'm using Access 2k with Win 98SE. I'm writing a program that creates script files and batch files that I can open command prompt and with batch files I can ftp the script files into a database. I then am in the process of opening a telnet app to log into the database and execute the script files that I just ftp'd into the database. This all works well and good but I am having trouble finding a way to programmatically close the telnet app once I'm finished. Can this be achieved through VB or some Access function??? Thanks for any help.
 
Go figure....you spend forever trying to search for a solution to a problem but have no luck so you post it on the forum and then not more than 5 minutes after you post the problem you find the answer. Aggghhhh!!!!! Well anyway I found that if I enter this:

SendKeys """%{F4}""", True

This works just dandy; however, it brings up another problem. When I send my list of sendkey commands to perform my actions I need to have a sleep period or something before closing out the telnet app because the script file that I will have executing may take quite a while.
 
If you do the call from a batch file you could do something similar to this post...
 
Thanks Sambo....I guess I missed that post. That Mike Gurman sure is a smartypants! :cool:
 

Users who are viewing this thread

Back
Top Bottom