Click here to Skip to main content
16,017,907 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
HI,



I am using VS.net 2010 on vista home premium. when i tred to create activex object in javascript it is showing the error "microsoft jscript runtime error: Automation server can't create object". I am giving the code snippet. Please go through and suggest me the solutions.


<script>

var fso = new ActiveXObject ('Scripting.SystemObject');

var fileobject = fso.OpenTextFile(Filename,1,true,0);

var line,i=0;

while((line=fileobject.ReadLine()) != null)

{

i++;

}


</script>
thanks&regards
Sivarjun
Posted

1 solution

Hi Siva,
try this might helps
Link 1[^]


if u r facing any problmes, then post here

Thanks
Ganesh
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900