conceptdata
asked on
Vbscripts fails ... all my vbs files can't run
I have lots of vbs-files on my pc, and I can't suddenly not execute them.
I don't know what happened, but suddenly they failed.
See example code.
See uploaded file for error.
Anybody that can help me out here.
I have tried to install scripten.exe 5.7, but its tells med setup error, and something about too little menory......
I don't know what happened, but suddenly they failed.
See example code.
See uploaded file for error.
Anybody that can help me out here.
I have tried to install scripten.exe 5.7, but its tells med setup error, and something about too little menory......
Set fs=CreateObject("Scripting.FileSystemObject")
Set a = fs.CreateTextFile("com1:",True)
a.write "aaaaa"
a.Close
error.jpg
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Also try: regsvr32 wshom.ocx
ASKER
With the
-- regsvr32 scrrun.dll --
it now runs again, but now I get a "File could not be found"-error in line 2
But my other vbscripts works fine now.
THANKS Krys K
-- regsvr32 scrrun.dll --
it now runs again, but now I get a "File could not be found"-error in line 2
But my other vbscripts works fine now.
THANKS Krys K
Hi
Glad that worked for you and thanks for the grade and points.
Your other error is simply a case of the file you are looking for is not there or it's misspelt.
With regards
Krystian
Glad that worked for you and thanks for the grade and points.
Your other error is simply a case of the file you are looking for is not there or it's misspelt.
With regards
Krystian