|
-
Aug 31st, 2000, 11:58 AM
#1
Thread Starter
Junior Member
Could someone please tell me what Runtime Error 5 means, and is caused by? Thanks
-
Aug 31st, 2000, 12:02 PM
#2
Form MSDN
- An argument probably exceeds the range of permitted values. For example, the Sin function can only accept values within a certain range. Positive arguments less than 2,147,483,648 are accepted, while 2,147,483,648 generates this error.
- This error can also occur if an attempt is made to call a procedure that isn't valid on the current platform. For example, some procedures may only be valid for Microsoft Windows, or for the Macintosh, and so on.
If you provide the line where the Error was generated, It might be easier for us to help you.
-
Aug 31st, 2000, 12:03 PM
#3
Error 5 = Invalid procedure call or argument.
You might be passing a string to a procedure that only accepts integer for example.
-
Aug 31st, 2000, 12:10 PM
#4
Fanatic Member
You might look at this site:
http://msdn.microsoft.com/library/de...alfunccall.htm
It has the same error text posted by Megatron, but has a "See Also" link that might provide some clues for you.
-
Aug 31st, 2000, 12:11 PM
#5
Thread Starter
Junior Member
The problem is not with me. I received an e-mail from someone trying to run my program who says they've got the proper runtimes and everything. They said it gives them that error when they try to start it. I've never received a complaint before, and i've seen my program run on a bunch of different computers! I can't really fix the problem in the code because i'm not sure where/why it's generated on their computer. Suggestions? Thanks
-
Sep 1st, 2000, 02:09 PM
#6
Just an idea.
This piece of code could also give Error 5:
Text1.enabled = False
Text1.setfocus
-
Sep 1st, 2000, 05:16 PM
#7
Yes, that would count as an "invalid procedure call"
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
|