dcsimg
Results 1 to 3 of 3

Thread: [RESOLVED] Can't Find File or Library

  1. #1

    Thread Starter
    Hyperactive Member
    Join Date
    Oct 2005
    Posts
    382

    Resolved [RESOLVED] Can't Find File or Library

    Hey people. I've got a project that has been running very well for years. I had a laptop die so I installed VB6 on a new laptop (with some trouble) and got SP6 loaded up. Added all my 3rd party controls again. Loaded up my project...

    Inside the IDE when I click RUN VB will compile the program but then abruptly stop on weird random spots.

    I'm getting strange errors saying things like "Can't find file or library" on really common commands. Like for example the VB6 STR command (ie K$ = str(X) )

    When I start a new project with the exact same commands they work fine.

    Or take a look at this... any ideas what could possibly be wrong? Much thanks in advance for any assistance.

    Name:  hfile.jpg
Views: 41
Size:  20.8 KB

  2. #2
    PowerPoster Arnoutdv's Avatar
    Join Date
    Oct 2013
    Posts
    3,826

    Re: Can't Find File or Library

    Check the references of your project.

    You should at least have checked the following:
    Visual Basic For Applications
    Visual Basic runtime objects and procedures
    Visual Basic objects and procedures
    OLE Automation

  3. #3

    Thread Starter
    Hyperactive Member
    Join Date
    Oct 2005
    Posts
    382

    Re: Can't Find File or Library

    Quote Originally Posted by Arnoutdv View Post
    Check the references of your project.
    Good call! I checked and found several references marked as "Missing". Got those sorted out and all is good. Thanks for your 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
  •  



Featured


Click Here to Expand Forum to Full Width