Click here to Skip to main content
16,005,121 members
Home / Discussions / Hardware & Devices
   

Hardware & Devices

 
AnswerRe: require the h/w devices Pin
Dave Kreskowiak2-May-09 5:33
mveDave Kreskowiak2-May-09 5:33 
QuestionWDF driver for ISA Pin
William R. Price28-Apr-09 2:16
William R. Price28-Apr-09 2:16 
AnswerRe: WDF driver for ISA Pin
Yama Fuji2-May-09 19:22
Yama Fuji2-May-09 19:22 
AnswerRe: WDF driver for ISA Pin
Randor 3-May-09 21:00
professional Randor 3-May-09 21:00 
QuestionApplication gets stuck after writing on to COM Port Pin
Sifar - 023-Apr-09 19:26
Sifar - 023-Apr-09 19:26 
AnswerRe: Application gets stuck after writing on to COM Port Pin
Luc Pattyn24-Apr-09 2:27
sitebuilderLuc Pattyn24-Apr-09 2:27 
AnswerRe: Application gets stuck after writing on to COM Port Pin
dybs24-Apr-09 15:41
dybs24-Apr-09 15:41 
GeneralRe: Application gets stuck after writing on to COM Port Pin
Sifar - 028-Apr-09 4:53
Sifar - 028-Apr-09 4:53 
Thanx Dybs,

I had already tried this approach but it does not work under Windows Vista.

Actually, in Vista when you login as Administrator everything works fine. But with users other than Administrator it does not works. Vista creates different registry entries for othe Users.

I have found below solution :
I have used ManagementObjectCollection and ManagementObjectSearcher.

ManagementObjectCollection ManObjCollection;
ManagementObjectSearcher ManObjSearch;

ManObjSearch = new ManagementObjectSearcher("Select * from Win32_PnPEntity");
ManObjCollection = ManObjSearch.Get();
foreach (ManagementObject ManObj in ManObjCollection)
{
  if (ManObj["Name"] == "Name You Are Looking For")
  {
      // Do Some Job..
  }
}


This has worked fine for me with XP and Vista, (Administrator and Non-Administrator) and it is fast also.

Hope this would help you further...

Regards,
-SIFAR.

QuestionWindows Mobile Waiting Cursor Pin
miguelji21-Apr-09 7:03
miguelji21-Apr-09 7:03 
AnswerRe: Windows Mobile Waiting Cursor Pin
Luc Pattyn21-Apr-09 7:37
sitebuilderLuc Pattyn21-Apr-09 7:37 
GeneralRe: Windows Mobile Waiting Cursor Pin
miguelji21-Apr-09 8:13
miguelji21-Apr-09 8:13 
AnswerRe: Windows Mobile Waiting Cursor Pin
Tim Layton5-May-09 2:34
Tim Layton5-May-09 2:34 
GeneralRe: Windows Mobile Waiting Cursor Pin
miguelji6-May-09 17:52
miguelji6-May-09 17:52 
GeneralRe: Windows Mobile Waiting Cursor Pin
doananhtai15-Jun-09 17:11
doananhtai15-Jun-09 17:11 
GeneralRe: Windows Mobile Waiting Cursor Pin
miguelji15-Jun-09 21:07
miguelji15-Jun-09 21:07 
Question% Processor Time of CPU Pin
M. J. Jaya Chitra15-Apr-09 1:08
M. J. Jaya Chitra15-Apr-09 1:08 
AnswerRe: % Processor Time of CPU Pin
Dan Neely15-Apr-09 2:49
Dan Neely15-Apr-09 2:49 
AnswerRe: % Processor Time of CPU Pin
Randor 15-Apr-09 18:56
professional Randor 15-Apr-09 18:56 
GeneralRe: % Processor Time of CPU Pin
M. J. Jaya Chitra15-Apr-09 19:23
M. J. Jaya Chitra15-Apr-09 19:23 
QuestionMETHOD_BUFFERED when using DeviceIoControl Pin
Shay Harel14-Apr-09 6:02
Shay Harel14-Apr-09 6:02 
AnswerRe: METHOD_BUFFERED when using DeviceIoControl Pin
Randor 15-Apr-09 19:12
professional Randor 15-Apr-09 19:12 
GeneralRe: METHOD_BUFFERED when using DeviceIoControl Pin
Shay Harel16-Apr-09 2:18
Shay Harel16-Apr-09 2:18 
QuestionHow can I send the command CE to a PIN PAD Pin
yera200210-Apr-09 13:07
yera200210-Apr-09 13:07 
AnswerRe: How can I send the command CE to a PIN PAD Pin
Luc 64801110-Apr-09 14:33
Luc 64801110-Apr-09 14:33 
GeneralRe: How can I send the command CE to a PIN PAD Pin
yera200210-Apr-09 15:00
yera200210-Apr-09 15:00 

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.