Solved

Filepaths of forms

Posted on 1999-01-06
1
208 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
1 Comment
 
LVL 3

Accepted Solution

by:
jjbyers earned 100 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

Maximize Your Threat Intelligence Reporting

Reporting is one of the most important and least talked about aspects of a world-class threat intelligence program. Here’s how to do it right.

Join & Write a Comment

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…
I was working on a PowerPoint add-in the other day and a client asked me "can you implement a feature which processes a chart when it's pasted into a slide from another deck?". It got me wondering how to hook into built-in ribbon events in Office.
As developers, we are not limited to the functions provided by the VBA language. In addition, we can call the functions that are part of the Windows operating system. These functions are part of the Windows API (Application Programming Interface). U…
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…

760 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

Need Help in Real-Time?

Connect with top rated Experts

20 Experts available now in Live!

Get 1:1 Help Now