o
k
q
u
e
s
t
i
o
n
s
.
c
o
m

API sendkey/sendmessage example -

does anyone have a tutorial or example program on how to use sendkey and send message. I want to be able to send text to Notepad and mirc

 

SendKey usage compared to SendMessage -
Hi All, I wanna ask about the equivalent of SendKey if I will use SendMessage: Ex. If ctr2 <= length Then myKeys(ctr2) = Mid$(myString, ctr2, 1) SendKeys myKeys(ctr2) ctr2 = ctr2 + 1 Else I tried converting SendKey with SendMessage but


API sendkey/sendmessage example -
does anyone have a tutorial or example program on how to use sendkey and send message. I want to be able to send text to Notepad and mirc


login using sendkey -
Thanks in advance for any help you can give. Am very new at this, but interested in learning quickly. I'm experimenting with opening different applications and manipulating them using sendkey. I've gotten as far as activating the apps I want. My next foray is using sendkey. How,


Tilde Sendkey wont Execute -
I am trying to run a trainer that will access a built in console for a game. What I want it to do is, when I press the F1 key, it will execute a sendkey for the tilde key. However the sendkey will only be pushed when there is a textbox visible. If I hit F1 during a game it seems like i


Sendkey!! -
can some give me the exact coding that i will need to make it do a sendkey for enter.


[2005] SendKey -
Is There Anyway To Use A SendKey.Send (HOME) without the focus on the object. I mean is there any other way, function wich does the same thing ?


SendKey -
Hi, I want to automate the process of logging in in a web site. The page site has a text box and a submit button, i want to use sendkey command and type some text in the text box and then simulate mouse click. Can anyone please give me any example code for sendkey function for a html


SendMessage Help -
I am trying to do a SendMessage against a msgbox. If the msgbox has two choices such as Yes and No. How do I make it click No? I am able to sendmessage on the Yes, but don't know how to do it to the No. I was using FindWindow and FindWindowEx to do this with SendMessage. An


sendkey -
please anyone explain me what is 'Sendkey'. Thanks for help.


Need helps in Sendkey -
Hi, I have a field in an application that I can't tab or shift+tab to get there. How can I navigate to that field using Sendkey? Thanks, PhiL


SendKey Problem With winXP -
I Have just bought the final release of Windows XP and when i use the SendKey command in my form at runtime i have to click the button lots of times before the command will work. Has anyone else discovered this? If not try it. Does anyone know how to fix this?


sending a backspace to a textbox -
Hello I was trying to send a backspace can i do it using sendkey something like sendkey asicc_value(8) since ascii value 8 is backspace?


Sendkey 3 tissue issue -
I am writing a simple script for my SSIS package. My problem is that i can not automate this SSIS because when I save the file in the following script i get a YES NO Cancel pop up. I am trying to use the sendkey function to automatically choose yes to no avail.


