Sending a ctrl+(key) to a serial port

I am trying to operate a cash drawer from a PC.  In the directions included to test its functionality, it says to type the following in the command prompt:

MODE COM1 96,n,8,2
(RETURN)
TYPE CON>COM1
(RETURN)
^G                                  =ctrl+G
(RETURN)

This method works perfectly, but I cannot get this command to send in VB via the mscomm control.  Thanks.
mkonopsAsked:
Who is Participating?
 
GrahamSkanRetiredCommented:
Have you tried sending chr$(7)?
0
 
mkonopsAuthor Commented:
Thanks, I guess I was overcomplicating it.  I appreciate such a lightening fast response!
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.