Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations wOOdy-Soft on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Running VFP 6.0 app on several PCs

Status
Not open for further replies.

phish

Programmer
Jun 21, 2001
2
US
I need to run a VFP app on 2 or 3 PCs connected via internet router. OS is W2K. However I try to test on W2K - W98 environment. EXE resides only on one PC. If I try to run from another PC I get VFP error "myapp.exe does not exist". Is there any solution or a way to share the same exe ?
 
Phish,

I think I am right in saying that a VFP exe can only run on the user's own computer, not remotely as you seem to be trying.

In which case, you will need to set up your exe up on each computer.

Hope this helps,

Stewart
 
Hi,

Sorry Stewart, I've definatley run vfp in this scenario before. Loading the exe from a shared file server is no problem. Each PC simply loads it into memory and executes it. This shouldn't cause any problems. You could have(probably have) got a network problem.


Ian.
 
I have experience of wery succesful running a single VFP exe from a server on many PCs (maybe more than 100), but that was a real network. Now i have a small home network of 2 or 3 PCs connected via internet router. I can run VFP or any other software like WORD or games remotely, but if I build EXE and try to do the same thing I get that weird error message " *** .EXE does not exists. " The Foxpro itself starts, The SCREEN object is loaded and visible , but then when something else is executed that error pops up. All that indicates that since this problem occurs only when I run EXE files build in Fox it is a fox problem and not a networking. Maybe someone tryed to do something similar or can check this issue?
 
Hi phish,

Maybe it would be best to be a little clearer on the way your network is set up. You mention an internet router. I assume you mean you have an internet router with a hub in it and you are using windows peer to peer networking with some protocols configured and file sharing enabled on one of your pcs?

Also, what do you mean when you say you can run word or games etc remotley? are u using some remote control software or are you executing this software from a shared directory on one of the pcs?

If the network is as I've mentioned in the first paragraph (ie it's a normal-ish network) and the foxpro app is executing, which it sounds like it is, then it sounds like it could be a vfp configuration problem.

Do both PC's have vfp installed? (are they the same version + service pack?)
If not you need to place the vfp runtime libraries from the machine which built the executable either in the windows system directory or in the working directory of your application.

I have more questions if this still doesn't work but let's see where we go next first.

Cheers
Ian.
 
I agree with Ian; however, FoxPro is not the most stable languange, especially on Windows 98; therefore, I don't recommend it. If you must do so, you could make sure your mapping paths are correct and network permissions are correct.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top