Re: How to access a compiled exe file through the local network?
From: Fred Taylor (ftaylor_at_mvps.org!REMOVE)
Date: 12/02/04
- Next message: Demetrios Panayotakopoulos: "Re: FLL install directory"
- Previous message: Sam Hung: "Re: How to access a compiled exe file through the local network?"
- In reply to: Sam Hung: "Re: How to access a compiled exe file through the local network?"
- Next in thread: Mike McDowall: "Re: How to access a compiled exe file through the local network?"
- Messages sorted by: [ date ] [ thread ]
Date: Wed, 1 Dec 2004 22:57:34 -0700
You need to mark your .EXE at the OS level as read-only. What network OS
are you using? I haven't seen that requirement since Novell.
-- Fred Microsoft Visual FoxPro MVP "Sam Hung" <SamHung@discussions.microsoft.com> wrote in message news:C6EFD1C4-4BF0-4A4B-9027-204577784A96@microsoft.com... > Hi All, > > Thanks. I'd tried to add "Set Exclusive Off" in Main.prg, but it still > turned out to be the same result (Only one computer can access to computer > C(.exe file)). My Main.prg is as follows: > > set exclusive off > set optimize on > set lock off > set delete on > set safety off > set exact on > sys(5)+curdir() > set default to sys(5)+curdir() > .... > > I'm sure there is something wrong with my code or some is missing. "Set > Exclusive Off" should work. Please check my code and correct if you have > any > good idea. > > Many thanks, > Sam. > > > "Demetrios Panayotakopoulos" wrote: > >> Fred is very fast. >> Regards. >> >> Demetrios, Greece >> >> "Fred Taylor" <ftaylor@mvps.org!REMOVE> wrote in message >> news:%235CnaUF0EHA.1192@tk2msftngp13.phx.gbl... >> > SET EXCLUSIVE OFF >> > >> > -- >> > Fred >> > Microsoft Visual FoxPro MVP >> > >> > >> > "Sam Hung" <SamHung@discussions.microsoft.com> wrote in message >> > news:EE37B1E0-F576-4EE0-9984-EE2990B3EB4F@microsoft.com... >> > > Hi Demetrios, >> > > >> > > I didn't exactly remember what the error message is, because today I >> come >> > > back and try again, it works. It might be something happened on >> accessing >> > > to >> > > local network, or something else. >> > > But I found another common question like: As computer B is accessing >> > > to >> > > the >> > > system, Computer C cannot get into it simultaneously. How to release >> this >> > > restriction that let multi-users to get into this system? >> > > >> > > Many thanks, >> > > Sam. >> > > >> > > "Demetrios Panayotakopoulos" wrote: >> > > >> > >> Sam, >> > >> >> > >> What the error message says? >> > >> Does the program run correctly on computer A? >> > >> >> > >> Demetrios, Greece >> > >> >> > >> >> > >> "Sam Hung" <SamHung@discussions.microsoft.com> wrote in message >> > >> news:DB17E141-9E5C-4A18-A01C-FC727F5F6AE7@microsoft.com... >> > >> > Thanks for you guys idea. I had done exactly what the information >> > >> > you >> > >> > provided to me for several times, but unfortunately another error >> > >> > message >> > >> > pumped out. I'm suspecting if this is something I missed, like >> > >> > what I >> > >> > mentioned from my question: >> > >> > main.prg, or other aditional codes I should add. >> > >> > >> > >> > Please help >> > >> > Many thanks, >> > >> > Sam. >> > >> > >> > >> > "Demetrios Panayotakopoulos" wrote: >> > >> > >> > >> >> Correct. >> > >> >> And you have to make sure where the data are located. >> > >> >> >> > >> >> Demetrios, Greece >> > >> >> >> > >> >> "christophe" <irs.znospamforme@skynet.be> wrote in message >> > >> >> news:OUyzIDjzEHA.3976@TK2MSFTNGP09.phx.gbl... >> > >> >> > and not to forget : >> > >> >> > the run-time files on each computer that will run the exe >> (computer >> > >> >> > B&C) >> > >> >> > (easiest way is to make a Setup file) >> > >> >> > >> > >> >> > regards >> > >> >> > christophe >> > >> >> > >> > >> >> > "Demetrios Panayotakopoulos" >> > >> >> > <dpanayotakopoulos_my_dat@_my_ametro.gr> >> > >> >> > schreef in bericht >> > >> >> > news:OZ$rmmizEHA.1452@TK2MSFTNGP11.phx.gbl... >> > >> >> > > Sam, >> > >> >> > > >> > >> >> > > You should : >> > >> >> > > 1. share the directory where the exe resides on the Computer >> > >> >> > > A >> > >> >> > > 2. Map the shared directory of computer A to the B & C >> > >> >> > > computers >> > >> >> > > as >> > >> >> drive >> > >> >> > W: >> > >> >> > > (for example) >> > >> >> > > >> > >> >> > > Then the users of computers B & C may start the exe from >> > >> >> > > drive >> W: >> > >> >> > > >> > >> >> > > Demetrios, Greece >> > >> >> > > >> > >> >> > > "Sam Hung" <SamHung@discussions.microsoft.com> wrote in >> > >> >> > > message >> > >> >> > > news:DD37AA16-41C8-4541-A3E8-B9FBA0812695@microsoft.com... >> > >> >> > > > Hi All, >> > >> >> > > > >> > >> >> > > > This time I'm running on another trouble. >> > >> >> > > > Suppose that I have a system and compiled an .exe file in >> > >> >> > > > 'Computer >> > >> >> A'. >> > >> >> > > For >> > >> >> > > > now I want to use another two computers 'Computer B" and >> > >> >> > > > 'Computer >> > >> >> > > > C' >> > >> >> to >> > >> >> > > > access this computer through the local area network. What >> > >> >> > > > and >> > >> >> > > > how >> > >> >> should >> > >> >> > I >> > >> >> > > > suppose to set up in my current system, Like: Do I have to >> > >> >> > > > add >> > >> >> > > > some >> > >> >> > > special >> > >> >> > > > codes in "Main.prg" or other prg files? Or any other VFP >> > >> >> > > > files >> I >> > >> >> should >> > >> >> > > > place/install in other two client computers before getting >> > >> >> > > > in >> > >> >> > > > computer >> > >> >> > A? >> > >> >> > > > >> > >> >> > > > Please help, >> > >> >> > > > Many thanks, >> > >> >> > > > Sam. >> > >> >> > > >> > >> >> > > >> > >> >> > >> > >> >> > >> > >> >> >> > >> >> >> > >> >> >> > >> >> > >> >> > >> >> > >> > >> >> >>
- Next message: Demetrios Panayotakopoulos: "Re: FLL install directory"
- Previous message: Sam Hung: "Re: How to access a compiled exe file through the local network?"
- In reply to: Sam Hung: "Re: How to access a compiled exe file through the local network?"
- Next in thread: Mike McDowall: "Re: How to access a compiled exe file through the local network?"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|