Recently, in an attempt to access the properties and methods of the Windows firewall in vba, I referenced hnetcfg.dll and could change the dimension for objects such as inetfwMGr , inetfwPolicy , etc.
But I could not create objects for them as needed, for example,
set obj = new inetfwmgr
does not work
Reading around, I found out that I need to use CreateObject("hnetcfg.FwMgr")
move on.
I want to know how you can find out which objects can be created from a given DLL in VBA. looking at the link here . I cannot find a single key indicating that you need to create an hnetcfg.FwMgr object to continue. Why FwMgr ? How to find out if other objects created from hnetgfg.dll ? Is this information as a link a link I did not see or implicit if someone is looking at the hnetcfg properties?
Any insight would be appreciated. thanks
source share