Skip to Content
author's profile photo Former Member
Former Member

Calling shellexecute from a clicked dw event in powerbuilder 12.6

I'm trying to open an abode file, that's stored on my database in the adobe viewer

when the user clicks on a list of the files

it will pull down the data, and store into an adobe file.

then.... with that filename, it will call shellexecute

the file opens up properly

but... it seems to drive the cursor on the datawindow crazy

it appears to be highlight every row that it touches

Am I doing something wrong? do I need to set the cursor to hourglass?

or... do I need to somehow wait on the Adobe reader operation to end

before letter powerbuilder take back over

I've used the run and wait operation before

should I use that, instead of the shellexecute

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

1 Answer

  • Best Answer
    author's profile photo Former Member
    Former Member
    Posted on Jul 18, 2016 at 01:29 PM

    Hi Scot;

    For the ShellExecute ( ) API - are you suing the Unicode version ... either: ShellExecuteW() or ShellExecuteExW () ?

    Regards ... Chris

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.