Requirements / Installation instructions


First copy WshDialog.dll (from WshDialog.zip) to the appropriate directory:

Win9x

%windir%\System

Windows NT and later (32-bit)

%windir%\System32

Windows Vista and later (64-bit)

%windir%\SysWoW64


Then open a command prompt, change to the above directory and register the dll with :

regsvr32 WshDialog.dll


Additional notes on Windows Vista or later :

To register WshDialog.dll you must either (temporarily) disable UAC (User Account Control) or run regsvr32 as administrator: find cmd.exe in the appropriate system directory (e.g. %windir%\System32 or %windir%\SysWow64), rightclick it and select ‘Run as Administrator’.

You may find that you are unable to view the compiled helpfile (WshDialog.chm).
To remedy this, rightclick the file, select Properties and click the Unblock button.

Some of the samples in the helpfile display icons on buttons. On Windows Vista however the icon files and libraries may not exist or their locations may be different.


Additional notes on 64-bit Windows versions :

You must use the 32-bit versions of wscript.exe/cscript.exe in %windir%\SysWow64 to run your scripts.


WshDialog depends on several other files (mostly ActiveX controls) listed below.
In case these are missing on your system, they are available in an optional download (WshDialogOcx.zip). You may also need to register these components with regsvr32.

MsVbvm60.dll

(version 6.0)

ComDlg32.ocx

(version 6.0 or higher)

MsComCtl.ocx

(version 6.0 or higher)

MsComCt2.ocx

(version 6.0 or higher)

MsCal.ocx

(version 8.0 or higher)

MsMask32.ocx

(version 6.0 or higher)

TabCtl32.ocx

(version 6.0 or higher)