Advertisement

635 organizations, including eBay, Ericsson and Lockheed Martin, now work smarter with Corporate Accounts. Save up to 42%

 

Welcome! If you have any general questions about Experts Exchange, feel free to ask me.

 
Time Tested VB Script Solutions: 51 - 75 of 2608
 
Hi All - Another forum member (thanks P.K.) was kind enough to provide me with the following code.  As luck would have it, i have had to restructure my workbook and need to revise the code.  W...
Hi, I need an example VBScript which will ftp several files using wildcards onto an AS400 server The following parameters should be met. File name selection using wildcard (I.E. Z:\file*.T...
I have a logon bat file now and need to remap printers in MS Active Directory to a new server. I have worked with vbs logon scripts but never bat logon scripts, so can I call a vbs script from...
I need to write a script to verify that a file does not exist. I know that the FileExists method is used to verify if a file exists, but is there an opposite method? Here's what I'm doing. I'm...
I created a script to create an Oulook signature for each user using information via Active Directory.  This worked fine. My problem is how do i get the users to use this signature that i'v...
Having a hard time finding the line causing this error: Microsoft VBScript runtime error, 424 Object required.
Found a lovely bit of code that will combine all of the worksheets in all of the workbooks in a directory onto a single sheet.   However, what I'd really like to do is to create a single wo...
I want to run WMI queries on remote machines via vbscript. I get this eror message: Error: "The RPC server is unavailable." Code: 800706BA Source: SWbemLocator I have tried adding this u...
I need to display the date and time in the following format in vb6 dd mmm yyyy hh:mm:ss fff where fff is the milli seconds regards
Remove Duplicate Lines From Text File. How can i remove duplicate lines from text file? The format of the file is as follows flipper.berkeley.edu flipper.berkeley.edu ftp.aao.gov.au ...
I have got a script to connect to AD and create a user account, that has to run on the server itself.  objUser is populated with variables that are gathered earlier in the code. -----------...
I need to run iperf.exe to measure the network performance on a regularly basis and redirect the results to a text file. The following script will capture the information that I need. date /...
Hi, I got a printer that can print duplex.  I'm wondering if there is a code in VB script that can change the settings of the printer th print duplex programmatically.  I know you can do it in...
I have an Excel Spreadsheet that when opened, some code is executed that populates Column Q starting at row 5, with hourly data, starting at 8:00 a.m.  So for instance if it is 9:00 am when th...
Hi all, I'm trying to build a script that List folder and subfolder Permission and stop at 3 depth of my source Folder. Here's what i got
Hello people. I am receiving the VB  run time error 3265 "item not found in this collection" This is my code: can't see anything unusual: ---------------------------------------------...
I am trying to have a vbscript call KTPass.exe  (Kerberos Keytab utility part of support tools). I would like to capture this output and save it to a log file for future reference. While t...
I have a small script in Excel VBA and I'm using a Dictionary object. I want to print all they key-value pairs  how do I do this? Debug.Print "Key=" & ???  & " Value=" & ??? Short exa...
I'm looking for a VBScript that I can configure to run as a startup script in a GPO that will change the password of all the local admin accounts in the computers in my domain. The computers a...
I am using Shell application and copyhere to unzip a file creating folders and files in VB6.  I installed product that required .NET Framework 2.0 and now every time it runs I get "File Exists...
Hi, I am looking for a VB Script that will look in directory c:\testing\in\ Then for all files in there replace all spaces " " with a tilda "~" and remove any CR/LF from the file so its ...
I use a program that outputs a report as an Excel spreadsheet.  The problem is that it is a raw data dump and the data is difficult to read.  I can make a vbscript run after the program comple...
I have various startup scripts enabled in Group Policy that silently install programs (for which an MSI isn't available). Because these are program installations, the scripts can take a whi...
Hello, I'm very new to VB Script first off.  I need to compare 2 txt files, lets say A.txt and B.txt.  They each have lines of text ie. 123AS35713 024678D56W 1234894E Each line can be a...
I am building a logon script with vbscript and have run into a snag.  I need to "if current user logging in is a member of a certain group then add these shortcuts.  I have the shortcuts mappi...