This App is No Longer Maintained. Visit the Replacement at StrokesPlus.net

StrokesPlus Forum
                       
StrokesPlus Forum
Home | Profile | Active Topics
Members | Search | FAQ
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 Bug and Issues
 New Bugs
 acRunProgram starts ".exe" but NOT ".jar" files
 Forum Locked
 Printer Friendly
Author Previous Topic Topic Next Topic  

konfuzius

2 Posts

Posted - 02/04/2015 :  15:46:08  Show Profile
acRunProgram starts ".exe" but NOT ".jar" files

  • start perfectly:
    acRunProgram("\\Backup\\!Apps\\LiberKey\\MyApps\\Internet\\TV\\Mediathek\\MediathekView.exe")

  • can't start
    acRunProgram("\\Backup\\!Apps\\LiberKey\\MyApps\\Internet\\TV\\Mediathek\\MediathekView.jar")

JAR-Files're associated with "jPortable Launcher (64-bit)", so it can be started via windows explorer using Java located in "PortableApps\CommonFiles" ... and it does. But not with SP via mouse gesture. Another EXE-files start fine with SP. Same with jDownloader: EXE - yes, JAR - nope.



Rob

USA
2615 Posts

Posted - 02/04/2015 :  15:48:08  Show Profile  Visit Rob's Homepage
Try acShellExecute instead, that is the equivalent of double-clicking a file. acRunProgram will only run actual executable files.
Go to Top of Page

konfuzius

2 Posts

Posted - 02/05/2015 :  03:18:50  Show Profile
Thank you, Rob.

1. Another issue with same gravity. Can I use relative paths e.g. "..\..\..\name.exe" instead of that absolute paths.
2. MediathekView.jar c:\temp -M, so even for second path parameter I need to use absolute path. Again, how's the right syntax.
Go to Top of Page
  Previous Topic Topic Next Topic  
 Forum Locked
 Printer Friendly
Jump To:
StrokesPlus Forum © 2011-2018 Rob Yapchanyk Go To Top Of Page
Snitz Forums 2000