Microsoft's Visual Basic Scripting runtime. Use this tag for reviews of code written in vbScript.

learn more… | top users | synonyms

5
votes
2answers
64 views

Extracting information and returning specific data

The purpose of this code is to return an address for one of the seven judicial circuits for the cases that is passed into the function. I am taking a Node ID, which is a 3-digit number the circuit ...
2
votes
2answers
74 views

pulling specific data from XML from inside 3rd party application

this is another script that is used as a token to extract information from a 3rd party application, the application does other things in the background that I don't specifically know about. this ...
1
vote
1answer
106 views

Script to grab information from XML inside of Word inside of third party application

This was a revision, made when the code failed after an update (at least that is what I think happened). So I fixed it and now it works, but I think that this code can be written better and more ...
5
votes
1answer
384 views

My VBS Word macro is really slow, looking for advice!

So, I have a 100page long docx format document. I'm using a macro written in VBS to extract some information and then just generate a table from them. I iterate through the paragraphs and store the ...
4
votes
1answer
62 views

VBScript for AD account creation

Does the following code look okay? Want to see if anyone can spot any mistakes I may have made. This will be pulling from a pre-formatted Excel document - I have already specified all needed Cell ...
4
votes
2answers
125 views

How to tell the NPC what hand it has?

Posted my question here. Here is the full code: ...
3
votes
1answer
48 views

Power utility for starting processes

I was looking for a way to start elevated (i.e. administrator permissions) and/or invisible processes via batch in Windows. It turns out that this is kind of impossible with batch only, so I googled ...
6
votes
2answers
441 views

VbScript/ASP Classic good OOP Pattern

I have to create a website in Classic ASP, and I really want to do a clean design so I will try to put everything in Classes and Models to emulate the ViewModel Pattern. So can you tell me if this ...
7
votes
2answers
605 views

Check if an XML file exists then change URLs in it

This is my first VBScript I have ever written and I would like to know if there is any obvious blunders in the code. All the code should do is check if file exists then change the Yahoo URL to the ...
6
votes
2answers
598 views

Is there a more efficient way to do Base 32 encoding/decoding than this?

This journey started with a quest to create the shortest possible case-insensitive verification number. Based on the answers there, I worked out a Classic ASP/VBScript implementation of Crockford's ...
3
votes
3answers
274 views

Trying to speed up a report that takes freaking forever

I'll try to keep this as short as I can without losing context - we have a system for online education, where presentations often have a test. Management has access to a report used for measuring ...