Thanks, this app runs in a controlled environment, and I already have a .NET
assembly embedded in the page to capture the image from the client's video
camera.
I am currently looking at several possibilities, but it looks like I may
have add a web service to my server, and the client-side assembly could then
send the image to the server using the web service.
I access the functions of the client-side component using a JavaScript
function. Perhaps if I could convert my JavaScript function to C#, then a
component function could return a System.Drawing.Image or a byte[]. I don't
know how I would get either type to the server, but I haven't succeeded in
converting my JavaScript function to C# anyway.
Jim
"Steve C. Orr [MVP, MCSD]" <St***@Orr.net> wrote in message
news:ub**************@TK2MSFTNGP11.phx.gbl...
Would you want web sites to be able to transparently upload files from your
hard drive?
Neither would I.
That's why it's not permitted.
If you really need to do this, you'll need to get the user's permission by
having them accept the use of a thick-client component such as an ActiveX
control or a windows forms control.
--
I hope this helps,
Steve C. Orr, MCSD, MVP
http://Steve.Orr.net
Hire top-notch developers at
http://www.able-consulting.com
"Jim Hammond" <jh******@postalinnovations.com> wrote in message
news:u7**************@TK2MSFTNGP10.phx.gbl...
Is there any way to transparently get an image file from the client
machine to the server? I already have a way to transparently generate the file and
query for the file name (all done on the client side), but there doesn't
seem to be any way to send it to the server after that. For files that are
just text, I am able to write their contents to a hidden field, but I
can't do that with an image.
Thanks,
Jim