?
Solved

Filepaths of forms

Posted on 1999-01-06
1
Medium Priority
?
214 Views
Last Modified: 2010-05-03
I created a vb program with 2 forms and accidentally saved the second to a separate directory from that with the VBP (project) file.

The program works okay until I transfer the files to the network drive.  When you try to run the program from the network drive it says "Path not found ........ continue loading project?"  Where ........ is a mishmash of a directory path of the network drive and the path of the file that was saved to the wrong directory.  I then have to add the form manually using the project menu.  This would be okay but we have a problem saving vb projects on the network drive.

I need some way of changing the path that is somehow "stuck" in the projects mind!

Does anyone recognize this problem?  Is there some way of firstly looking at the filepaths that the project recognizes along with the filenames which are always displayed.  Secondly changing these paths.
0
Comment
Question by:Taranadilla
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
1 Comment
 
LVL 3

Accepted Solution

by:
jjbyers earned 400 total points
ID: 1454341
First copy the file to the same directory as the projects VBP file.

Open the VBP file in notepad and change the path for the form, or since it's in the same directory you can remove the path.

Hope this helps.
0

Featured Post

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

The debugging module of the VB 6 IDE can be accessed by way of the Debug menu item. That menu item can normally be found in the IDE's main menu line as shown in this picture.   There is also a companion Debug Toolbar that looks like the followin…
Most everyone who has done any programming in VB6 knows that you can do something in code like Debug.Print MyVar and that when the program runs from the IDE, the value of MyVar will be displayed in the Immediate Window. Less well known is Debug.Asse…
Get people started with the process of using Access VBA to control Outlook using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Microsoft Outlook. Using automation, an Access applic…
This lesson covers basic error handling code in Microsoft Excel using VBA. This is the first lesson in a 3-part series that uses code to loop through an Excel spreadsheet in VBA and then fix errors, taking advantage of error handling code. This l…
Suggested Courses

771 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question