Skip to main content
The 2026 Annual Developer Survey is live— take the Survey today!
Advice
0 votes
9 replies
134 views

I wrote this simple script to open the app mentioned and then close it using Alt+F4. (The app is set to minimise to the system tray when closed). I added the sleep command (and made it longer too) - ...
Score of 0
0 answers
99 views

I have a VBScript below that opens an excel workbook and runs the VBA script inside that will check and order the tools that calibration dates are either out or due in the next month and then email me ...
Score of 0
0 answers
93 views

I have these lines of script, which run a batch file (to rename every file in the folder with random digits): Set objShell = WScript.CreateObject( "WScript.Shell" ) objShell.Run(""&...
Score of 0
2 answers
106 views

I want to replace a text file's content. Set stream = CreateObject("ADODB.Stream") stream.Mode = 3 stream.Type = 2 stream.Charset = "UTF-8" stream.Open stream....
Best practices
1 vote
6 replies
271 views

I’m interested in learning how to build projects using HTML Applications (HTA), especially because I enjoy older Windows technologies and would like to experiment with making simple games in this ...
Score of -1
1 answer
144 views

I would like to modify this vb script so that i can add the values selected from a drop-down box so that it also sends the data to the text file as for example. The text file should show for example: ...
Advice
0 votes
6 replies
114 views

I have been looking for a way to move/resize application windows (AP_Ws) in Windows 11. I have found plenty of information for doing this via the 'title' of the AP_W. However, this does not help me ...
Score of -2
1 answer
97 views

I have a simple zip extracting vbs which I found on another stackoverflow page and used it ZipFile="%CD%\file.zip" ExtractTo="%CD%" set objShell = CreateObject("Shell....
Score of 0
0 answers
101 views

Edit: None, Status or ExecutionState are not implemented so I need an alternative way to check it, but I don't have any clue where I should look. This is what I have: Option Explicit On Error Resume ...
Score of -3
1 answer
125 views

I'm trying to write a VB Script to call a subroutine at sunset (and sunrise) using data extracted from text files produced by my weather station software (Weather Display). I can extract the times OK ...
Score of 1
1 answer
267 views

I'm in need to generate a CRC32 efficiently from within vbScript. I'm aware of doing this with CRC32 tables and so on, but this is very slow for large files. Therefore I'm using 7-zip.exe with option ...
Score of 2
3 answers
204 views

I'm running a VBA macro through a VBS Script: scriptDir = CreateObject("Scripting.FileSystemObject").GetParentFolderName(WScript.ScriptFullName) Set excel = CreateObject("Excel....
Score of 2
1 answer
136 views

I'm working on a VBScript to create a shortcut link to a batch file (the batch file downloads and launches a frontend Access database copy). The following code technically works but the shortcut link ...
Score of 0
0 answers
116 views

I'm trying to open 4 separate chrome windows and then tile them on my screen when I double click a shortcut on my desktop. this code works differently each time I run it. sometimes it works correctly,...
Score of 1
1 answer
142 views

I already have a VBA string that is used by Task Scheduler to open a certain workbook "ORCA Refresh" every day. It refreshes all sheets then closes the document. I need to add a command to ...
user avatar

15 30 50 per page
1
2 3 4 5
1236