Forum Discussion
1 Reply
Sort By
- siddhuContributorHi
Try uisng
set ObjDll = OleObject(" ---Here comes Your DLL name.Class name----")
It will create an instance of it.
You can use the functions of it.
I think only Public functions are accessible.
In otherway you can try this also
select Object Browser.
You will find "OleObject" in the Properties section
You will find Params button next to OleObject
click on the Params button
You will be asked for the OleObject & machine name
Write your "Dll Name.Class name" at the Ole Object.
leave the "Machine Name" column
click OK
If it is registered.It will access the class in the DLL
If it is not registered It will show an error message saying that "Invalid Class String : Can not Obtain Class ID "
You will find a small button (with three small dots inside it) in the very right side of the OleObject row.
click on that button
Now you can access the properties and functions of the Class of your DLL
Related Content
- 3 years agofrancisd84
- 6 months agoCharzRj