Results 1 to 6 of 6

Thread: Keyascii - For Pros

  1. #1

    Thread Starter
    Fanatic Member Alien_poo's Avatar
    Join Date
    Jan 2002
    Location
    Canada
    Posts
    668

    Keyascii - For Pros

    While trying to use the Keyasciis, I had a problem of interference with the Vbhelp function. Every time I typed a keyascii, it gives me an error and opens automatically Vbhelp. What can I do to stop this from happening?
    Last edited by Alien_poo; Apr 22nd, 2002 at 09:56 PM.
    "A RESPECTED scientist has put forward the stunning - if unsavoury - possibility that humans are descended from sewage dumped overboard by aliens."
    "First we read that we are the creation of God, then scientists say we are descended from apes. Now they say we're some sort of alien poo. How much further can we sink?"
    - Robert Matthews, Science Correspondent

  2. #2
    Frenzied Member nishantp's Avatar
    Join Date
    Jan 2001
    Location
    Where you least expect me to be
    Posts
    1,375
    what do you mean use the keyasciis? Do you mean ALT-#### keyboard combos? please clarify.
    You just proved that sig advertisements work.

  3. #3

    Thread Starter
    Fanatic Member Alien_poo's Avatar
    Join Date
    Jan 2002
    Location
    Canada
    Posts
    668
    No, each time I type keyascii in my code, I get an error and vbhelp comes up.
    "A RESPECTED scientist has put forward the stunning - if unsavoury - possibility that humans are descended from sewage dumped overboard by aliens."
    "First we read that we are the creation of God, then scientists say we are descended from apes. Now they say we're some sort of alien poo. How much further can we sink?"
    - Robert Matthews, Science Correspondent

  4. #4
    Frenzied Member nishantp's Avatar
    Join Date
    Jan 2001
    Location
    Where you least expect me to be
    Posts
    1,375
    Please provide an example.

    Do you mean using the ascii constants? vbKeyA, vbKeyB, etc...?
    You just proved that sig advertisements work.

  5. #5

    Thread Starter
    Fanatic Member Alien_poo's Avatar
    Join Date
    Jan 2002
    Location
    Canada
    Posts
    668
    VB Code:
    1. Key_press(keyascii as...)
    2. if keyascii = 112 then 'when I put a breakpoint, it brings vbhelp up HERE.
    3. image1.top = 123
    4. end sub
    "A RESPECTED scientist has put forward the stunning - if unsavoury - possibility that humans are descended from sewage dumped overboard by aliens."
    "First we read that we are the creation of God, then scientists say we are descended from apes. Now they say we're some sort of alien poo. How much further can we sink?"
    - Robert Matthews, Science Correspondent

  6. #6
    PowerPoster Arc's Avatar
    Join Date
    Sep 2000
    Location
    Under my rock
    Posts
    2,336
    You have no end if for one thing...

    VB Code:
    1. Private Sub Command1_KeyPress(KeyAscii As Integer)
    2. If KeyAscii = 112 Then 'when I put a breakpoint, it brings vbhelp up HERE.
    3. Command1.Top = 123
    4. End If
    5. End Sub
    -We have enough youth. How about a fountain of "Smart"?
    -If you can read this, thank a teacher....and since it's in English, thank a soldier.


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