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 danielledunham on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

An Application starter (with auto copy from server into local station).

Status
Not open for further replies.

alisaif

ISP
Joined
Apr 6, 2013
Messages
418
Location
AE
Hi,

Please refer to the subject. I generated "GsStart.exe" as per the thread faq184-4492. My app name is Packg.exe, but when I compile it is showing Files access is denied.

Please suggest.

Thanks

Saif
 
Possibly because one of the compoenents is open somewhere else. Or because one of the files is read-only. Or serveral other possibilities.

It would help to know which file the message is referring to, and at which point in the process the message appears.

Mike

__________________________________
Mike Lewis (Edinburgh, Scotland)

Visual FoxPro articles, tips and downloads
 
Thanks for the reply! I checked in Task Manager. It is always GsStart.exe and not Packg.exe.

Please reply

Saif
 
You can't build a project into a new EXE, if that EXE is still started.

Bye, Olaf.
 
Besides an application starter with autocopy from server to local can be as simple as

Code:
Robocopy.exe \\networkshare\appupdates\yourapp\*.* c:\yourapps\yourapp\ /MIR /SEC /SECFIX >NUL
c:
cd \yourapps\yourapp
start /b yourapp.exe
Stored as a cmd file the users start instead of starting yourapp.exe

Bye, Olaf.
 
Thanks I will try that!

Saif
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top