>I have a form that work very well from my desktop.
>When I put the form on the network or I copy it to other computer I get message "file.'prg' does not exist" and the form starting to work in design mode.
>my questions is:
>1. Why do I get this message?
>2. How can I cause the form to open redy to work (not in design mode)- this problem I have also in my desktop (without the errore message)?
>Thank you for answerHaim:
What do you mean "When I put the form on the network or I copy it to other computer..."
You mean the form's source code? (form.scx and form.sct)
If you do that, you should be able to open it from another copy of VFP IDE.
>1. Why do I get this message?Because it does not find a file when you attempt to run a program (do whatever) and it thinks it's a program you want to execute.
>2. How can I cause the form to open redy to work (not in design mode)You mean in runtime, not design mode? If you have VFP then it is as notrmal once you copied the two form files to another computer (as stated above).
If you mean a user's runtime, then you have to compile the form into an EXE (from your project) and distribute your EXE and VFP runtimes normally. (done with Install Shield Express from VFP7+, or similar)
Your question is not very clear.
Note: It is bad netiquette to title your subject as Help. It does not help anybody else with the same problem in the future. Imagine if all messages were labelled Help or Urghent or some such generic name. How would you find it in a search?
Message subjects should be descriptive of their contents. In your case you could've written something like "Form does not copy properly" or "Form does not run".
HTH