|
-
Jun 19th, 2005, 06:14 PM
#1
Thread Starter
Lively Member
move mouse
how would you make the mouse move to a certain place into an active x control, then click, then type something?
-
Jun 19th, 2005, 06:16 PM
#2
-
Jun 19th, 2005, 06:19 PM
#3
Thread Starter
Lively Member
Re: move mouse
i don't really get it, what's an API?
-
Jun 19th, 2005, 07:08 PM
#4
Banned
Re: move mouse
An API (Application Programming Interface) is a sub or a function that you can obtain through almost any DLL file, and allows you to do more in VB than ordinary VB code is capable of, or if it does, the API does it way faster and more efficient. Like for example:
VB Code:
Private Declare Sub Sleep Lib "kernel32.dll" (ByVal Milliseconds As Long)
Private Sub Form_Load()
Sleep 5000
'After 5 seconds, your form should load
End Sub
Here's what it does. The Sleep API causes your program to halt a certain number of milliseconds. And this sub is obtained from the Kernel32.dll file located in your Windows/System directory (System32 if you are using Windows 2000/XP).
You can find many more API's in here
http://www.mentalis.org/apilist/apilist.php
What's good about DLL files (when not an ActiveX dll) is that it can be created in any language and be used in any language. Like those dll files located in the System/System32 directory have been created in C or C++ yet can be used in VB.
-
Jun 19th, 2005, 07:45 PM
#5
Thread Starter
Lively Member
Re: move mouse
thnx, now i understand what API is, but what do u type to do those digfferent API's?
-
Jun 19th, 2005, 07:53 PM
#6
Banned
-
Jun 19th, 2005, 07:55 PM
#7
Re: move mouse
find api guide and api viewer
from www.allapi.net
pete
-
Jun 19th, 2005, 08:11 PM
#8
Thread Starter
Lively Member
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|