Hi all,
I am trying to set IIS virtual directory by WMI from VB6 application.
Trying out some codes I read from msdn and googling. But can't able to accomplish things. The codes are not working.
Getting Automation error from the start from this line as below:
any guess how i need to read the properties from IIS and set virtual directory programatically from VB6.Code:strComputer = "." Set objWMIService = GetObject("winmgmts:\\" & strComputer & "\root\MicrosoftIISv2")
Thanks,


Reply With Quote