Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Directory problem!!
Message
From
23/10/1997 09:44:48
Sonny Chouinard
CHCA Computer Systems Inc.
Lachenaie, Quebec, Canada
 
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00056200
Message ID:
00056312
Views:
29
>>>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.

I hope you use "DO FORM FORM1" instead of "DO FORM D:\PROJ\FORM1". Also, if all the forms are included in the exe. (Forms built in the executable file, you shouldn't have any problem. There is one thng to include your form in the project. But you should include it also in the EXE file. Check in the PROJECT INFO option.
Previous
Reply
Map
View

Click here to load this message in the networking platform