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.

HELP: How to download a bmp file to local temp folder and display in report?

4 posts in Objects Last posting was on 2007-01-12 05:47:40.0Z
Vicky Posted on 2007-01-11 07:14:18.0Z
From: "Vicky" <vicky.yeung@gmail.com>
Newsgroups: sybase.public.powerbuilder.objects
Subject: HELP: How to download a bmp file to local temp folder and display in report?
Lines: 14
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: 61.14.148.199
X-Original-NNTP-Posting-Host: 61.14.148.199
Message-ID: <45a5f1da@forums-1-dub>
Date: 11 Jan 2007 00:14:18 -0700
X-Trace: forums-1-dub 1168503258 61.14.148.199 (11 Jan 2007 00:14:18 -0700)
X-Original-Trace: 11 Jan 2007 00:14:18 -0700, 61.14.148.199
Path: forums-1-dub!not-for-mail
Xref: forums-1-dub sybase.public.powerbuilder.objects:9178
Article PK: 736350

Hi all,

Does anyone know to download the file to users' temp folder and display the
picture in the report?
And how to handle the filename for the object's tag property, or what should
i put in the picture object's tag property ?

many thanks in advance:)

rgds,
vicky


Bruce Armstrong [TeamSybase] Posted on 2007-01-11 12:42:07.0Z
From: "Bruce Armstrong [TeamSybase]" <NOCANSPAM_bruce.armstrong@teamsybase.com>
Newsgroups: sybase.public.powerbuilder.objects
Subject: Re: HELP: How to download a bmp file to local temp folder and display in report?
Organization: TeamSybase
Reply-To: NOCANSPAM_bruce.armstrong@teamsybase.com
Message-ID: <fsecq2p1sdsj4u7oqokr2snqmmldcbic3h@4ax.com>
References: <45a5f1da@forums-1-dub>
X-Newsreader: Forte Agent 2.0/32.652
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
NNTP-Posting-Host: 68-190-226-38.static.lsan.ca.charter.com
X-Original-NNTP-Posting-Host: 68-190-226-38.static.lsan.ca.charter.com
Date: 11 Jan 2007 05:42:07 -0700
X-Trace: forums-1-dub 1168522927 68.190.226.38 (11 Jan 2007 05:42:07 -0700)
X-Original-Trace: 11 Jan 2007 05:42:07 -0700, 68-190-226-38.static.lsan.ca.charter.com
Lines: 27
X-Authenticated-User: TeamSybase
Path: forums-1-dub!not-for-mail
Xref: forums-1-dub sybase.public.powerbuilder.objects:9180
Article PK: 736349

Download from where?

If from the database you do a SELECTBLOB and then store out the blob
using the FileWriteEx function.

You get the users temp directory using a Windows API call.

You can assign the name of the file to the filename property of a
datawindow picture control.

On 11 Jan 2007 00:14:18 -0700, "Vicky" <vicky.yeung@gmail.com> wrote:

>Hi all,
>
>Does anyone know to download the file to users' temp folder and display the
>picture in the report?
>And how to handle the filename for the object's tag property, or what should
>i put in the picture object's tag property ?
>
>many thanks in advance:)
>
>rgds,
>vicky
>
>


Vicky Posted on 2007-01-12 01:12:10.0Z
From: "Vicky" <vicky.yeung@gmail.com>
Newsgroups: sybase.public.powerbuilder.objects
References: <45a5f1da@forums-1-dub> <fsecq2p1sdsj4u7oqokr2snqmmldcbic3h@4ax.com>
Subject: Re: HELP: How to download a bmp file to local temp folder and display in report?
Lines: 41
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: 61.14.148.199
X-Original-NNTP-Posting-Host: 61.14.148.199
Message-ID: <45a6ee7a$1@forums-1-dub>
Date: 11 Jan 2007 18:12:10 -0700
X-Trace: forums-1-dub 1168567930 61.14.148.199 (11 Jan 2007 18:12:10 -0700)
X-Original-Trace: 11 Jan 2007 18:12:10 -0700, 61.14.148.199
Path: forums-1-dub!not-for-mail
Xref: forums-1-dub sybase.public.powerbuilder.objects:9183
Article PK: 736358

