Tags » VBScript

QTP & vbscript Programs -I

‘Program to check palindrome or not
For i=len(name) To 1 Step -1  ‘len counts the length of string and step -1 decrease the loop by 1… 320 more words


Create Shutdown Or Restart Icon on desktop

You can create shutdown or restart icon in desktop using VbScript.Copy below code and paste in notepad and save file as .vbs, create shortcut of .vbs file in desktop and change icon. 52 more words


how to install/uninstall exe with 64bit os and reading exit code

On Error resume next


Set WshShell = WScript.CreateObject(“WScript.Shell”)
PROGRAMFILES64 = wshShell.ExpandEnvironmentStrings( “%PROGRAMFILES%” )
WINDOWS = wshShell.ExpandEnvironmentStrings( “%SYSTEMROOT%” )
SYSDRIVE = wshShell.ExpandEnvironmentStrings( “%SYSTEMDRIVE%” ) 106 more words


how to read 64bit registry in 64bit os

On error Resume Next
‘Value = 151025673
strComputer = “.”
Const HKLM = &h80000002
Set objCtx = CreateObject(“WbemScripting.SWbemNamedValueSet”)
objCtx.Add “__ProviderArchitecture”, 64
objCtx.Add “__RequiredArchitecture”, TRUE
Set objLocator = CreateObject(“Wbemscripting.SWbemLocator”) 47 more words


Welcome to VB Script

First post in a long time,holidays, illness and other things just got in the way.

One of our consultants has created a huge application in Excel based on VB Script. 255 more words


Send notification email from SCCM 2012 Task Sequence

I wanted to be able to send an email from a step in a SCCM 2012 OS Deployment (OSD) task sequence. This was so that I could be notified when the task sequence had completed successfully. 310 more words


Presenting the new open source Enterprise Architect Shapescript Library

The new open source Enterprise Architect Shapescript Library in Github is an initiative to share shapescripts for Enterprise Architect within the user community.

Shapescripts in Enterprise Architect are used to define the presentation of elements on a diagram. 773 more words

Enterprise Architect