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. :)
Re: Sendkeys, anything better?
Search for SendMessage its a windows API you might be abel to use, Ive seen posts on it here somewhere
Re: Sendkeys, anything better?
VB Code:
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...
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.
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...