VBScript Questions


Reading a value from HKLM registry and writing it HKLM registry
I require a VBScript which will read a value from HKLM and then after reading that value That VBScript should write that value to HKLM. Any help is much appreciated

Answer Question   |  December 4, 2012  7:21 PM
VBScript, VBScript Functions
asked by:
10 pts.

VBscript to send email on service failure
VBscript to send email on service failure

Answer Question   |  August 21, 2012  4:19 PM
Email, VBScript, windows 2003
asked by:
160 pts.

Select Statement & Where Clause ….
On an ASP web page there is a Text Box with default Values for different records. The records are stored in a SQL2008 table called dbo.SOFTWARE and have been type in manually over time and contains many duplicates. The field is called ‘BUSINESS_UNIT’. On the same page i have created a Combo Box populated by [...]

Answer Question   |  July 11, 2012  3:31 PM
ASP, SQL Server 2008, VBScript
asked by:
40 pts.

Instring function using vbscript
how to extract the comma till the last and display only the last value suppose if i insert 100000 rows it should show 100000 not like from 1,2,3, till 100000 it should extract till last comma please help me

Answer Question   |  June 15, 2012  2:30 PM
VBScript, VBScript Functions
asked by:
5 pts.

Extract Data from SAP using VBScript
Hi,   I am trying to extract data out of SAP using VBScript. I remember this worked earlier, but ever since we upgraded to VB7, I am getting an error. Can you please look into this?   code: Dim R3, MyFunc, App, objFileSystemObject, filOutput, objmessage As Object Dim nTotalRecords As Long ‘ Define the objects [...]

Answer Question   |  May 22, 2012  8:20 PM
SAP, VBScript, VBScript Debugging
asked by:
5 pts.

Set Page orientation
Can anyone help identify how to set the Page Layout Orientation of an XLSX file in VBS?  I am using the below script example for reference. Set obj = CreateObject("Excel.Application") Set objWorkbook = obj.Workbooks.Open("C:pathtest.xlsx") obj.ActiveSheet.PageSetup.Orientation = xlLandscape obj.ActiveWorkbook.Saveas "C:pathtest.xlsx" obj.ActiveWorkbook.Close Thank you.

Answer Question   |  March 21, 2012  3:35 PM
VBScript, VBScript Functions
asked by:
210 pts.

Autoprint to PDF Printer
Does anyone know if there is a script (VBS, BAT or otherwise) that will send a requested file (xls, doc, txt) to a local installed PDF printer and render it without user intervention?

Answer Question   |  March 20, 2012  2:30 PM
VBScript, VBScript Functions
asked by:
210 pts.

VBS output to text
How do I change this code to: instead of poping up a window, to output the results to a text file? ”create a connection object set connObj = CreateObject(“ADODB.Connection”) ”create a command object set cmdObj =   CreateObject(“ADODB.Command”) ”set the properties connObj.Provider = “ADsDSOObject” connObj.Open “Active Directory Provider” set cmdObj.ActiveConnection = connObj cmdObj.Properties(“Page Size”) = 25 [...]

Answer Question   |  March 5, 2012  10:30 PM
VBScript, VBScript Functions, VBScript Statements
asked by:
210 pts.

Verify NTP
VBScript to verify a NTP Time source

Answer Question   |  February 29, 2012  1:00 AM
VBScript, Windows Server 2003, Windows XP
asked by:
JCL
5 pts.

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
asked by:
115 pts.

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
asked by:
45 pts.

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
asked by:
15 pts.

Copy file to startup folder in windows 7
I would like to use a script to copy a .vbs file to a users startup folder in Windows 7. The user has admin rights but I continue to get “access denied” errors. Any help with this one? I can copy it manually, with no problems Here is my script dim FSO Set FSO =CreateObject(“scripting.FileSystemObject”) [...]

Answer Question   |  March 18, 2011  8:23 PM
VBScript, Visual Basic, Windows 7 bug, Windows 7 support, Windows Server 2003
asked by:
1,050 pts.

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
asked by:
5 pts.

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
asked by:
160 pts.

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
asked by:
160 pts.

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
asked by:
W12
5 pts.

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
asked by:
5 pts.

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
asked by:
5 pts.

Can RPG call a VB script
I know very little about anything on a PC. Is there some kind of interface that could be used to execute a VB script which performs a function which returns a parm and get that parm returned back to the RPG pgm.

Answer Question   |  September 7, 2010  6:56 PM
AS/400 Parameters, RPG, VBScript, Visual Basic Script
asked by:
350 pts.