User Profile
Collapse
-
Which is best VBScript of JavaScript for this situation? -
Rabbit,
Thanks for you help ... end of the day today so I will start up in the morning.Leave a comment:
-
This is what I have and I am still getting this error "Automation server can't create object" Do I not have my Internet Explorer setting set properly for ActiveX? Or is there something I am missing?
...Code:var myObject = new ActiveXObject("Scripting.FileSystemObject"); if (myObject.FileExists("I:\\CrystalReports\\CurrentLaborByWO\\CurrentLaborByWO_ID.htm")) { slides[x] = new Array(time, "SlideLast edited by Dormilich; Jan 5 '11, 12:18 PM. Reason: please use [code] [/code] tags when posting codeLeave a comment:
-
I have tried what I think is everything. I keep getting an error "Automation server can't create object" any ideas what I need to do?Leave a comment:
-
Is this how I would use the code?
Code:var x = 1; var fso = new Scripting.FileSystemObject("Scripting.FileSystemObject"); var fh = fso.FileExists("I:\\CrystalReports\\CurrentLaborByWO\\CurrentLaborByWO_ID.htm", true); if(fh!=-1) { slides[x] = new Array(time, "Slide 1", "I:\\CrystalReports\\CurrentLaborByWO\\CurrentLaborByWO_ID.htm"); x=x+1; }Last edited by Dormilich; Jan 5 '11, 12:18 PM. Reason: please use [code] [/code] tags when posting codeLeave a comment:
-
Is that something I can put in my code that was provided on the first post. Can you help?Leave a comment:
-
How to use js to figure out if a file exists?
I am writing an HTML JavaScript app to dynamically update reports that have been generated by our report server. The reports are in HTML. The problem comes when there are empty pages. I get an error 404, which we all know that the page doesn't exist. I am trying to write the code to skip the pages that don't exist. Any help would be appreciated. This is all internal to our network, so Active X all the way open is ok.
PLEASE HELP!!!!!!!!!!...Last edited by Dormilich; Jan 4 '11, 06:44 PM. Reason: please use [code] [/code] tags when posting code
No activity results to display
Show More
Leave a comment: