Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Calling a program in program files folder
Message
From
24/01/2013 09:27:26
Dragan Nedeljkovich (Online)
Now officially retired
Zrenjanin, Serbia
 
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Environment versions
Visual FoxPro:
VFP 9 SP2
OS:
Windows Server 2008
Network:
Windows 2008 Server
Database:
Visual FoxPro
Application:
Desktop
Miscellaneous
Thread ID:
01563955
Message ID:
01563960
Views:
66
>Hi all,
>
>I have a customer who wants to call a scanning program automatically. Should be no problem so I've put the location of the exe file into a memo filed and call it with the Run command, nothing happens. If I call other programs on a mapped drive they start fine, if I call other programs in the c:\test1 folder they start fine. The program location I am trying to call is
>c:\program files\hp\hp laserjet mfp 400abc\bin\scan.exe
>When I click on my button to run this exe the dos box pops up very briefly and disappears but the scan.exe program does not start. From a security point of view I have added everyone with full control to the hp laser... folder and also ensures that those right are similar in the bin folder. I have opened a dos box and typed in the location and file as one command and it started so I'm baffled on this one.

Spaces in the path... did you include quotation marks around the filename?

back to same old

the first online autobiography, unfinished by design
What, me reckless? I'm full of recks!
Balkans, eh? Count them.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform