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.

Long Filename

2 posts in Objects Last posting was on 2007-10-25 19:22:53.0Z
David Posted on 2007-10-24 17:00:46.0Z
Sender: 53ea.471f78a2.1804289383@sybase.com
From: David
Newsgroups: sybase.public.powerbuilder.objects
Subject: Long Filename
X-Mailer: WebNews to Mail Gateway v1.1t
Message-ID: <471f7a3d.5426.1681692777@sybase.com>
NNTP-Posting-Host: 10.22.241.41
X-Original-NNTP-Posting-Host: 10.22.241.41
Date: 24 Oct 2007 10:00:46 -0700
X-Trace: forums-1-dub 1193245246 10.22.241.41 (24 Oct 2007 10:00:46 -0700)
X-Original-Trace: 24 Oct 2007 10:00:46 -0700, 10.22.241.41
Lines: 11
Path: forums-1-dub!not-for-mail
Xref: forums-1-dub sybase.public.powerbuilder.objects:9527
Article PK: 736684

Hi All,
I'd let to get the long file name from an attached
file.
Currently I use this code to trap the name but it comes out
as a short name and this changes based the PC you're running
the app.
.///
file_name = msg.attachmentFile[ll_mail_attch_tot].FileName
//

Any suggestions?


Bruce Armstrong [TeamSybase] Posted on 2007-10-25 19:22:53.0Z
From: "Bruce Armstrong [TeamSybase]" <NOCANSPAM_bruce.armstrong@teamsybase.com>
Newsgroups: sybase.public.powerbuilder.objects
References: <471f7a3d.5426.1681692777@sybase.com>
Subject: Re: Long Filename
Lines: 16
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2900.3138
X-RFC2646: Format=Flowed; Original
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.3198
NNTP-Posting-Host: 12.198.167.34
X-Original-NNTP-Posting-Host: 12.198.167.34
Message-ID: <4720ed0d$2@forums-1-dub>
Date: 25 Oct 2007 12:22:53 -0700
X-Trace: forums-1-dub 1193340173 12.198.167.34 (25 Oct 2007 12:22:53 -0700)
X-Original-Trace: 25 Oct 2007 12:22:53 -0700, 12.198.167.34
X-Authenticated-User: TeamSybase
Path: forums-1-dub!not-for-mail
Xref: forums-1-dub sybase.public.powerbuilder.objects:9530
Article PK: 736685

Convert it to a long name using the Windows API functions?

<David> wrote in message news:471f7a3d.5426.1681692777@sybase.com...
> Hi All,
> I'd let to get the long file name from an attached
> file.
> Currently I use this code to trap the name but it comes out
> as a short name and this changes based the PC you're running
> the app.
> .///
> file_name = msg.attachmentFile[ll_mail_attch_tot].FileName
> //
>
> Any suggestions?