1. Mark Lundell
  2. PowerBuilder
  3. Tuesday, 11 August 2020 13:33 PM UTC

Here is a strange one.  I have a PB 2017 R3 desktop app which fails when trying to launch it with a double click from Explorer.  However when I launch it from a command prompt it works correctly.  This was not always the case with this App, so obviously our desktop support team pushed down an update and changed something.  I have tried several things to identify the issue, like playing with the path statement, and copying the runtimes into the executable directory.    I have logged the path statement, and see nothing wrong with it.  A coworker reported today that he has the same issue.

What is different between command line startup, and explorer?

 

Miguel Leeuwe Accepted Answer Pending Moderation
  1. Wednesday, 12 August 2020 08:42 AM UTC
  2. PowerBuilder
  3. # 1

Hi Mark,

Did you check if there's anything in the windows event viewer?

Comment
There are no comments made yet.
Chris Pollach @Appeon Accepted Answer Pending Moderation
  1. Wednesday, 12 August 2020 12:28 PM UTC
  2. PowerBuilder
  3. # 2

Hi Mark;

   Have you tried checking the Windows "compatibility" mode on the EXE?

Regards ... Chris

Comment
There are no comments made yet.
Brad Mettee Accepted Answer Pending Moderation
  1. Wednesday, 12 August 2020 14:53 PM UTC
  2. PowerBuilder
  3. # 3

What's the startup directory on the shortcut? Make sure it's defaulted to the same location as the EXE file. Problems can occur when the Current Working Directory differs from the EXE location during startup.

Comment
There are no comments made yet.
Olan Knight Accepted Answer Pending Moderation
  1. Thursday, 13 August 2020 16:34 PM UTC
  2. PowerBuilder
  3. # 4

It sounds like the icon onto which you doucble-click is a shortcut on the desktop, and the shortcut is messed up.

Delete that shortcut and create a new one for the EXE.
Then try the doucble-click on it again.


Good Luck,

Olan

Comment
There are no comments made yet.
  • Page :
  • 1


There are no replies made for this question yet.
However, you are not allowed to reply to this question.