Forum Discussion

jayakotib4u's avatar
jayakotib4u
Occasional Contributor
9 years ago

test complete script that runs the wpf executable filec

please help me in opening or running an WPF executable file.

 

I tried below script:

 sPath = "C:\TestPath\MyApp.exe"

 

Set oObj = CreateObject("WScript.Shell")

oObj.Run sPath

 

(or)

oObj.Execute sPath.

 

Both Run and Execute method were unsuccessful to open the WPF executable.

Kindly suggest me in this regards.

 

Thanks and Regards,

Jayakoti