I am trying to enum the virtual webservers in the iiswebservice object. Basically (for each website in webservice) in VB. I am trying to do this in Delphi 5.
WebSite := CreateOleObject('IISNamespace');
WebSite := WebSite.GetObject('IIsWebService', 'localhost/w3svc');
Enum := website._newenumm as ienumvariant;
I can not get this to work. I was hoping someone here could shed some light.
Thanks in advance.