Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
PB9 - PB10.5 Function not work
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  3 messages - Collapse all  -  Translate all to Translated (View all originals)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
Paolo I-SAVO  
View profile  
 More options Dec 14 2006, 2:26 am
Newsgroups: comp.soft-sys.powerbuilder
From: "Paolo I-SAVO" <NOS...@NOSPAM.it>
Date: Thu, 14 Dec 2006 08:26:58 +0100
Local: Thurs, Dec 14 2006 2:26 am
Subject: PB9 - PB10.5 Function not work
Good morning to all

in PB9 I used a function declared like external function in order to open a
PDF file into my application.
The function is:

FUNCTION long ShellExecuteA( ulong hWnd, string Operation, string lpFile,
string  lpParameters, string lpDirectory, int nShowCmd ) LIBRARY
"shell32.dll"

and I call it with the follow line

ShellExecuteA( 0 , "open", ls_FileName , ls_null, ls_null, 1 )

With PB9 the function work very well. In PB 10.5 it doesn't work. When I
press the button nothing to do.

Why?

Thanks a lot in advance


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
dha...@hotmail.com  
View profile  
 More options Jan 16 2007, 2:03 pm
Newsgroups: comp.soft-sys.powerbuilder
From: dha...@hotmail.com
Date: 16 Jan 2007 11:03:27 -0800
Local: Tues, Jan 16 2007 2:03 pm
Subject: Re: PB9 - PB10.5 Function not work
Powerbuilder 10.5 uses Unicode instead of ASCII. Change your function
to ShellExecuteW. This should fix your problem.

On Dec 14 2006, 2:26 am, "Paolo I-SAVO" <NOS...@NOSPAM.it> wrote:


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Paolo I-SAVO  
View profile  
 More options Jan 23 2007, 5:44 am
Newsgroups: comp.soft-sys.powerbuilder
From: "Paolo I-SAVO" <NOS...@NOSPAM.it>
Date: Tue, 23 Jan 2007 11:44:41 +0100
Local: Tues, Jan 23 2007 5:44 am
Subject: Re: PB9 - PB10.5 Function not work
Problem resolved.....
thank you very very much

<dha...@hotmail.com> ha scritto nel messaggio
news:1168974206.072098.9490@11g2000cwr.googlegroups.com...


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »