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 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
Joined: Dec 07, 2010
try to use some other upgraded IE like IE6,IE7 etc...
which IE are you using....?