Results 1 to 10 of 10

Thread: [RESOLVED] VB Error

Threaded View

  1. #1

    Thread Starter
    Lively Member DJ P@CkMaN's Avatar
    Join Date
    Jan 2002
    Location
    Burpengary, Queensland, Australia
    Posts
    95

    [RESOLVED] VB Error

    hey all,
    can anyone tell me what is wrong with this??
    VB Code:
    1. FileName = App.Path & "\Scores\High Score.cam"
    2.  
    3.     'get high scores from file
    4.     Open FileName For Input As 1
    5.     Do Until EOF(1)
    6.         Line Input #1, HScore.Name
    7.         Line Input #1, HScore.Score
    8.     Loop
    9.     Close #1

    in a code module, i have a Public Type which is where the HScore.Name and HScore.Score came from. when i try to run the program, it comes up with a mismatch error and when i click debug, it highlights the .Score part of HScore.Score


    thanks
    Last edited by DJ P@CkMaN; May 31st, 2002 at 10:33 PM.
    There's something I've noticed in the last year or so...
    Australian's are good at EVERYTHING !!!

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