Re: How to access a compiled exe file through the local network?

Tech Tip: Click here to run a free scan for Windows Errors and optimize PC performance

From: Fred Taylor (ftaylor_at_mvps.org!REMOVE)
Date: 12/02/04


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.
>> > >> >> > >
>> > >> >> > >
>> > >> >> >
>> > >> >> >
>> > >> >>
>> > >> >>
>> > >> >>
>> > >>
>> > >>
>> > >>
>> >
>> >
>>
>>
>> 


Relevant Pages

  • Re: "To begin click yr user name"
    ... Sam wrote: ... And even for those home users who are husband and wife ... > network can connect to their machine?! ... whether Windows is password-protected or not is moot. ...
    (microsoft.public.windowsxp.general)
  • Re: How to access a compiled exe file through the local network?
    ... "Sam Hung" wrote in message ... > I didn't exactly remember what the error message is, ... > "Demetrios Panayotakopoulos" wrote: ... >>>> Demetrios, Greece ...
    (microsoft.public.fox.programmer.exchange)
  • Re: How do we make Macs talk to AD?
    ... We want Macs to join our AD domain, ... > accounts and passwords and mount to our network drives. ... Hello Sam, ... into Active Directory. ...
    (microsoft.public.windows.server.active_directory)
  • Re: FreeBSD vs Linux
    ... > sam wrote: ... vmware (with 2/3 virtual ethernet device names), ... the entire network access to the Redhat becomes very fluctuated. ... What I meant of "fluctation" is that the network to the ...
    (comp.unix.bsd.freebsd.misc)
  • Re: How to access a compiled exe file through the local network?
    ... > Regards. ... > Demetrios, Greece ... >> Microsoft Visual FoxPro MVP ...
    (microsoft.public.fox.programmer.exchange)