The image created by Barcode AcitveX can be exported via calling ExportImage method. This method takes two parameters: the last one asks for the image type, and the first one can be a file path or a Stream object.
Saving the image to a physical file on the web server does the job. However, sometimes you may want to just use the memory as the transport. The ExportImage method accepts passing a Stream object as the argument. You can use any third party Stream components for this purpose, or just use the one from Microsoft - ADODB.Stream. The ADODB.Stream object is available on Windows 2000 SP4 and later versions, or you can have it available by installing MDAC version 2.5 or above.
After the image is stored in the Stream object,
you can have the ASP script send the image data to the
browser using Response.BinaryWrite method.