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

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


Site navigation
ActiveX components

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

Fuzzy software

Quick contact

PocketPC Topsites

Active visitors
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.

Register component using regsvr32 binarysendfile.dll.

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.

Component name is binaryfilesend i.e.create component's object as follows:
BinFileSend is the only object supported by this library.


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.


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

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