Hi Bruce,

I would like to to download from server directory instead of database, does
it allow to do so?

thanks : )
vicky

"Bruce Armstrong [TeamSybase]" <NOCANSPAM_bruce.armstrong@teamsybase.com>

wrote in message news:fsecq2p1sdsj4u7oqokr2snqmmldcbic3h@4ax.com...
>
> Download from where?
>
> If from the database you do a SELECTBLOB and then store out the blob
> using the FileWriteEx function.
>
> You get the users temp directory using a Windows API call.
>
> You can assign the name of the file to the filename property of a
> datawindow picture control.
>
> On 11 Jan 2007 00:14:18 -0700, "Vicky" <vicky.yeung@gmail.com> wrote:
>
> >Hi all,
> >
> >Does anyone know to download the file to users' temp folder and display
the
> >picture in the report?
> >And how to handle the filename for the object's tag property, or what
should
> >i put in the picture object's tag property ?
> >
> >many thanks in advance:)
> >
> >rgds,
> >vicky
> >
> >
>


Bruce Armstrong [TeamSybase] Posted on 2007-01-12 05:47:40.0Z
From: "Bruce Armstrong [TeamSybase]" <NOCANSPAM_bruce.armstrong@teamsybase.com>
Newsgroups: sybase.public.powerbuilder.objects
Subject: Re: HELP: How to download a bmp file to local temp folder and display in report?
Organization: TeamSybase
Reply-To: NOCANSPAM_bruce.armstrong@teamsybase.com
Message-ID: <j0beq2tqn90pesnid7fl7fg420ktipnkbv@4ax.com>
References: <45a5f1da@forums-1-dub> <fsecq2p1sdsj4u7oqokr2snqmmldcbic3h@4ax.com> <45a6ee7a$1@forums-1-dub>
X-Newsreader: Forte Agent 2.0/32.652
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
NNTP-Posting-Host: 68-190-226-38.static.lsan.ca.charter.com
X-Original-NNTP-Posting-Host: 68-190-226-38.static.lsan.ca.charter.com
Date: 11 Jan 2007 22:47:40 -0700
X-Trace: forums-1-dub 1168584460 68.190.226.38 (11 Jan 2007 22:47:40 -0700)
X-Original-Trace: 11 Jan 2007 22:47:40 -0700, 68-190-226-38.static.lsan.ca.charter.com
Lines: 46
X-Authenticated-User: TeamSybase
Path: forums-1-dub!not-for-mail
Xref: forums-1-dub sybase.public.powerbuilder.objects:9185
Article PK: 736360

A network server, an FTP server, an HTTP server, or something else?

On 11 Jan 2007 18:12:10 -0700, "Vicky" <vicky.yeung@gmail.com> wrote:

>Hi Bruce,
>
>I would like to to download from server directory instead of database, does
>it allow to do so?
>
>thanks : )
>vicky
>
>"Bruce Armstrong [TeamSybase]" <NOCANSPAM_bruce.armstrong@teamsybase.com>
>wrote in message news:fsecq2p1sdsj4u7oqokr2snqmmldcbic3h@4ax.com...
>>
>> Download from where?
>>
>> If from the database you do a SELECTBLOB and then store out the blob
>> using the FileWriteEx function.
>>
>> You get the users temp directory using a Windows API call.
>>
>> You can assign the name of the file to the filename property of a
>> datawindow picture control.
>>
>> On 11 Jan 2007 00:14:18 -0700, "Vicky" <vicky.yeung@gmail.com> wrote:
>>
>> >Hi all,
>> >
>> >Does anyone know to download the file to users' temp folder and display
>the
>> >picture in the report?
>> >And how to handle the filename for the object's tag property, or what
>should
>> >i put in the picture object's tag property ?
>> >
>> >many thanks in advance:)
>> >
>> >rgds,
>> >vicky
>> >
>> >
>>
>