Results 1 to 4 of 4

Thread: why isn't this short basic code working

  1. #1

    Thread Starter
    Frenzied Member
    Join Date
    Jun 2000
    Location
    East Providence, RI
    Posts
    1,715
    Code:
    Select Case KeyCode
        Case vbKeyRight:
        keyascii = 0
    End Select
    I want to disable the RIGHT arrow button
    NXSupport - Your one-stop source for computer help

  2. #2
    Guest
    Drop the ":" from it, it should then work. Only Java and C need that.

  3. #3
    Frenzied Member HarryW's Avatar
    Join Date
    Jan 2000
    Location
    Heiho no michi
    Posts
    1,827
    Are you sure you don't want this?...

    Code:
    Select Case KeyCode
        Case vbKeyRight:
        KeyCode = 0
    End Select
    (Swapped 'keyascii' for 'KeyCode')
    Harry.

    "From one thing, know ten thousand things."

  4. #4

    Thread Starter
    Frenzied Member
    Join Date
    Jun 2000
    Location
    East Providence, RI
    Posts
    1,715
    thanks guys
    NXSupport - Your one-stop source for computer help

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