I launch an admin program from DOS or a vbscript wscript.shell.run. This admin program changes the title of the active window to a generic text. I would like via WMI, vbscript or other code to...
Hi,
In one procedure, I created an array for capturing information from a listbox in a userform. In a different procedure, I'm trying to refill the reloaded userform's listbox via the array w...
Hello expert,
I'm writing some scripting using VB script and wanted to store the date in the format of dd/mm/yyyy on SQL Server back-end. I did try to use the VB Format function - Format(...
Hello Experts,
I have an open Excel file and using VB Script, I need to search a column in an Excel sheet until it matches a text string. When the script finds that match, I would lik...
Hi,
I have a routine which runs automatically to check log files sizes and if a threshold is breached will zip and move and delet the old logs to clear space. This runs within MOM2005 hence t...
I got an issue which my VBA script in excel that i need some expert help here.
The situation is i have 20 combo box added in the excel worksheet which i group as the same category such cboxNa...
Here is the scenario. Forgive me if it is a bit long winded.
I have a production machine that appends data to a delimited text file every 10 seconds. Every night, someone has to change th...
Hi alle, I have this vbs-script in which I want to call another vbs-script at the top:
Option Explicit
Dim objNetwork, objUser, CurrentUser
Dim strGroup
' Her defineres grupperne
Cons...
Have the following Script to create a printer object:
wscript.Echo " Pressing OK, Will map you to the Xerox 721p Wide Format with FreeFlow Accxes PS (IP 10.4.4.45) Plotter this will take abou...
How can I use class modules in VBA?
Where can I find a good tutorial about VBA class modules?
How can I create constructor / destructor / declare class member?
I am running an Access Database program that is using Excel for some functions, however, if Excel is open, the program will not work properlly. I need some VB Script that will check to see if...
I currently have many Macro's written in Excel 2003 that I'm testing in Excel 2007. Most of the macros add chart objects and begin by deleting all of the current charts using - ActiveSheet.Ch...
Hi Experts,
I have a spreadsheet where I have created a console page to run a variety of reports from. While the reports are running, I would like the focus to stay on the console page. I use...
Hello,
I need a script that will... upon startup detect the local IP address, and if they are in the network initiate a .bat file which will copy the contents of one folder to the network sha...
Hi,
I'm trying to make a script that deletes the temp files and such from all user accounts on a machine. I'm having trouble finding out how to find all the users that have been setup on th...
Hi
I have the following VBS script that someone posted on here a while back and would like to add a field that tell me what the login script is for each user of a certain group.
The script...
The script should generate a random number.
The length of the number should be exactly 6 digits.
This number should be Unique when checked with a list of numbers.
I am looking for the script that allow me to add domain group into local administrator group, I have more than 200 servers, I really don't want to do it manually.
I search through this site, ...
I need to be able to reference the controls in Internet Explorer from an Excel VBA program that I am developing. In some cases I need to set values in these controls, and/or read values from d...
I am in need of some help guys. I have tried to script this in vbscript but I keep getting errors. How can I add a Carriage Return-Linefeed in a Text File after each tilde (~). Also how can I...
Hi,
I am looking to have a simple script which will move files over 24 hours since modified date into a different directory.
The only other thing is that the file name mask will determ...
I'm looking for a script to create multiple active directory user accounts. Here is what i need the script to do. Create the users, exchange mailboxes, adds profile path, adds login script, a...
Hi Experts,
Does anyone here has an idea how to run an exe visibly inside ASP vbscript code? Below is the code that I am using so far. It did run an exe file but not visible, it has a...
I have the attached simple VBScript to list the members of one of my groups. It only gives me the AD Display Name. I'd like to get their Domain and Userid. Does anyone know the properties I sh...