i have an ActiveX which lets the scanner scan an image and saves it in a specified location in the client machine.

Now i want to upload this image.

I don't want to use the file upload control, 'cozi already know the location and the name of the image to be uploaded so i don't need to browse it.

I read somewhere that this fileupload control is converting the image into bytestreams, so i even wrote an applet which generated the

bytestream of the image saved localy. but again got stuck here, how can this bytestream made available in the code behind?

we cannot assign bytes to textbox. i even tried to convert the bytestream to string and assigned to a textbox from the applet

but later when i tried to reproduce the same bytestream, it failed.

pls share your knowledge on this.

Thanks in advance.