about sendkey :( help!!! -
Hey guys, i'm making a program which simulates keys down&up in a game. i used sendkey() and keyboard_event,but it works in chatbox of game only. All i want is simulating a KEY down&up in the game just like the really keyboard does. By the way, I think i should use DX_input


setfocus for sendkey -
I m new to vb6, i need to setfocus to a window on my desktop such as a login window or bob.txt that is already open and have sendkey fill it, how do i do this?


CTRL+P (Sendkeys) -
I have developed a pretty complex Sendkey App in VB6 for work. I use it on apps not made with VB (i.e. Word, Excel, IE etc...) Everything seems to work pretty good except two Sendkey commands. + (Shift) ^ (Control) I have tried sending "^(P)" to open print dialog in


VB 6.0: sendkey Holding a button down -
I have figured out how to use sendkey to send key presses to other apps, but how would you go about sending a key press and hold to other apps? IE: press and hold W for 10 seconds.


Alternative to sendkey -
Hi, hopefully I'm posting in the right forum. I'm trying to send keyboard command to an opened window. I tried with something like that : AppActivate "Name of the window" Sendkey text1.text Now, it's very basic, but it work with "common" program like


Using API instead of VB's Sendkey func -
I was wondering if anybody could help or explain how I would go about sending keys to a game using API I can send keys right now using the Sendkey command in Visual Basic, although I cannot send keys if the game client is maximized


SendMessage - Easy -
I am trying to do a SendMessage against a msgbox. If the msgbox has two choices such as Yes and No. How do I make it click No? The msgbox I am trying to click is from Excel. If you can generate the msgbox with a vbYesNo in Excel and from VB trying to click the No. I am able


Sendkey ^(P) Problem -
I have a fairly neat program that runs "Sendkey" commands on other apps. All my sendkeys work... except one. ^(P) (or any othe ^(?) command) I know I can use %(Fp) to do the same thing, but how come "^(P)" doesn't work??? You have to use the () because


using sendkey to click a button (resolved) -
Hi, Is it possible to use sendkey to click on a tab or button on an active application? This application didn't have hotkeys on most items so I have to use my mouse to click to activate things. Thanks, PhiL


problems with sendkeys and window focus -
My application automates tasks. It uses FindWindow to get the window handle and SendKey to send the keyboard strokes. Now, everything works fine, unless some other application pops up and steals window focus. If that happens, my sendkey commands go to the wrong window. any ideas for


FindWindow With Multi Instance -
Hi All, I have been playing around with windows API FindWindow, i can use the API to find and show the other application and send a key to them (sendkey). But i got a problem, how to send key to other application if there is more than one instance of application running? for example


need help with SendMessage [not resolved] -
hi, i am trying to use the SendMessage API function to simulate a right-mouseclick on a notifyicon. what is the correct syntax for sending a right-mouseclick message with SendMessage? i know the format is SendMessage(windowhandle, msg, wParam, lParam), but i dont know what to


How do I send a mouse click similar to SendKey -
I want to send mouse clicks to an application like I do SendKey, I already designed a method to get the mouse to the properlocation on the destination, I just don't know how to send the click to it.


Make a SendKey to TerminalServer Windows... -
Hello, I search a way to make a sendkey to a terminal Server windows. I have found some information about RDP 5.1 and IMsRdpClientNonScriptable. But I did'nt find example source code or somthing to help me to make that. What I need to make : I have a program who read a


Three different Buttons having the same hWnd handle. -
Hello, i want to write a program for starting a foreign application (such as Cooledit wave-editor) and sending a command to every button of this application using "SendMessage hWnd, BM_CLICK, 0, 0 (maybe this is the right API for this purpose but i'm not 100% sure). Star


about sendkey -
hi, i would like to know how to work with sendkey function, is it possible to send command with the compiled app? let say i have compiled exe from the vb with 2 command buttons 1 is the Exit Button and 2 is the About Button.. now i will create a new app with the sendkey function.. h


Minimize a Window with SendMessage -
Hi, all. I use the GetForegroundWindow API to get the handle of the topmost window(a non-VB window). Now, I want to minimize it using the SendMessage API. Is there a WM_MINIMIZE constant that I can pass to the SendMessage API function? If none, how can I minimize the window using the S


SendMessage + Tab + Text ... help!!!! -
This is driving me nuts... SendMessage Wnd, WM_IME_KEYDOWN, VK_TAB, 0& For i = 1 To Len(strType) 'Press the keys SendMessage Wnd, WM_KEYDOWN, VkKeyScan(Asc(Mid(strType, i, 1))), 0 SendMessage Wnd, WM_CHAR, VkKeyScan(Asc(Mid(strType, i, 1))), 0 SendMessage Wnd,


[QNS] 'SendMessage' method question -
Hi all, I've created a vb 6 application and it has a function/method SendMessage*, I need to find the equivalent of this in VBA. Does anyone know? Thanks in advance. *SendMessage is a windows component used for passing messages to a control.


How do I close an app with the handle -
I have the handle of the window and I want to close that program. Is there a way with this? Or even set the window to be hidden? It is not a VB app - it is another program. I was going to use sendkey and close the window like sending Alt-F and then X. But I have read on the board


Keypress event by API -
Hi, I have two programs. One program sends some keypress event to the 2nd one by sendmessage API. I can do that perfectly but my problem is that the keypress event is triggered twice. 1st I have used sendmessage for keydown then immediately again used sendmessage for keyup in code. To


treeview sendmessage -
Hiya guys. I need to use the SendMessage API to select a certain Node in a treeview. however i dont know the SendMessage constants to do it! I'm using the SHBrowseForFolder API to allow the user to select a folder, that works no prob. I would also like to be able to have an in


PostMessage WM_SETDATA question. -
Can someone tell me how to code a PostMessage equivalent of rc=SendMessage(txtBox.hwnd, WM_SETTEXT, 0, ByVal sTemp) The SendMessage works perfectly, but in the particular app I'm writing, I need to use PostMessage (I can't wait for completion of the SendMessage). Tnx,


Sendkeys In Memory (Send or PostMessage) -
When I use Sendkey "{ENTER}" to press a Save button on Adobe Acrobat, it freezes up my PC... specifically Acrobat. I tried DoEvents... but doesn't work. DoEvent will only work after "Sendkeys" has been released from the system. What can I do to send Sendkey co


SendMessage hotkeys -
I need to send a hotkey to an outside app. The most obvious (and what I would prefer to do) is to use SendMessage. Ive googled for the last hour and the closest I've come is a bunch of VK commands. I understand how SendMessage works and everything but I can't figure out how to send a k


SendKey Command For SpaceBar -
Anyone know the SendKey Command For SpaceBar? Thanx for any help


Posting Keystrokes to a control -
Is there a way to post keystrokes to a control? In particular, the textbox control. I'm trying to provide a "touchscreen" keyboard, with left and right arrows, insertion, deletion, etc. using command buttons for the "software keys". I.E. something like: textbo