Click here to Skip to main content
15,881,789 members
Home / Discussions / C#
   

C#

 
GeneralRe: Add text to listbox with different color Pin
Luc Pattyn20-Jul-09 8:10
sitebuilderLuc Pattyn20-Jul-09 8:10 
GeneralRe: Add text to listbox with different color Pin
tamir90120-Jul-09 18:32
tamir90120-Jul-09 18:32 
GeneralRe: Add text to listbox with different color Pin
Luc Pattyn21-Jul-09 1:30
sitebuilderLuc Pattyn21-Jul-09 1:30 
Questionhard disk serail number Pin
mokhtar2820-Jul-09 6:21
mokhtar2820-Jul-09 6:21 
AnswerRe: hard disk serail number Pin
Eddy Vluggen20-Jul-09 6:28
professionalEddy Vluggen20-Jul-09 6:28 
GeneralRe: hard disk serail number Pin
Luc Pattyn20-Jul-09 6:57
sitebuilderLuc Pattyn20-Jul-09 6:57 
GeneralRe: hard disk serail number Pin
Eddy Vluggen20-Jul-09 8:20
professionalEddy Vluggen20-Jul-09 8:20 
AnswerRe: hard disk serail number Pin
Luc Pattyn20-Jul-09 7:00
sitebuilderLuc Pattyn20-Jul-09 7:00 
Hi,

there are two serial numbers:
- a soft one, created by Windows when formatting a partition; that's what GetVolumeInformation would return.
- a hard one, set by the manufacturer, and read-only afterwards. There are a couple of ways to get it, one through WMI, one through direct device I/O with CreateFile and ReadFile; both of these require admin with elevation under Vista (and probably all future Windows versions).

Smile | :)

Luc Pattyn [Forum Guidelines] [My Articles]

The quality and detail of your question reflects on the effectiveness of the help you are likely to get.
Show formatted code inside PRE tags, and give clear symptoms when describing a problem.

QuestionRe: hard disk serail number Pin
harold aptroot20-Jul-09 10:54
harold aptroot20-Jul-09 10:54 
QuestionCrystalReports Pin
CodingYoshi20-Jul-09 6:06
CodingYoshi20-Jul-09 6:06 
AnswerRe: CrystalReports Pin
CodingYoshi20-Jul-09 13:05
CodingYoshi20-Jul-09 13:05 
AnswerRe: CrystalReports Pin
_Maxxx_20-Jul-09 18:17
professional_Maxxx_20-Jul-09 18:17 
GeneralRe: CrystalReports Pin
CodingYoshi21-Jul-09 4:34
CodingYoshi21-Jul-09 4:34 
Questionwhat to use instead of 'var' in vs 2005 as for the projects developed in vs2005. Pin
svt gdwl20-Jul-09 5:00
svt gdwl20-Jul-09 5:00 
AnswerRe: what to use instead of 'var' in vs 2005 as for the projects developed in vs2005. Pin
Mirko198020-Jul-09 5:05
Mirko198020-Jul-09 5:05 
AnswerRe: what to use instead of 'var' in vs 2005 as for the projects developed in vs2005. Pin
PIEBALDconsult20-Jul-09 5:57
mvePIEBALDconsult20-Jul-09 5:57 
AnswerRe: what to use instead of 'var' in vs 2005 as for the projects developed in vs2005. Pin
Ennis Ray Lynch, Jr.20-Jul-09 7:25
Ennis Ray Lynch, Jr.20-Jul-09 7:25 
GeneralRe: what to use instead of 'var' in vs 2005 as for the projects developed in vs2005. Pin
Luc Pattyn20-Jul-09 7:51
sitebuilderLuc Pattyn20-Jul-09 7:51 
GeneralRe: what to use instead of 'var' in vs 2005 as for the projects developed in vs2005. Pin
Ennis Ray Lynch, Jr.20-Jul-09 8:02
Ennis Ray Lynch, Jr.20-Jul-09 8:02 
GeneralRe: what to use instead of 'var' in vs 2005 as for the projects developed in vs2005. Pin
Luc Pattyn20-Jul-09 8:06
sitebuilderLuc Pattyn20-Jul-09 8:06 
GeneralRe: what to use instead of 'var' in vs 2005 as for the projects developed in vs2005. Pin
PIEBALDconsult20-Jul-09 8:43
mvePIEBALDconsult20-Jul-09 8:43 
GeneralRe: what to use instead of 'var' in vs 2005 as for the projects developed in vs2005. Pin
Ian Shlasko20-Jul-09 10:23
Ian Shlasko20-Jul-09 10:23 
GeneralRe: what to use instead of 'var' in vs 2005 as for the projects developed in vs2005. Pin
PIEBALDconsult20-Jul-09 10:53
mvePIEBALDconsult20-Jul-09 10:53 
GeneralRe: what to use instead of 'var' in vs 2005 as for the projects developed in vs2005. Pin
Ian Shlasko20-Jul-09 11:23
Ian Shlasko20-Jul-09 11:23 
GeneralRe: what to use instead of 'var' in vs 2005 as for the projects developed in vs2005. Pin
PIEBALDconsult20-Jul-09 12:03
mvePIEBALDconsult20-Jul-09 12:03 

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.