Results 1 to 5 of 5

Thread: Sendkeys, anything better?

  1. #1

    Thread Starter
    Hyperactive Member
    Join Date
    Oct 2006
    Posts
    343

    Question Sendkeys, anything better?

    OKAY, I have now decided that sendkeys is not very good... It worked fine for every single thing I ever did before in VB but now... It failed on me.

    I want my application to send:
    Code:
    <input name="" type="submit" value="Submit" />
    To a text box. Sendkeys.Send doesn't send "'s... Well, I tried Sendkeys.Send Keys.OEMquotes in every spot where the quote should be. But it sent this to the text box:
    <tbvN />
    And was horribly slow. So I what else can I do besides send keys that can easily send "'s? Thanks.

  2. #2
    Lively Member
    Join Date
    Mar 2006
    Posts
    104

    Re: Sendkeys, anything better?

    Search for SendMessage its a windows API you might be abel to use, Ive seen posts on it here somewhere

  3. #3

    Thread Starter
    Hyperactive Member
    Join Date
    Oct 2006
    Posts
    343

    Re: Sendkeys, anything better?

    VB Code:
    1. Declare Function SendMessage Lib "user32" Alias "SendMessageA" (ByVal hwnd As Long, ByVal wMsg As Long, ByVal wParam As Long, ByVal lParam As Long) As Long
    Thats what I came up with. But I don't understand it...

  4. #4
    Lively Member
    Join Date
    Mar 2006
    Posts
    104

    Re: Sendkeys, anything better?

    try searching in the API section if you havent yet, Sorry im not much help but i dont know how to use it either I just know it exists from seeing it in sendkeys posts.

  5. #5

    Thread Starter
    Hyperactive Member
    Join Date
    Oct 2006
    Posts
    343

    Re: Sendkeys, anything better?

    Ok, I still get nothing... This is the major part of my project and without knowing how I won't be able to finish it...

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