What version of IE are we talking here: IE6, IE7, IE8, IE9
Is there an error message?
Do you have ActiveX enabled since this is a security risk accessing the file system?
Hey satheesh,
I tried your code and it did not run in firefox in the begining, later i tried it in internet explorer which asked me to allow the Active X controller to run...
once i allowed the activeX controller in IE and then selected a file i got some output of 13 bytes...
i try to enable the activex control for the following steps
Open Internet Explorer
Select Tools
Select Internet Options. Internet Options window should open up.
Select Security tab.
Select "Custom Level" button. The Security Settings window should open up.
Find the "Download signed ActiveX controls" from the list that appears and select "Prompt" radio button.
Find the "Run ActiveX controls and plugins" in the list and select "Enable" radio button.
Click on OK button twice to save changes
Close Internet Explorer and open it again.
but it not working i click the size button, in status bar of IE shows error on page
i am getting the error automation server can't create object
Try to experiment with other options in the security tab....
Mostly this error would be due to "Initializing and Script Activex controls not marked as safe"-----