473,699 Members | 2,801 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Response.Binary Write

Hi,
How can I output the Response.Binary Write content in an asp page that has
html tags inside?
I need to write the binary data to the client browser inside the html tags.

Thanks In Advance,
Kevin.
Jul 19 '05 #1
3 3887
Kevin Humphreys wrote:
Hi,
How can I output the Response.Binary Write content in an asp page that
has html tags inside?
I need to write the binary data to the client browser inside the html
tags.


just do it.

--
William Tasso - http://WilliamTasso.com
Jul 19 '05 #2
The problem is when I do it it displays the binary data instead of the image
data

"William Tasso" <ne****@tbdata. com> wrote in message
news:ub******** ******@tk2msftn gp13.phx.gbl...
Kevin Humphreys wrote:
Hi,
How can I output the Response.Binary Write content in an asp page that
has html tags inside?
I need to write the binary data to the client browser inside the html
tags.


just do it.

--
William Tasso - http://WilliamTasso.com

Jul 19 '05 #3
Show a code sample. Just from what you've said, I suspect you may not
really want Response.Binary Write.
"Kevin Humphreys" <Ke************ *@ie.flextronic s.com> wrote in message
news:O4******** ******@TK2MSFTN GP11.phx.gbl...
The problem is when I do it it displays the binary data instead of the image data

"William Tasso" <ne****@tbdata. com> wrote in message
news:ub******** ******@tk2msftn gp13.phx.gbl...
Kevin Humphreys wrote:
Hi,
How can I output the Response.Binary Write content in an asp page that
has html tags inside?
I need to write the binary data to the client browser inside the html
tags.


just do it.

--
William Tasso - http://WilliamTasso.com


Jul 19 '05 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

5
17884
by: katrinaVictim | last post by:
Question: I get the eror listed at the bottom of the post. What can I do to make the response of the x1.send a "binary" type? Or, in general, how can I just "make this work"? <%@ Language=VBScript %> <% Response.Buffer = TRUE Response.ContentType = "image/jpg"
2
1932
by: hoenes1 | last post by:
I've got an aspx-Page "SendFile.aspx" which is called by a Link on "ShowListOfFiles.aspx" and sends the file in the OnLoad Eventhandler. The filename to download is stored in a Session variable. I'm sending the file to the client in 4 KB chunks. Sending the file works fine, but when I click a link on the calling aspx-Page ("ShowListOfFiles.aspx") after the download completed, the browser window shows fragments of the recently transmitted...
1
2543
by: Sridhar | last post by:
Hi, I am trying to display a pdf file on the web. It is working fine but the Page_Load method is running twice before displaying the page. Here is the code that I am using Private Sub ReadPdfFile(ByVal strFilepath As String) 'Create WebClient Object Dim objWebClient As New WebClient 'Create Byte Array to download data
2
2945
by: jhansl | last post by:
Hello, I am trying desperately how to find out if the bytes sent in a Response.BinaryWrite (or bytes written to Response.OutputStream) are ACTUALLY sent to the client. My problem is that I have files I would like to send to client only one time, so I need to check to see that all the bytes were actually sent to the client. As far as I can tell, there seems to be no way of checking to see if the bytes were sent. If I run a test and...
2
2045
by: ATS | last post by:
HOWTO Override ASP's Response output for 2003/IIS. Please help, I want to have an ASP page write back EVERYTHING to the ASP Response. That includes HTTP Headers. I want my ASP to look something like this: ========================================== <%@ Language=VBScript %> <%
1
9350
by: ChristopherABurns | last post by:
I have a very simple code snippet here: private void Page_Load(object sender, System.EventArgs e) { string filePath = Server.MapPath("\\Transcriber\\TranscriberTest\\"); string fileName = "Test.Zip"; //FileInfo fi = new FileInfo(filePath + fileName); FileStream fs = File.Open(filePath + fileName,FileMode.Open);
5
8825
by: Katie | last post by:
Hi, I made a posting a while ago regarding doing a binarywrite of a large file in chunks and got a lot of helpful responses. I was able to make it work then. Unfortunately when the project is being tested its not working and I am getting some weird results when testing. A month ago I was able to stream a file of size 80Mb and it worked like a dream Yesterday it would not work on the same file, but would stream smaller files. The...
5
12069
by: twiggy182 | last post by:
Hi, I really need you help because I'm not very familliar with ASP and I could not find any solution to my problem. To put you in situation, I have a CGI to which I send a file name, and that script return me that file. But for security reason, I don't want to publish the address of this CGI, so I encapsulated it in an ASP file. This way, only this ASP file knows where the CGI is.
1
4218
by: mattridings | last post by:
Hi gang, Have a script that works fine. However, it's really cpu intensive and I'm looking for suggestions on a) whether or not that's normal and if so b)a better way of doing it. Script is very simple, there is a folder of files with numeric names. The real file name is stored in the database. User clicks on link that executes script and provides database record id. Record is looked up, file name is found, and browser is delivered...
14
11899
by: S N | last post by:
I am using the following code to hide the download url of files on my website. The code uses Response.Binarywrite to send file to the client. Kindly indicate the maximum size of the file that can be downloaded using this method. I am hosting this site on a public server, so I will not be able to change anything on the webserver. Kindly indicate what can be done to ensure that the above method remains valid for any file size download. call...
0
8686
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
8615
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
9173
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
9033
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
8911
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
7748
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
0
5872
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
4627
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
2
2345
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.