[RESOLVED] (VB6 & WMI) Reading and Setting IIS properties or virtual directory
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:
Code:
strComputer = "."
Set objWMIService = GetObject("winmgmts:\\" & strComputer & "\root\MicrosoftIISv2")
any guess how i need to read the properties from IIS and set virtual directory programatically from VB6.
Thanks,