1
  • I am New to vb scripting. Need help to create a script to read registry

    Dear Experts, I am New to vb scripting. I need help to create a script. I need to create a login script that maps user DFS network drive accordingly to their department. The login is as follows: a. to read registry of last logon user b. get last logon user AD group information c. if last logon user...

    jamestung10 pointsBadges:
  • 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

    raf123410 pointsBadges:
  • 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

    Muniraja5 pointsBadges:
  • 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...

    ConFlicker210 pointsBadges:
  • 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?

    ConFlicker210 pointsBadges:
  • 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 =...

    ConFlicker210 pointsBadges:
  • 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 this...

    Mkemaleddine15 pointsBadges:
  • help with a vbscript to copy files to a remote computer and overwrite a file if it is already there…

    I already have the script to copy the files over and it is working on my local pc. All pc's are on the same domain. Set FSO =CreateObject("scripting.FileSystemObject") FSO.CopyFile "\\SAN1\Files\*", "c:\Metatr~1" ,True

    Dlynn15 pointsBadges:
  • VB Script question

    why doesn't the statement if (thres_PrivateBytes > cur_PrivateBytes) work properly? it was working when I had the WMI data type as Real32 and now it's UINT32 because I didn't have a conversion from scientific notation to decimal. Anyway, do I need to declare the vars as integers? my theory is...

    Minnow5 pointsBadges:
1

Forgot Password

No problem! Submit your e-mail address below. We'll send you an e-mail containing your password.

Your password has been sent to:

To follow this tag...

There was an error processing your information. Please try again later.

Thanks! We'll email you when relevant content is added and updated.

Following