Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Directory problem!!
Message
From
23/10/1997 09:48:45
 
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00056200
Message ID:
00056316
Views:
28
>>>When I create a forms in a directory of my d: drive it works fine. After I create an executable file and installed the files onto c: drive. It starts give me error saying form1 not found on c:\temp\form1.scx.
>>>
>>>Is there a way to program it dynamic so eventhough the files are installed into a different drive or directory it still could recognize it.
>>
>>When you are in the Project Manager and have identified *MAIN*, create the project. Look under Documents/Forms in the project tree. Do you see all the forms you need listed there? If not, you need to re-examine your main calling program or menu -- something has to be calling the form with a "DO FORM FORM1" for it to be included in the app/exe.
>
>Hi Mark,
>I double check the project info, all my forms are included into the project. The problem I had is when I design my project I design on my d: drive. But when I installed the software I had to install on the c: drive of client's pc. Unless I have to specific the command like "do c:\dir\form1" everytime I wanted to run the forms. But what happen when the user change the directory name when they installed the software. Then the command won't work because the there's no such directory. How can I make it dynamic so that even the user change the directory name while installed the software, my program still could run fine.

There is development rule: either you develop on drive 'C', or, that is more flexible, you have strict development tree, i.e. all your forms, reports, prgs, etc located on relative path to project file.
Edward Pikman
Independent Consultant
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform