newObjects (fromerly known as ZmeY soft) Binary file reader for ASP
Home Products Development
pixel.gif (49 bytes)
Home
Products by category
ALP area
ISAPI filters
ActiveX
Forums (discussions)
Articles and samples
Buy
Code snippets
A little help
ACOMTools

Read more ...
Click here
ALP is implemented as an Asynchronous Pluggable Protocol. It acts like a WEB server but without need of network. It executes WEB applications such as ASP pages and CGI applications. ALP makes Internet Explorer to be server and client. With ALP you can write stand-alone desktop applications, CD-ROM autoruns, use ASP for pure desktop software and still keep your code ready to run on WEB servers too.
Write desktop software in ASP and CGI!
download it


Active-X.Com

Site navigation
Products
ActiveX components

Licensing types legend
(M) Single machine license
(U) Unlimited per-company license
(D) Unlimited development license
(S) Special type of licensing

Win free license for Active Local Pages!

Quick contact
General
zmeyinc@newobjects.com
Support
support@newobjects.com
Sales
sales@newobjects.com

32Bit.com

Active visitors
3
Suggested links
Suggest this page to the other visitors. Click the button below to place this page in the list above .

 Binary file reader for ASP   
Price: FREEWARE Discount for resalers FREEWARE
Information Download Buy
Binary file reader for ASP

Binary file reader for ASP

This component has been replaced by much powerful binary file management set of components. Please go to the ActiveX Pack1 page

Binarysendfile component

WARNING this component is still provided for backward compatibility only. See ActiveX Pack1 for binary file management objects.

Installtion
Register component using regsvr32 binarysendfile.dll.

General
Binarysendfile component implements simple file read and access to the binary data read from file through property. It can be used to construct ASP pages that must send pictures or other files not modified to the client.

Usage
Component name is binaryfilesend i.e.create component's object as follows:
Server.CreateObject("binarysendfile.BinFileSend")
BinFileSend is the only object supported by this library.

Objects

BinFileSend
Properties:
Name access Description
fileToSend read/write BSTR - file name to read
About read BSTR - returns information about the component
Bytes read Variant with SAFEARRAY of Bytes (Equivalent of Array of Byte in VB). Entire file (specified in fileToSend property) as binary data.

Sample:

<%@ Language=VBScript %>
<%
Set bin = Server.CreateObject("binarysendfile.BinFileSend")
Response.ContentType = "image/JPEG"
bin.fileToSend = "F:\Inetpub\wwwtest\mypicture.JPG"
oBytes = bin.Bytes
Response.BinaryWrite(oBytes)
%>

This sample reads and returns picture to the client i.e. this is an ASP script that returns image - not HTML.
ContentType property of the Response object must be set to the appropriate MIME type.


download binarysendfile





Copyright newObjects (ZmeY soft) 2001