Results 1 to 3 of 3

Thread: how to code Ctrl+Z?

  1. #1

    Thread Starter
    New Member
    Join Date
    Oct 2000
    Posts
    1
    i'm doing some communication with a modem. i have to send the modem a command containing "Ctrl+Z" in my program.

    I've tried "vbCtrlControl + vbKeyZ" it does not work. Is this because the code means "press Ctrl and then press Z" and not "press and hold Ctrl and then press Z". Pls help..



  2. #2
    Lively Member
    Join Date
    Aug 2000
    Location
    Singapore
    Posts
    108
    try compiling it and run it as exe.
    had the same problem when I was playing with sendkeys.

  3. #3
    Guest
    If you do it with SendKeys, it is done like this:

    Code:
    SendKeys "^z"

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width