Click here to Skip to main content
15,891,905 members
Home / Discussions / C#
   

C#

 
GeneralRe: custom errors on the server Pin
Judah Gabriel Himango10-Jun-04 10:19
sponsorJudah Gabriel Himango10-Jun-04 10:19 
GeneralRe: custom errors on the server Pin
C LaMorticella27-Sep-04 8:31
C LaMorticella27-Sep-04 8:31 
GeneralForm Maximize Events Pin
BrianEllis10-Jun-04 4:07
BrianEllis10-Jun-04 4:07 
GeneralRe: Form Maximize Events Pin
Heath Stewart10-Jun-04 7:04
protectorHeath Stewart10-Jun-04 7:04 
GeneralGet instance that's calling the current method Pin
partyganger10-Jun-04 2:52
partyganger10-Jun-04 2:52 
GeneralRe: Get instance that's calling the current method Pin
Heath Stewart10-Jun-04 4:09
protectorHeath Stewart10-Jun-04 4:09 
GeneralCheck if software is installed Pin
Peter Nirschl10-Jun-04 2:30
Peter Nirschl10-Jun-04 2:30 
GeneralRe: Check if software is installed Pin
Heath Stewart10-Jun-04 4:14
protectorHeath Stewart10-Jun-04 4:14 
There's no complete way of doing this, other than enumerating the registry keys under HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Uninstall. You can use the System.Management classes to enumerate the Win32_Product CIMv2 class, but that only covers Windows Installer packages. Most of Microsoft's products, samples, etc. use Windows Installer (in fact, I haven't seen one in years besides the Managed DirectX runtime that doesn't - even the .NET Framework uses Windows Installer).

For more information and a great add-in for VS.NET 2002 and VS.NET 2003, read WMI and .NET: System.Management Lets You Take Advantage of WMI APIs within Managed Code -- MSDN Magazine, May 2002[^].

For links to the add-ins, see http://www.microsoft.com/downloads/results.aspx?productID=BF0EBDD7-5D74-479A-B01E-D7B141200243&freetext=WMI&DisplayLang=en[^].

 

Microsoft MVP, Visual C#
My Articles
GeneralRe: Check if software is installed Pin
Wackatronic10-Jun-04 4:47
Wackatronic10-Jun-04 4:47 
GeneralRe: Check if software is installed Pin
Heath Stewart10-Jun-04 6:58
protectorHeath Stewart10-Jun-04 6:58 
GeneralRe: Check if software is installed Pin
Wackatronic10-Jun-04 7:57
Wackatronic10-Jun-04 7:57 
GeneralRe: Check if software is installed Pin
Heath Stewart10-Jun-04 9:51
protectorHeath Stewart10-Jun-04 9:51 
GeneralRe: Check if software is installed Pin
Peter Nirschl11-Jun-04 22:23
Peter Nirschl11-Jun-04 22:23 
GeneralRe: Check if software is installed Pin
Heath Stewart12-Jun-04 0:25
protectorHeath Stewart12-Jun-04 0:25 
GeneralWeb Service on Pocket PC Pin
JRacle10-Jun-04 2:28
JRacle10-Jun-04 2:28 
GeneralRe: Web Service on Pocket PC Pin
Wackatronic10-Jun-04 4:53
Wackatronic10-Jun-04 4:53 
GeneralRe: Web Service on Pocket PC Pin
JRacle10-Jun-04 5:57
JRacle10-Jun-04 5:57 
Generalwriting good unit tests Pin
steven shingler10-Jun-04 1:26
steven shingler10-Jun-04 1:26 
GeneralRe: writing good unit tests Pin
Colin Angus Mackay10-Jun-04 1:58
Colin Angus Mackay10-Jun-04 1:58 
GeneralRe: writing good unit tests Pin
steven shingler10-Jun-04 3:39
steven shingler10-Jun-04 3:39 
GeneralRe: writing good unit tests Pin
Marc Clifton10-Jun-04 10:10
mvaMarc Clifton10-Jun-04 10:10 
GeneralReading Serial Device (How To?) Pin
Ariadne10-Jun-04 0:05
Ariadne10-Jun-04 0:05 
GeneralRe: Reading Serial Device (How To?) Pin
Stefan Troschuetz10-Jun-04 0:28
Stefan Troschuetz10-Jun-04 0:28 
Generalxmldocument and xhtml = sloooow Pin
Roger Alsing9-Jun-04 23:20
Roger Alsing9-Jun-04 23:20 
GeneralRe: xmldocument and xhtml = sloooow Pin
Heath Stewart10-Jun-04 6:45
protectorHeath Stewart10-Jun-04 6:45 

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.