-
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
-
Do you have the error message? It's probably one of the controls you use hasn't been registered.
-
I only use standard controls. I can't figure out what the problem might be cause my program runs fine on a bunch of other computers...
-
Well, if you post the error message, I can tell you what the problem is.
-
I'm told that it's Runtime Error 5
-
I got this from my msdn library:
Code:
ReadProperty Method
Returns a string from the specified user-defined section and key in the project's .Vbp or component file.
VBComponent object:
VBProject object:
Syntax
object.ReadProperty (key As String) As String
object.ReadProperty (section As String, key As String) As String
The ReadProperty function syntax has these parts:
Part Description
object Anobject expression that evaluates to an object in the Applies To list.
section Astring expressioncontaining the name of the section where the key is found.
key Astring expressioncontaining the name of the key to return.
Remarks
If the section or key area in the file is empty or doesn't exist, you'll get run-time error 5: "Illegal function call."