Hi Billy,
As for web page and javascript, it is not allowed to access client
computer's file system. Actually, both IE7 and firefox restrict local image
file viewing. So far based on my research, some workarounds availables are:
1. Upload image to server-side so that we can use script to
programmtically display an html <img> via a server-side url
2. Integrate the image displaying functionality into the ActiveX control.
That means use ActiveX control to load local file image and display it.
Maybe you can add another ActiveX control on the page to do the work.
BTW, I found that silverlight 2 seems support local image loading.
#Loading Images from the Local File System in Silverlight 2.0
http://www.wintellect.com/cs/blogs/jprosise/archive/2008/03/15/loading-image
s-from-the-local-file-system-in-silverlight-2-0.aspx
Sincerely,
Steven Cheng
Microsoft MSDN Online Support Lead
Delighting our customers is our #1 priority. We welcome your comments and
suggestions about how we
can improve the support we provide to you. Please feel free to let my
manager know what you think of
the level of service provided. You can send feedback directly to my manager
at: (e-mail address removed).
==================================================
Get notification to my posts through email? Please refer to
http://msdn.microsoft.com/en-us/subscriptions/aa948868.aspx#notifications.
==================================================
This posting is provided "AS IS" with no warranties, and confers no rights.
--------------------