Results 1 to 2 of 2

Thread: Compile Error

  1. #1
    Join Date
    Jan 2005
    Posts
    1

    Red face Unanswered: Compile Error

    I have had a vb program that has run twice a day for over a month now with no problems. I open it the other day to make a minor addition and recieve a compilation error. [Compile Error: Invalid Outside Procedure]

    I even returned the application to the original form and the error still persists. I thought it might be related to references but none that I have added have worked thus far.

    When I double click the project in its location I get the error:
    "Script:\\---file path----
    Line 12
    Char: 1
    Error: Expected Statement
    Code: 800A0400
    Source: Microsoft VBScript compilation error"

    Line 12 merely contains "On Error Resume Next"

    Does anyone have any idea what could be causing this error?

    Thanks,

    Laura

  2. #2
    Join Date
    Dec 2004
    Location
    York, PA
    Posts
    95
    Thats easy it's something in the code you changed

    comment out the on error and see what is really happening
    Sorry to be terse
    some say it's a curse
    I know it's worse
    I'm just diverse

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •