Click here to Skip to main content
15,912,400 members
Home / Discussions / C#
   

C#

 
GeneralRe: Events Pin
bouli17-Jun-04 2:34
bouli17-Jun-04 2:34 
GeneralRe: Events Pin
Corinna John17-Jun-04 1:39
Corinna John17-Jun-04 1:39 
GeneralRe: Events Pin
bouli17-Jun-04 1:45
bouli17-Jun-04 1:45 
GeneralRe: Events Pin
Corinna John17-Jun-04 1:52
Corinna John17-Jun-04 1:52 
GeneralRe: Events Pin
bouli17-Jun-04 1:56
bouli17-Jun-04 1:56 
GeneralRe: Events Pin
bouli17-Jun-04 2:01
bouli17-Jun-04 2:01 
Generalcheck programatically if IIS is installed Pin
michalJ17-Jun-04 0:13
michalJ17-Jun-04 0:13 
GeneralRe: check programatically if IIS is installed Pin
Heath Stewart17-Jun-04 1:27
protectorHeath Stewart17-Jun-04 1:27 
If you use the Windows Installer project in VS.NET, you can create a Web Project that does this already. If IIS is not installed, it will display an error and exit.

There are many ways of determining if IIS is installed, from checking for the inetmgr.exe in %WINDIR%\System32\inetsvr\ (use Environment.GetFolderPath(Environment.SpecialFolder.System)) to get the %WINDIR%\System32 directory), or using System.DirectoryServices classes using the iis:// scheme (IIRC, if IIS isn't installed trying to use the IIS directory protocol should fail).

WMI (via System.Management) should also give you information, although I don't remember what WMI classes you want to use off-hand.

 

Microsoft MVP, Visual C#
My Articles
GeneralRe: check programatically if IIS is installed Pin
michalJ17-Jun-04 4:51
michalJ17-Jun-04 4:51 
GeneralInvert grapics in 2D Pin
Mikke_x16-Jun-04 22:30
Mikke_x16-Jun-04 22:30 
GeneralRe: Invert grapics in 2D Pin
Heath Stewart17-Jun-04 1:23
protectorHeath Stewart17-Jun-04 1:23 
GeneralRe: Invert grapics in 2D Pin
Mikke_x17-Jun-04 2:15
Mikke_x17-Jun-04 2:15 
Generalexport dataset to execl 2000 Pin
Wilson Wu16-Jun-04 21:28
Wilson Wu16-Jun-04 21:28 
GeneralRe: export dataset to execl 2000 Pin
Heath Stewart16-Jun-04 21:35
protectorHeath Stewart16-Jun-04 21:35 
GeneralEquivalent of SetItemData, GetItemData in C# Pin
Md Saleem Navalur16-Jun-04 20:04
Md Saleem Navalur16-Jun-04 20:04 
GeneralRe: Equivalent of SetItemData, GetItemData in C# Pin
Mazdak16-Jun-04 20:47
Mazdak16-Jun-04 20:47 
GeneralRe: Equivalent of SetItemData, GetItemData in C# Pin
Md Saleem Navalur21-Jun-04 2:44
Md Saleem Navalur21-Jun-04 2:44 
GeneralRe: Equivalent of SetItemData, GetItemData in C# Pin
Heath Stewart16-Jun-04 21:40
protectorHeath Stewart16-Jun-04 21:40 
GeneralRe: Equivalent of SetItemData, GetItemData in C# Pin
Md Saleem Navalur21-Jun-04 2:41
Md Saleem Navalur21-Jun-04 2:41 
GeneralRe: Equivalent of SetItemData, GetItemData in C# Pin
Heath Stewart21-Jun-04 3:00
protectorHeath Stewart21-Jun-04 3:00 
GeneralRe: Equivalent of SetItemData, GetItemData in C# Pin
Md Saleem Navalur21-Jun-04 2:42
Md Saleem Navalur21-Jun-04 2:42 
GeneralRetrieving POP3 message Pin
ronin177016-Jun-04 17:19
ronin177016-Jun-04 17:19 
GeneralRe: Retrieving POP3 message Pin
palbano16-Jun-04 18:57
palbano16-Jun-04 18:57 
GeneralRe: Retrieving POP3 message Pin
Heath Stewart16-Jun-04 21:31
protectorHeath Stewart16-Jun-04 21:31 
Questionhow to scrolling through "stacked" images? Pin
ABean16-Jun-04 15:38
ABean16-Jun-04 15:38 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.