|
-
Mar 19th, 2000, 09:04 AM
#1
Thread Starter
New Member
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.
-
Mar 19th, 2000, 09:45 AM
#2
Lively Member
i have no idea, but if you give me the function name or at least the error description, maybe i could help.
-
Mar 19th, 2000, 09:58 AM
#3
Frenzied Member
This will help us help you...
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
-
Mar 19th, 2000, 09:59 AM
#4
Lively Member
could you supply which tip?
-
Mar 19th, 2000, 01:08 PM
#5
Thread Starter
New Member
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.
-
Mar 19th, 2000, 03:25 PM
#6
Lively Member
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
-
Mar 19th, 2000, 09:25 PM
#7
Thread Starter
New Member
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
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
|