Click here to Skip to main content
15,892,281 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I am beginner in VB.
I want to make code for detecting message automatically in hyper terminal.

Means,When any message comes into hyper terminal i want to make sound..
or
want to mail same message to my mail address.

It is possible using visual basic?
Posted

Possible, but not practicle.

Controlling another application is not easy, and getting the window contents RELIABLY is even harder. There are no events to subscribe to, so you'll have to poll and get the contents of the window continuously, then parse it, looking for your message(s). You'll also have to keep track of what you've already seen, what you've sounded your alarm on (or whatever your doing), and what alarms have been acknolwedged.

You'd be better off writing your own terminal application. Though, at your skill level, either of these is going to be very difficult for you to do.
 
Share this answer
 
Comments
happy__boy 19-Dec-10 21:04pm    
OK...Thanks for your cool reply.

Can i pop-up up hyper terminal whenever it detect message.??
Dave Kreskowiak 19-Dec-10 21:19pm    
You could, but why bother since you're already writing your own HyperTerminal?
The best thing to do would be to write the serial communications yourself, instead of relying on window handles etc.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900