Nator
Aug 22nd, 2001, 12:28 PM
I have a DLL that I want accessible using CreateObject("Class...."). I can get the DLL to work if I set a reference in VB and it works fine, however, I need the DLL accessible with VBScript as well. Does anyone know of a tutorial or a quick and easy way to set up a DLL that can be utilized with the CreateObject function? I need it to look something like this
set MyObj = CreateObject("MyDLL...")
MyObj.Property1 = "Hello"
MyObj.Property2 = "World!"
MsgBox MyObj.Property1 & " " & MyObj.Property2
Set MyObj = Nothing
set MyObj = CreateObject("MyDLL...")
MyObj.Property1 = "Hello"
MyObj.Property2 = "World!"
MsgBox MyObj.Property1 & " " & MyObj.Property2
Set MyObj = Nothing