-
1 Sendkeys can be used
2 You can use the SendMessage PostMessage API
-
VB's mouse events are click, double-click dblclick, mousedown, release mouseup, and move mousemove. Please remove the other mouse event procedures and program only the mouse double-click event dblclick.
-
private declare function postmessage lib "user32" alias "postmessagea" (byval hwnd as long, byval wmsg as long, byval wparam as long, byval lparam as long) as long
private declare sub sleep lib "kernel32" (byval dwmilliseconds as long)
dim anctlejiang as long 'This sentence is written in general.
private sub command1_click()
postmessage 65674, 100, 17, 0 'This is by pressing the CTLE key.
anctlejiang = 1
sleep 1000 'Delay 1 second.
postmessage 65674, 101, 17, 0 'Flick the CTLE key.
anctlejiang = 0
end sub
private sub timer1_timer()
msgbox anctlejiang
if anctlejiang <>0 then
dim aa as long
postmessage 65674, 201, 1, 0 'This is by pressing the left button.
to press the left button"
aa = anctlejian
if aa <>anctlejian then
postmessage 65674, 202, 1, 0 'Flick the left button.
to bounce the left button"
end if
end if
end sub
-
???May I.
You don't need a vb statement, you can set it directly, but it's all in ms.
-
See if the socket is working properly and reinstall the driver.
-
Looking at the background, I tried the explorer again, and the file is selected.
The background color is different between choosing Chinese pieces and selecting Chinese characters.
-
I made one a long time ago with a lot of features. See image below
Click Settings to go to Settings:
Do you want that?
-
Attached is the source code.
F10 starts. Stop at the click of a button.
F11 is hidden and revealed, so it's detailed enough. \
I think it's time to buy a VB book. Break the bank!
I'll give you an easy way to do it, and I use it when I was in college, and I don't know if you can use it. >>>More
To realize the communication between the computer and the mobile phone, it can be divided into two situations, one is the situation with wifi, and the other is the situation without wifi. >>>More
My habit is to use the shutdown command in the shell.
a=shell("shutdown -f -s -t 0"relationship. >>>More
This program of the landlord is written into a notepad. If you want to write data to the access database. >>>More