Click here to Skip to main content
15,899,314 members

The Weird and The Wonderful

   

The Weird and The Wonderful forum is a place to post Coding Horrors, Worst Practices, and the occasional flash of brilliance.

We all come across code that simply boggles the mind. Lazy kludges, embarrassing mistakes, horrid workarounds and developers just not quite getting it. And then somedays we come across - or write - the truly sublime.

Post your Best, your worst, and your most interesting. But please - no programming questions . This forum is purely for amusement and discussions on code snippets. All actual programming questions will be removed.

 
AnswerRe: One guidelines for C/C++ programmer Pin
Johann Gerell25-May-10 20:40
Johann Gerell25-May-10 20:40 
GeneralRe: One guidelines for C/C++ programmer Pin
PIEBALDconsult12-Sep-08 4:17
mvePIEBALDconsult12-Sep-08 4:17 
GeneralRe: One guidelines for C/C++ programmer Pin
Dan Neely12-Sep-08 5:46
Dan Neely12-Sep-08 5:46 
GeneralRe: One guidelines for C/C++ programmer Pin
ClementsDan9-Sep-08 22:08
ClementsDan9-Sep-08 22:08 
GeneralRe: One guidelines for C/C++ programmer Pin
Pete O'Hanlon11-Sep-08 11:08
mvePete O'Hanlon11-Sep-08 11:08 
GeneralRe: One guidelines for C/C++ programmer Pin
cpkilekofp25-Sep-08 4:08
cpkilekofp25-Sep-08 4:08 
GeneralRe: One guidelines for C/C++ programmer Pin
Julian Nicholls25-May-10 5:01
Julian Nicholls25-May-10 5:01 
GeneralHi. Pin
vinay_K8-Sep-08 0:05
vinay_K8-Sep-08 0:05 
I need to refresh the hardware device list in the Device Manager instead of manually rescan for the hardware changes by right clicking on any of the device and selecting the option for "Scan for hardware changes",

i need to do it using C# code.is there any way to invoke the dll to perform the rescanning of all the hardware device,

I need this because Non-PNP device will not be automatically detected by windows.

thanks and regards
vinayskvs
GeneralWell, Pin
CPallini8-Sep-08 0:09
mveCPallini8-Sep-08 0:09 
GeneralRe: Well, Pin
vinay_K8-Sep-08 0:17
vinay_K8-Sep-08 0:17 
GeneralRe: Well, Pin
CPallini8-Sep-08 0:38
mveCPallini8-Sep-08 0:38 
GeneralRe: Well, Pin
leppie8-Sep-08 0:46
leppie8-Sep-08 0:46 
GeneralRe: Well, Pin
CPallini8-Sep-08 0:59
mveCPallini8-Sep-08 0:59 
GeneralRe: Well, Pin
Christian Graus8-Sep-08 1:16
protectorChristian Graus8-Sep-08 1:16 
GeneralRe: Well, Pin
vinay_K8-Sep-08 1:51
vinay_K8-Sep-08 1:51 
GeneralRe: Well, Pin
Christian Graus8-Sep-08 5:43
protectorChristian Graus8-Sep-08 5:43 
GeneralRe: Well, Pin
vinay_K8-Sep-08 1:55
vinay_K8-Sep-08 1:55 
GeneralRe: Well, PinPopular
Baconbutty8-Sep-08 2:18
Baconbutty8-Sep-08 2:18 
GeneralRe: Well, Pin
vinay_K8-Sep-08 2:24
vinay_K8-Sep-08 2:24 
GeneralRe: Well, Pin
BillW338-Sep-08 8:21
professionalBillW338-Sep-08 8:21 
GeneralRe: Hi. Pin
Paul Conrad8-Sep-08 18:35
professionalPaul Conrad8-Sep-08 18:35 
JokeMagic C++ Program Pin
Amir_Saniyan7-Sep-08 22:48
Amir_Saniyan7-Sep-08 22:48 
GeneralRe: Magic C++ Program Pin
BadKarma7-Sep-08 23:21
BadKarma7-Sep-08 23:21 
GeneralRe: Magic C++ Program Pin
leppie8-Sep-08 0:47
leppie8-Sep-08 0:47 
GeneralRe: Magic C++ Program Pin
BadKarma8-Sep-08 1:23
BadKarma8-Sep-08 1:23 

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.