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

system primitive failed

Status
Not open for further replies.

philfer

Technical User
Jan 18, 2008
11
0
0
I am trying to launch an app using the Shell method. However I get an area which says "System Primitive Failed"



When I go to the apps .exe file and click it it wont launch. However the icon on my desktop leads me to a "Windows NT Command Shell" which when I double click launches the app.



The command shell reads :-



SET ___COMPAT_LAYER = 256Color

START ...\Program\Phil.exe





How do I incorporate this into the Shell and SendKeys methods to launch and manipulate the app.



(By the way before anyone mentions it - the app is old and rubbish and I dont have access to any object model info!)
 
Why not launching the shell script instead of directly the app ?

Hope This Helps, PH.
FAQ219-2884
FAQ181-2886
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top