I read the tips on vb and I have visual basic 6.0. When I declare the functions for moving the mouse as posted in the tip it gives me an error. Any ideas? Please help I would greatly appreciate it. Thanks in advance.
Printable View
I read the tips on vb and I have visual basic 6.0. When I declare the functions for moving the mouse as posted in the tip it gives me an error. Any ideas? Please help I would greatly appreciate it. Thanks in advance.
i have no idea, but if you give me the function name or at least the error description, maybe i could help.
When a section of code is giving you an error, post the section of code where the error is occurring and the error description. Then we can see what is going on.
To post code, highlight it and copy it from VB, then here in the Bulletin Board window type the following into the Your Reply: window...
[ code]
< paste your code here >
[ /code]
The only thing is don't put a space after the first bracket. I had to do that or it would just do the format instead of the example!
~seaweed
could you supply which tip?
http://www.vb-world.net/mouse/tip15.html
I can't get it to work. My program gives me an error with the declarations. Please help me. I have vb 6.0.
You have to declare t&...
Dim t&
or
Dim t As Long 'this is better
then don't put an ampersand (&) anymore
in the line
t& = SetCursorPos(0,0)
Also, change SetCursorPosition to SetCursorPos
I get the error.
Compile Error
Constants, fixed-length strings, arrays, user-defined types, and declare statements not allowed as public members of object modules.
Please help