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?
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?
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
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 -
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 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
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
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
help about setfocus -
i have a peculiar problem regarding use of setfocus.
When i use setfocus for a textbox control in design time there is no problem.
But during runtime there comes an error no 5.
On debugging the line textbox.setfocus is highlighted.
Can anybody suggest the reason.
Thanks
prem
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.
SetFocus - webbrowser... -
Why doesnt setfocus work with the webbrowser control??
Iv tried...
webbrowser1.setfocus
webbrowser1.document.setfocus
no matter what.. I still have to click the doc before I can scroll with the wheel?
Someone Please Help Me With This Code -
Ok I Was Trying To Build An Elite Talker Im Hopes That After That I Could Then Work Out How To Make An Encryption Program. I Don't Know If Anyone Knows What An Elite Talker Does Or Not But Anyway, This Program Consists Of A Form With 3 text boxes, you type in the first and the next mes
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
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
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.
Form1.Setfocus for keypress -
Looks like Text1.SetFocus works better for trapping the downarrow key to scroll up and down a bitmap, than does Form1.SetFocus. Using the downarrow key after Form1.SetFocus when coming out of a control goes directly into tab order and the cursor jumps thru all of the controls.
Te
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
How to setfocus on combobox -
Ok, so my combobox won't execute the setfocus function without erroring out.
Is there a reason? whats the work around?
for example
cmbTest(index).setFocus
returns an error.
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
***Resolved*** SetFocus problem -
Hi everybody,
I use many times Private Sub Form_Load to set some parameters in the Form before the use use it. But I need to set on Fields .SetFocus to start with the correct textfield. Unfortunatly it seems that with Form_Load are the controls are still not loaded. How can I set at
HELP!!! w/ SetFocus -
I have a form that is being shown modally so it will stop the rest of the program, but when this form comes up, it sets the focus on one of the radio buttons and I want it to setfocus on the continue button, but I get an error when using:
cmdCont.SetFocus
in the form_load event.
SetFocus query! (Not a newbie!) -
Its not always possible to setfocus at form_load time. I have a control (ssCommand, from Sheridan) which i can SetFocus whenever i like, except at form_load time! I want to change focus early though.
I am getting the error "Run-time error `5`: Invalid procedure call or argumen
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
Serious - SetFocus Any Information -
Has anyone ever heard of a company called Setfocus. he apparently are a training company for .Net.
txtBox.SetFocus -
Off the top of your head, can anyone think of a scenario where I'm able to SetFocus on a text box perfectly in one form and then in another form I try to SetFocus on another text box and receive:
run time error 5
invalid procedure call or argument:
totally perplexed,
Problem with SetFocus ! Please help ! -
Hi all,
i try to code a lil game but i stuck with SetFocus.
Form1.Text1.SetFocus in Form_Load gives:
Error 5 Invalid call or argument !
What am I doing wrong ?
I did a search an there are a lot of useful threads concerning Keyboard-Events anyway i don't get it ...
If anyb
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
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