Results 1 to 3 of 3
  1. #1
    Join Date
    Jun 2006
    Posts
    48

    Question Unanswered: Microsoft Visual Basic

    Gosh! More problems. When I try to open a form in a Microsoft Access database with any visual basic code, I am greeted by this message
    An error occurred while loading 'FormName'. Do you want to continue loading the project?. While I click Yes, the same question is asked for each form with VB code. The result is none of my command buttons with VB code are functioning since no scripts are present. What can be the problem and how can it be resolved?

    Thanks.

  2. #2
    Join Date
    Feb 2004
    Location
    New Zealand
    Posts
    1,418
    Provided Answers: 7
    1st I would open the database

    Display the Modules and do a debug -> complie
    and Complie everything The complie will stop on the error
    then you can fix it and complie again until no error
    hope this help

    See clear as mud


    StePhan McKillen
    the aim is store once, not store multiple times
    Remember... Optimize 'til you die!
    Progaming environment:
    Access based on my own environment: DAO3.6/A97/A2000/A2003/A2007/A2010
    VB based on my own environment: vb6 sp5
    ASP based on my own environment: 5.6
    VB-NET based on my own environment started 2007
    SQL-2005 based on my own environment started 2008
    MYLE
    YOUR PASSWORD IS JUST LIKE YOUR TOOTHBRUSH DON'T SHARE IT.

  3. #3
    Join Date
    Jun 2006
    Posts
    48
    Myle,

    I did a debug but I realized there aren't any modules present. So I copied the modules into the database and tried again at the debug and compile but to no avail. The network error still pops up. I read, however, that if you import objects into a new database (this is with MS Access 2000), you need to debug and compile before you save and close the new database and I didn't know that hence, I got into some problems but I have reverted to an other copy of the database.

    Thanks for your assistance.

Posting Permissions

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