Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

How Can ActiveX Read A Local File

Status
Not open for further replies.

MJI111

MIS
Jul 9, 2005
11
NG
I have a project to read a file from the local drive of a client when he/she accesses my website and clicks on a button. How can an activex component do this. The activeX component will read the file on the client's machines and stream or upload the file to my server. How can i achieve this pls.
 
first of all be warned that this will not work on any browser. that is because of security issues. but IE allows creation of ActiveX controls (it will ask for permission everytime the control is created).

u have to use Javascript to do this. do a search on ActiveXObject() and XMLHTTP(this is to send the data to the server)...

Known is handfull, Unknown is worldfull
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top