PDA

Click to See Complete Forum and Search --> : check a Website running in IIS 6.0


manuadoor
May 3rd, 2007, 01:15 AM
hi friends,,,

I want to develop a control pannel which deals with a remote 11s 6.0. Through that control pannel i should create a site, delete, start, stop, backup. I am planning a website with C# code behind.

Since I am not that much into C# developement. Please help me in developing this site..


First I want to know how to excecute a commandline (windows command) form C#.

And the Second is I want want to know the C# equivalent for GetObject method in VB 6.0.

Pls give me some examples if u can which may help me a lot.

Any peice of information will be great for me,,

Thanks in Advance,

Manu B.:wave:

axion_sa
May 3rd, 2007, 02:14 PM
You don't need the command line to manage IIS. You can use LDAP or WMI to manage IIS 6.0:
Using LDAP
http://www.google.co.za/search?q=iis+6.0+ldap
http://www.microsoft.com/technet/prodtechnol/windowsserver2003/library/iis/a93765e4-fac8-41ae-bb94-a05fb2972703.mspx

Using WMI
http://www.google.co.za/search?q=iis+6.0+wmi
http://www.microsoft.com/technet/prodtechnol/WindowsServer2003/Library/IIS/9041b0a5-c314-46d9-8f56-01506687f357.mspx

As for GetObject... Add a COM reference, which will in turn generate an interop assembly for you (which interacts with the COM object you need) - which you use through C#.

mendhak
May 7th, 2007, 05:44 AM
http://www.vbforums.com/showthread.php?t=467252