Contributions
Re: How to silently handle msxml3.dll access is denied error
Hey, Thanks, I'll look into the try catch. Yeah, basically I wanted to catch the error as it happened and try to figure out exactly what's wrong with it. I think the issue might be that it's an https call, my program isn't fit to handle those, but I basically ripped the non working urls out and set them aside for now, my program is otherwise working fine, it's specifically a url issue, and only happens twice. Thanks for the reply, I'll tell you how things go.2.8KViews0likes0CommentsHow to silently handle msxml3.dll access is denied error
When trying to parse through a list of service calls, one of them is failing telling me access is denied, it kills my whole project, making me unable to see the rest of the services working. Any other errors in calls will toss me an error code and I handle it nicely, this one just keeps wrecking me, and I don't seem to know how to catch it before it explodes. If anyone helps me, I'll give them a cookie. code: if(isPost == false) { mixedURLS = mixedURLS + "?" + params; xhr.open("GET",mixedURLS,false); xhr.send(); //This is where it breaks } else { xhr.open("POST",mixedURLS,false); xhr.send(params); }6.9KViews0likes2Comments- 3.5KViews0likes0Comments
Re: Text Streams and Troubles
Also, I'm having trouble with replacing the slashes in the returned string. var changed = targetPath.replace("\", "//"); //won't work, IDE thinks it's commenting stuff out var changed = targetPath.replace("\", "/" + "/"); // doesn't work either any suggestions?3.5KViews0likes0CommentsRe: Text Streams and Troubles
So from what you guys are saying, and a bit of investigating, Project.Path returns a path without double slashes, but if I want to use aqFile to reference a location I need to use double slashes. So this means if I want to apply the project path return to my aqFile method, I need to parse the return, and build code to insert extra slashes into it, as well as define the relative parts of my path in a variable before applying it to my method? Seems wierd, I don't think I had a problem with using a relative path or single slashes before, but I'll try it out now!3.5KViews0likes0CommentsText Streams and Troubles
So, I'm currently making a program that checks a json returned from a web service against a local json, and if the local doesn't exist, than it should create it using the return. When I do this I want it to return the info inside this newly created json to the previous function. IE. return text; Basically: If (file doesn't exist) { var createObject = new ActiveXObject("Scripting.FileSystemObject"); var textDoc = createObject.CreateTextFile("./JSON/Returns/" + key + ".txt", 1); textDoc.close(); var reopenedTextDoc = OpenTextFile("./JSON/Returns/" + key + ".txt", 1); var text = reopenedTextDoc.ReadAll(); } it breaks on var reopenedTextDoc = OpenTextFile("./JSON/Returns/" + key + ".txt", 1); Error is : Object Expected I'm assuming that the issue is that it's not done creating the text file by the time it tries to open it, is there any way to say "if this file is done being created, open it"?Solved7.8KViews0likes9CommentsRe: Does anyone else suffer frequent usability issues with the hosted app?
Also, writing to a text doc, and hitting a breakpoint midway through results in the doc being open in limbo and never getting closed, the IDE returns a "permission denied" any time you try to run the script afterward, and you can't do a damn thing about it until you restart the IDE, today I learned that you just can't win some.11 years agoPlace Community Off-TopicCommunity Off-Topic3.7KViews0likes0CommentsRe: Does anyone else suffer frequent usability issues with the hosted app?
The IDE seems to have a few issues, but I've found them mostly in the way that things are defaulted, and the fact that the intellisense is pretty weak compared to IDE's I've worked with in the past(FDT, Visual Studio). I find I'm also struggling around not knowing what's going on with objects a lot of the time. There's the watch list, but you're lucky if that works. Sometimes just reading what's in an associative array can be a nightmare. Sometimes accessing what's in a return results in siezing up, and a total IDE shutdown with loss of work. Plus, not being able to write code while the IDE is running is a serious setback, I run the program, see what's in the object, copy what I need into a notepad document, kill the program, copy-paste, and hope it works a lot of the time. Not hating, just saying that these things are standard in a lot of IDE's these days, it's a shame they aren't in this one.11 years agoPlace Community Off-TopicCommunity Off-Topic3.7KViews0likes0Comments