Sybase NNTP forums - End Of Life (EOL)

The NNTP forums from Sybase - forums.sybase.com - are now closed.

All new questions should be directed to the appropriate forum at the SAP Community Network (SCN).

Individual products have links to the respective forums on SCN, or you can go to SCN and search for your product in the search box (upper right corner) to find your specific developer center.

GetOpenFileName PB function Not Supported in Appeon

2 posts in Appeon (partner product) Last posting was on 2004-10-25 13:56:17.0Z
Nestor Posted on 2004-10-24 10:32:24.0Z
From: "Nestor" <nesfree@hotmail.com>
Newsgroups: sybase.public.appeon
Subject: GetOpenFileName PB function Not Supported in Appeon
Lines: 9
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2800.1437
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1441
NNTP-Posting-Host: bzq-25-65-66.cust.bezeqint.net
X-Original-NNTP-Posting-Host: bzq-25-65-66.cust.bezeqint.net
Message-ID: <417b84b8$1@forums-1-dub>
Date: 24 Oct 2004 03:32:24 -0700
X-Trace: forums-1-dub 1098613944 212.25.65.66 (24 Oct 2004 03:32:24 -0700)
X-Original-Trace: 24 Oct 2004 03:32:24 -0700, bzq-25-65-66.cust.bezeqint.net
Path: forums-1-dub!not-for-mail
Xref: forums-1-dub sybase.public.appeon:528
Article PK: 20784

My PB code requires to open a file from the clients machine
Can this code be supported in Appeon ??

li_rc = GetFileOpenName("Select Saved Report File",
ls_path,ls_file,"psr","Report File (*.PSR),*.PSR")

Thanks


Julie Jiang Posted on 2004-10-25 13:56:17.0Z
From: "Julie Jiang" <julie.jiang@appeon.net>
Newsgroups: sybase.public.appeon
Organization: 61.141.184.66
References: <417b84b8$1@forums-1-dub>
X-Newsreader: AspNNTP 1.50 (Takeshi Eto)
Subject: Re: GetOpenFileName PB function Not Supported in Appeon
Mime-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
NNTP-Posting-Host: web110.discountasp.net
X-Original-NNTP-Posting-Host: web110.discountasp.net
Message-ID: <417d0601$1@forums-1-dub>
Date: 25 Oct 2004 06:56:17 -0700
X-Trace: forums-1-dub 1098712577 64.79.161.40 (25 Oct 2004 06:56:17 -0700)
X-Original-Trace: 25 Oct 2004 06:56:17 -0700, web110.discountasp.net
Lines: 27
Path: forums-1-dub!not-for-mail
Xref: forums-1-dub sybase.public.appeon:529
Article PK: 12587

Hi Nestor,

It is true that the function GetFileOpenName is not directly supported in
Appeon, but it can be worked around in Appeon 2.8. The workaround is to call a
Windows API function with similar functionality instead.

You can consider to take one of the three functions below:
User32.GetActiveWindow
KERNEL32.GetCurrentDirectoryA
Comdlg32.GetOpenFileNameA

Regards,
Julie


On 24 Oct 2004 03:32:24 -0700,
in sybase.public.appeon

Nestor <nesfree@hotmail.com> wrote:
>My PB code requires to open a file from the clients machine
>Can this code be supported in Appeon ??
>
>li_rc = GetFileOpenName("Select Saved Report File",
>ls_path,ls_file,"psr","Report File (*.PSR),*.PSR")
>
>Thanks
>
>