Results 1 to 3 of 3

Thread: Location of form file (.frm)

  1. #1

    Thread Starter
    Member
    Join Date
    Jun 2000
    Posts
    45
    Where in a VB project (.vbp) is(are) the location(s) of the project's forms? I somehow got one of my forms into a different folder than my project, moved it to the folder containing my VB project, but now the project can't find it. It says it's looking for it in the folder I removed it from.

    So, how can I specify within my project the location of the form?

    Thanks,

    Don Goyette

  2. #2
    Guest
    Open your VBP file in Notepad and find the line that says Form=. If the path is somethging like this.

    Form=..\..\My Documents\Form1.frm

    Then you can change it to

    Form=Form1.frm. This changes the directory to the directory the Project is in.

  3. #3
    Member
    Join Date
    Jun 2000
    Posts
    34
    Load the project; it will say that there is an error and
    ask you to continue (click yes). Once the project is loaded, click: Project and Add Form.

    Select: Existing form and browse to the form that needs
    to be included in your project (the one that gave you an error). Now save the form to the directory where the project is in and finally save your project again.

    This should solve the problem

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