Results 1 to 2 of 2

Thread: [RESOLVED] Using Keys Help Please

  1. #1

    Thread Starter
    Hyperactive Member jokerfool's Avatar
    Join Date
    Dec 2006
    Location
    Gold Coast, Australia
    Posts
    452

    Resolved [RESOLVED] Using Keys Help Please

    When I want to get the user to move left and right I can use the command vbKeyLeft and vbKeyRight, but to get the user to use the keys A for Left and D for Right, what do I use in there place instead of vbKeyLeft, can I just use vbKeyRightA ?

    Thank you.

  2. #2
    G&G Moderator chemicalNova's Avatar
    Join Date
    Jun 2002
    Location
    Victoria, Australia
    Posts
    4,246

    Re: Using Keys Help Please

    You have to understand what those things actually mean. Perhaps you should google "Constants".

    In the mean time, just replace "vbKeyLeft" with "vbKeyA", and "vbKeyRight" with "vbKeyD".

    chem

    Visual Studio 6, Visual Studio.NET 2005, MASM

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