Results 1 to 6 of 6

Thread: Saving a project

  1. #1

    Thread Starter
    Junior Member
    Join Date
    Jan 2000
    Location
    south africa
    Posts
    16

    Post

    I have a project that I am working on at work.However, when I open this project on a stiffy at home, it gives me an error message about a file path not been found or something like that, I can't recall the exact massage.

    Have I saved or copied this project wrongly?

    thanks
    .......
    bon

  2. #2
    Lively Member Maartin's Avatar
    Join Date
    Jan 2000
    Location
    Benoni, Gauteng, South-Africa
    Posts
    99

    Post

    You have to make sure that all the ocx's, dll's etc that is on your work pc is also on your home PC, that you use in your project. If you don't then you can experience yor problem. Other wise you should not have a problem.

  3. #3
    Hyperactive Member
    Join Date
    Jan 1999
    Location
    Rotterdam, Netherlands
    Posts
    386

    Post

    Make sure you have exact same folder structure at home as at work (of the project folder I mean).
    Indeed make sure you have all control registered.
    I found out that VB sometimes saves paths too in the project file (fixed, not relative), open it with notepad and check it out)

  4. #4
    Lively Member Maartin's Avatar
    Join Date
    Jan 2000
    Location
    Benoni, Gauteng, South-Africa
    Posts
    99

    Post

    Yes, CrazyD when you open the .vbp you will find references to controls in there via paths. But you will also find registry entries in there, which 'm sorry to say complicates matters quite a bit.

    ------------------
    Have Fun.
    Maartin.
    [email protected]
    -----------------------

  5. #5

    Thread Starter
    Junior Member
    Join Date
    Jan 2000
    Location
    south africa
    Posts
    16

    Post

    How do I go about going that?
    but I know for a fact that my project does not contain any ocx files.

    Originally posted by Maartin:
    You have to make sure that all the ocx's, dll's etc that is on your work pc is also on your home PC, that you use in your project. If you don't then you can experience yor problem. Other wise you should not have a problem.

  6. #6
    Lively Member Maartin's Avatar
    Join Date
    Jan 2000
    Location
    Benoni, Gauteng, South-Africa
    Posts
    99

    Post

    On the Project menu go to the references item and click on it. This will display a form with all the References in the Project.

    Create a list with all references and the files they refer to.
    Eg. Microsoft ActiveX Data Objects 2.1 Library. lower down on the form you will see where the physical file is located.

    When that is done right click on your toolbox and select components. Do the same there. When that is all done. Got to you PC at home and see if all these files, versions and location correspond. Chances are that you will find the problem there.

    If that does not solve your problem. Go to windows explorer and browse to where the project file is located. Right click on the .vbp while holding down shift then from the popup menu select Open With, select Notepad. This will then open the project file in text format use this to locate the files that VB uses in the project.

    Use this again to check what is on your PC at Home. If you still get stuck. e-mail me and i will try and help you as far as possible.


    ------------------
    Have Fun.
    Maartin.
    [email protected]
    -----------------------

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