Results 1 to 6 of 6

Thread: Runtime Error

  1. #1

    Thread Starter
    Junior Member
    Join Date
    Feb 2000
    Posts
    31

    Question

    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

  2. #2
    Monday Morning Lunatic parksie's Avatar
    Join Date
    Mar 2000
    Location
    Mashin' on the motorway
    Posts
    8,169
    Do you have the error message? It's probably one of the controls you use hasn't been registered.
    I refuse to tie my hands behind my back and hear somebody say "Bend Over, Boy, Because You Have It Coming To You".
    -- Linus Torvalds

  3. #3

    Thread Starter
    Junior Member
    Join Date
    Feb 2000
    Posts
    31
    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...

  4. #4
    Monday Morning Lunatic parksie's Avatar
    Join Date
    Mar 2000
    Location
    Mashin' on the motorway
    Posts
    8,169
    Well, if you post the error message, I can tell you what the problem is.
    I refuse to tie my hands behind my back and hear somebody say "Bend Over, Boy, Because You Have It Coming To You".
    -- Linus Torvalds

  5. #5

    Thread Starter
    Junior Member
    Join Date
    Feb 2000
    Posts
    31
    I'm told that it's Runtime Error 5

  6. #6
    Frenzied Member
    Join Date
    Jun 2000
    Location
    East Providence, RI
    Posts
    1,715
    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."
    NXSupport - Your one-stop source for computer 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
  •  



Click Here to Expand Forum to Full Width