Skip to main content

Questions tagged [vbscript]

VBScript is Microsoft's Visual Basic Scripting runtime.

5 votes
1 answer
506 views

Note: I moved this from Stack Overflow to Code Review by suggestion of Tacoshy who added: "Instead of using an onclick attribute, why not simply use a single function with either a switch ...
bdwilcox's user avatar
5 votes
1 answer
152 views

I have a business use case that required running SQL insert queries to a local MSAccess database with a Python script. The actual script does many other things and the SQL function is just one of them,...
spaghetticode's user avatar
6 votes
3 answers
194 views

below vbscript code took me 3hours just to complete trimming whitespaces of a 24MB file any tips to speed up the process below? ...
Tedi Carandang's user avatar
4 votes
0 answers
169 views

Sometimes some tasks can be taken a lot of time to end up. This code is created in order to play a random radio music in background while the script is running another task until to finish up and the ...
Hackoo's user avatar
  • 216
5 votes
0 answers
1k views

Multithreaded Excel + VBScript Timer After reviewing these post: Snake in Excel in… VBA? and Drawing a snake using arrow keys in Excel using VBA, I decided to work on creating a VBA Timer. The ...
user avatar
2 votes
0 answers
39 views

Context My company uses a system that has access to the state of different items in the plant. This software can be customized, by executing a single VBScript function, at a given interval. The ...
Maxime's user avatar
  • 351
4 votes
2 answers
366 views

below is the code that i created as a POC towards an implementation for 2 excel file comparison (cell by cell) This was just to test the logic, which works as expected, however i found out that for ...
Pranav's user avatar
  • 151
4 votes
0 answers
524 views

I have put together this function which compares two XMLs. On debugging, I found out that there are lot of useless loops which might cause performance problems for me if the files to compare are very ...
Pankaj Jaju's user avatar
7 votes
0 answers
136 views

I have put together a small VBScript to gather a bunch of information and email at scheduled intervals, so that one day, should it happen, and my computers are stolen, I may be able to provide ...
Denis Farrell's user avatar
2 votes
1 answer
1k views

I'm trying to get authentication with AD and to do this I've already made this code. Can anyone provide me if it's correct or not to do this or if I have a better solution. ...
Franco Papalardo's user avatar
7 votes
1 answer
1k views

I'm trying to write a function that returns the number of bits set in a 32-bit integer in VBScript, it's just for practising the language. The function I've written so far looks okay, but I'm ...
Wolf's user avatar
  • 375
4 votes
2 answers
2k views

I have 2 Excel files: the first is the source file "Practice_New.xlsx" and the second is a mapping file "A_File.xlsx". A_File is a mapping file which contains cell reference of the source file ("...
Rezaul Hasan's user avatar
5 votes
0 answers
149 views

(Originally posted on Stack Overflow) I need to run through a number of bespoke files (I'm unsure if they are unicode / ascii or binary so have attached a snapshot through notepad++). I'd like to ...
Rodp's user avatar
  • 51
6 votes
1 answer
4k views

I am working on a project on VBA where the objective is to have a "program" that fetches rates from a website called X-Rates, and outputs to excel the monthly averages of a chosen country. Initially ...
svacx's user avatar
  • 433
4 votes
1 answer
170 views

I wish to make a file to click on to do the 'usual' tasks I would do to clean/perform maintenance on my mother's computer when I'm not present. I made a script file and took a few command lines from ...
Mike's user avatar
  • 41

15 30 50 per page