How to create an activeX object in VB Script?
Printable View
How to create an activeX object in VB Script?
Hi,
Use the CreateObject method to create ActiveX Objects.
Set cn = CreateObject("ADODB.Connection")
Set objFSO = CreateObject("Scripting.FileSystemObject")
Set a = CreateObject("ADOX.Catalog")
Cheers.....