Wednesday, July 07, 2004 2:17 PM
To: [EMAIL PROTECTED]
Subject: Re: [ADVANCED-DOTNET] ASP.NET BinaryWrite
"At the return the byte count is 129154 bytes. After the call br is
127376 bytes."
I interpret this as fnBuildImageFile() returns a stream of length 129154
and the BinaryReader
("Content-Disposition", "inline;filename=image.tiff")
>Response.BinaryWrite(br)
>Response.Flush()
>Response.End()
>
>-Original Message-
>From: Chad M. Gross [mailto:[EMAIL PROTECTED]
>Sent: Wednesday, July 07, 2004 10:44 AM
>To: [EMAIL PROTECTED]
A little more info. The return is a Open/Save dialog. If saved the file is 125k but
it opens in the MS Fax viewer and is blank. The same when you click Open.
===
This list is hosted by DevelopMentorĀ® http://www.develop.com
Some .NET courses you may be inter
age.tiff")
Response.BinaryWrite(br)
Response.Flush()
Response.End()
-Original Message-
From: Chad M. Gross [mailto:[EMAIL PROTECTED]
Sent: Wednesday, July 07, 2004 10:44 AM
To: [EMAIL PROTECTED]
Subject: Re: [ADVANCED-DOTNET] ASP.NET BinaryWrite
If everyting is working for you corre
bytes and they are in the array.
>
>Thanks
>
>Eddie
>
>-Original Message-
>From: Chad M. Gross [mailto:[EMAIL PROTECTED]
>Sent: Wednesday, July 07, 2004 10:19 AM
>To: [EMAIL PROTECTED]
>Subject: Re: [ADVANCED-DOTNET] ASP.NET BinaryWrite
>
>
>You nee
e response
stream itself is happy and healthy.
--
Ivan Towlson
White Carbon
-Original Message-
From: Unmoderated discussion of advanced .NET topics.
[mailto:[EMAIL PROTECTED] Behalf Of Eddie Jackson
Sent: 07 July 2004 15:14
To: [EMAIL PROTECTED]
Subject: Re: [ADVANCED-DOTNET] ASP.NET BinaryWrit
Try
Response.Clear()
Response.AddHeader("Content-Length",br.Length)
Response.Flush()
Response.End()
Hth
Davy J
On Wed, 7 Jul 2004 11:40:10 -0400, Eddie Jackson <[EMAIL PROTECTED]> wrote:
> I caught that it was only in the email Still does not work. The Fax Viewer
> pops up and
]
Sent: Wednesday, July 07, 2004 10:19 AM
To: [EMAIL PROTECTED]
Subject: Re: [ADVANCED-DOTNET] ASP.NET BinaryWrite
You need a semi-colon between attachment and filename in the Content-
Disposition header, "attachment;filename=image.tiff".
On Wed, 7 Jul 2004 11:14:23 -0400, Eddie Jacks
nse.AddHeader("Content-Disposition", "attachmentfilename=image.tiff")
>Response.BinaryWrite(br)
>Response.End()
>
>-Original Message-
>From: Stephen Dunn [mailto:[EMAIL PROTECTED]
>Sent: Wednesday, July 07, 2004 8:59 AM
>To: [EMAIL PROTECTED]
>Subject: Re: [ADVANCE
ot;)
Should be changed to:
Response.AddHeader("Content-Disposition", "attachment;
filename=image.tiff")
-Original Message-
From: Unmoderated discussion of advanced .NET topics.
[mailto:[EMAIL PROTECTED] On Behalf Of Eddie Jackson
Sent: 07 July 2004 14:46
To: [EMAIL PROTEC
t;Content-Disposition", "attachment;
filename=image.tiff")
-Original Message-
From: Unmoderated discussion of advanced .NET topics.
[mailto:[EMAIL PROTECTED] On Behalf Of Eddie Jackson
Sent: 07 July 2004 14:46
To: [EMAIL PROTECTED]
Subject: [ADVANCED-DOTNET] ASP.NET BinaryWrite
cussion of advanced .NET topics.
> [mailto:[EMAIL PROTECTED] On Behalf Of
> Eddie Jackson
> Sent: Mittwoch, 7. Juli 2004 15:46
> To: [EMAIL PROTECTED]
> Subject: [ADVANCED-DOTNET] ASP.NET BinaryWrite
>
> I am trying to use Response.BinaryWrite to open a new window
> with a t
I am trying to use Response.BinaryWrite to open a new window with a tif file. A
multipage tif is built on the fly with a memoryfile and is in a byte Array. I have
tried various itterations of the code below. It has opened the image/fax viewer but
there is no content. I know the byte array is
13 matches
Mail list logo