function block calculation module
Hello, I would like to know how to read this code and what the outcome would be. its writtin in a calculation function block which typically includes IF-THEN-ELSE, DO-WHILE, etc. statements. out1 := (in2 = 0) ? 0 : ((in1 & in3) > 0); of course in1/2/3 are the inputs, out1 is the output. Is [...]
Answer Question
| October 17, 2011 12:07 AM
Calculating fields, VBScript Functions, VBScript Statements, Visual Basic, Visual Basic Script
Hello, I would like to know how to read this code and what the outcome would be. its writtin in a calculation function block which typically includes IF-THEN-ELSE, DO-WHILE, etc. statements. out1 := (in2 = 0) ? 0 : ((in1 & in3) > 0); of course in1/2/3 are the inputs, out1 is the output. Is [...]
VB Script to monitor files on Windows machines from a Zenoss server
This is a script I created last year to monitor some files from a Zenoss server. These files are created by an application that receives CDRs from an Asterisk server in another country, and sometimes these files have stopped getting updated even though no network errors seem to exist, so, the safest way to make [...]
Answer Question
| March 31, 2012 6:17 PM
IT Scripts, VB script, Visual Basic Script, Zenoss
This is a script I created last year to monitor some files from a Zenoss server. These files are created by an application that receives CDRs from an Asterisk server in another country, and sometimes these files have stopped getting updated even though no network errors seem to exist, so, the safest way to make [...]
VBS to Remotely Make a copy of a File on Multiple Systems
Hello, I’m trying to edit a vbs script that I found online to help me remotely connect to a few servers (using a servers.txt file) and make a copy of a specific file called test.txt (it’s the same file name and path on all servers but with different configuration for each server) and add the [...]
Answer Question
| March 31, 2012 6:18 PM
VBScript, Visual Basic Script, Windows Server 2003
Hello, I’m trying to edit a vbs script that I found online to help me remotely connect to a few servers (using a servers.txt file) and make a copy of a specific file called test.txt (it’s the same file name and path on all servers but with different configuration for each server) and add the [...]
Remove character from number VBscript
how do i remove from 1.5.600 the .600 part? i just need 1.5 I tried left but it seems only works with strings
Answer Question
| March 31, 2012 10:21 PM
VB script, VBScript, Visual Basic, Visual Basic Script
how do i remove from 1.5.600 the .600 part? i just need 1.5 I tried left but it seems only works with strings
Automatically insert Date and Time
Hey there, stupid question but I am having a complete brain fart. One of my Win7 users wants to create a keyboard shortcut to automatically insert the date and time within Office 2007 programs. I know there is a easier way to do this than creating a vb script, can anyone refress me on the [...]
Answer Question
| May 23, 2012 6:00 PM
Office 2007, Visual Basic, Visual Basic Script, Windows 7 64-bit
Hey there, stupid question but I am having a complete brain fart. One of my Win7 users wants to create a keyboard shortcut to automatically insert the date and time within Office 2007 programs. I know there is a easier way to do this than creating a vb script, can anyone refress me on the [...]
VBS – Taking input from one spreadsheet and output to another
Hello, I am hoping someone can shed some light as I am at a complete lost. I am using an excellent script written by Ralph Montgomery named NTUser.wsf for account audit purposes and I am attempting to modify it to suit my needs. The script, in its native format, prompts for a username upon execution [...]
Answer Question
| May 17, 2011 8:25 PM
Development, VBS, VBScript, Visual Basic developers, Visual Basic Script
Hello, I am hoping someone can shed some light as I am at a complete lost. I am using an excellent script written by Ralph Montgomery named NTUser.wsf for account audit purposes and I am attempting to modify it to suit my needs. The script, in its native format, prompts for a username upon execution [...]
Delete contents of a folder tree with a kill statement
Would anyone know of a code, or be able to point me to one, that will delete all files and folders under a given location. I am looking to schedule the empting of temp folders and would like it to be all inclusive. If a kill statement is needed also to force delete folders and [...]
Answer Question
| June 3, 2011 12:40 AM
Batch files, Batch jobs, VB script, Visual Basic Script
Would anyone know of a code, or be able to point me to one, that will delete all files and folders under a given location. I am looking to schedule the empting of temp folders and would like it to be all inclusive. If a kill statement is needed also to force delete folders and [...]
How to remove spaces from text lines in Visual Basic script
I have a script that reads a text file and replaces a character string with a new string. The problem is that the data following the new string has spaces that are causing a problem. For example, here is how my data looks prior to running the script Joe Manager Bob Eric Manager Freddy What [...]
Answer Question
| February 18, 2011 6:26 PM
VB script, Visual Basic, Visual Basic Script
I have a script that reads a text file and replaces a character string with a new string. The problem is that the data following the new string has spaces that are causing a problem. For example, here is how my data looks prior to running the script Joe Manager Bob Eric Manager Freddy What [...]
How to create a progress screen for use with a VB Script Logon script?
Hi I have recently created a VB Script to replace the existing Kix logon script. The VB Script Disconnects the network drives and then maps the drives depending on the users security group membership via active directory. The Printers are then mapped and the default set depending on the user group. On Script completion a [...]
Answer Question
| December 23, 2010 10:16 AM
VB script, Visual Basic, Visual Basic Script, Windows Server 2003
Hi I have recently created a VB Script to replace the existing Kix logon script. The VB Script Disconnects the network drives and then maps the drives depending on the users security group membership via active directory. The Printers are then mapped and the default set depending on the user group. On Script completion a [...]
Uploading attachments to QC using VBScript
I am able to add attachments to a test in Test Plan module of QC,bt the problem is, if i attach a file i cant be able to attach more other files,it allows only one file to a test in a specific folder of Test plan module
Answer Question
| December 22, 2010 8:18 AM
QCTL, Quality control, VBScript, Visual Basic Script
I am able to add attachments to a test in Test Plan module of QC,bt the problem is, if i attach a file i cant be able to attach more other files,it allows only one file to a test in a specific folder of Test plan module
Rename Printers in logon for Windows Server 2003, with VBScript
Hi peeps! another question! this has been buggin me for a while. right i have a windows server 2003 SP2 domain (Not R2) and i have about 90 windows xp profesional SP3 clients. now i have at least 3 printers that are being shared. the printer share names are printer2 printer3 printer4 when staff and [...]
Answer Question
| November 17, 2010 2:36 PM
Login scripts, VBScript, Visual Basic Script, Windows Server 2003 R2, Windows XP Professional SP3
Hi peeps! another question! this has been buggin me for a while. right i have a windows server 2003 SP2 domain (Not R2) and i have about 90 windows xp profesional SP3 clients. now i have at least 3 printers that are being shared. the printer share names are printer2 printer3 printer4 when staff and [...]
Help running a CmdEXEC from the SQL Server
I am trying to run a CmdEXEC from the SQL Server- script c:userspublicdocuments The process could not be created for step 1 of job 0xAA781DCB64C4D84392B6730923A77C3D (reason: The system cannot find the file specified). The step failed any help?
Answer Question
| November 17, 2010 6:36 PM
CMD, SQL Server, VB script, Visual Basic Script
I am trying to run a CmdEXEC from the SQL Server- script c:userspublicdocuments The process could not be created for step 1 of job 0xAA781DCB64C4D84392B6730923A77C3D (reason: The system cannot find the file specified). The step failed any help?
VBscript for Windows Server 2003 SP2
Hi! im pretty new to vbscript and would like to know if any of you know a good book to buy or a website with reference guides im wanting to rewrite all my logon scripts for my school from scratch and make it work for me! now im used to “for dummies” guides but i [...]
Answer Question
| November 8, 2010 7:10 PM
Scripts, VBScript, Visual Basic Script, Windows Server 2003, Windows Server 2003 SP2, Windows XP Professional
Hi! im pretty new to vbscript and would like to know if any of you know a good book to buy or a website with reference guides im wanting to rewrite all my logon scripts for my school from scratch and make it work for me! now im used to “for dummies” guides but i [...]
Visual Basic scripting
how can i run batch files using vb scripting
Answer Question
| November 5, 2010 2:07 PM
Batch files, VB script, VBScript, Visual Basic Script
how can i run batch files using vb scripting
Word 2003/2007 VBScript fails in 2010 (background printing) – help!
Hi script wizzards…, i cobbled this together from info on the web but i dont know hardly anything about scripting – i’m a COBOL propgrammer! Works with word 2003/2007 (has been for some time) but not in word 2010. The background printing commands fail (e.g. objWord.Options.PrintBackground = False). It works without them but then word [...]
Answer Question
| November 15, 2010 6:59 PM
PDF Files, RTF, Scripting, VBScript, Visual Basic Script
Hi script wizzards…, i cobbled this together from info on the web but i dont know hardly anything about scripting – i’m a COBOL propgrammer! Works with word 2003/2007 (has been for some time) but not in word 2010. The background printing commands fail (e.g. objWord.Options.PrintBackground = False). It works without them but then word [...]
How to remove specific lines from a text files using either vbs or bat.
We have a text file that is a result of an export from an application we have. We use the following bat file to rename and remove blank lines from it based on the way it exports the export options/format cannot be changed. I would like a way to add to this bat file a [...]
Answer Question
| November 9, 2010 5:07 PM
Batch file, Batch job, SQL, Text manipulation, VBS, Visual Basic Script, Windows Server 2003 Standard Edition
We have a text file that is a result of an export from an application we have. We use the following bat file to rename and remove blank lines from it based on the way it exports the export options/format cannot be changed. I would like a way to add to this bat file a [...]
Visual Basic script to get Sysinfo
Hello I am having problems with a VB Script this is what I want to achieve: 1) Check a machine if is active on the network 2) Find the current logged in user 3) Gather the Service Pack Version 4) Display all information into Excel 5) Highlight in redf which machines are online or offline [...]
Answer Question
| March 13, 2011 10:40 PM
Excel worksheets, Service packs, VB script, Visual Basic Script
Hello I am having problems with a VB Script this is what I want to achieve: 1) Check a machine if is active on the network 2) Find the current logged in user 3) Gather the Service Pack Version 4) Display all information into Excel 5) Highlight in redf which machines are online or offline [...]
VBScript to file compare
Is there a way to make a VBScript that will get a word from FileA.txt and look for it in FileB.txt. If the word(not the whole line) is found in FileB.txt, then write it in FileC.txt. ?
Answer Question
| April 18, 2011 3:38 PM
VB, VBScript, Visual Basic, Visual Basic Script
Is there a way to make a VBScript that will get a word from FileA.txt and look for it in FileB.txt. If the word(not the whole line) is found in FileB.txt, then write it in FileC.txt. ?
DSO file wrong pagecount
Hi, (1st post so be gentle ) I am using dsofile.dll to get pagecount from word documents, all i need at this point is pagecount and only word documents at this time. for some documents the pagecount returns as 0 (or invalid in general maybe?) and therefore i’m in need of a solution or a [...]
Answer Question
| September 22, 2010 11:30 PM
ASP, dsofile, VB script, Visual Basic, Visual Basic Script
Hi, (1st post so be gentle ) I am using dsofile.dll to get pagecount from word documents, all i need at this point is pagecount and only word documents at this time. for some documents the pagecount returns as 0 (or invalid in general maybe?) and therefore i’m in need of a solution or a [...]
Need VBScript to locate and export ACL of a Exchange Public folder
Hi, I’m looking for a VBScript that will search and display complete path of an exchange Public Folder (either using Outlook or other tools) and then export ACL (all members with their permissions”. For first part, since Outlook search is very slow, it would be nice if the script can do a better job. Thanks, Saura
Answer Question
| September 21, 2010 8:37 PM
ACL, Exchange public folder export, Exchange Public Folders, Public folders, VB script, Visual Basic Script
Hi, I’m looking for a VBScript that will search and display complete path of an exchange Public Folder (either using Outlook or other tools) and then export ACL (all members with their permissions”. For first part, since Outlook search is very slow, it would be nice if the script can do a better job. Thanks, Saura





