1. c# to query hardware and installed software with serial number or
Hi, How can you do this in VBscript? I find difficult to know how you can get the product keys of all the software installed in your computer. -- Ignacio Machin machin AT laceupsolutions com "freddy" < XXXX@XXXXX.COM > wrote in message news: XXXX@XXXXX.COM ... >I know this can be done in vbscript but I would like to build an c# app and > saving the data to sql express. by the way this is c# express. > I need to query every mach on the domain for hardware and software. > for the software I need product key or serial number > version > app name > date installed > etc
2. c# to query hardware and installed software with serial number - CSharp/C#
3. Enable/Disable Hardware Device (Device Manager) programatically
Hi All, Problem Definition: --------------------- Microsoft Wirelss Keyboard works in BIOS but does not work when booting into windows. Discovered Work-around: ----------------------------- 1.> Open Device Manager(The keyboard device will have an exclamation and will read:"Could not start") 2.> Right-click on the device and select disable. 3.> While hammering and button on the keyboard >> Right click the keyboard icon 4.> Click on enable The device works like this Suggestions Required: -------------------------- How can i perfom this process programtically to save the user the hassle? Any code on how to enable/disable a device will be appreciated! Thanx Johann -- In Adversity lies opportunity! - Anonymous
4. Enable/Disable Hardware Device (Device Manager) programaticall - CSharp/C#
5. custom CEdit polling a hardware device
Hello,
I'm trying to derive a class from a CEdit control in order to poll a
hardware input device for data and fill the control with it.
My first try was using an OnTimer handler for polling. I had two
problems with it: for some reason my calls into the hardware device
driver dll from within the OnTimer callback fail. Second, I don't know
where to call KillTimer (CEdit OnClose and OnDestroy don't seem to be
called).
Second try was using a thread. However, this appears to be very
difficult to get right. For one thing I still have the OnClose/OnDestroy
problem mentioned above, i.e. I don't know when to kill the thread. The
other thing is that the thread must be able to call SetWindowText() and
similar functions on the CEdit control. From what I understand calling
these GUI functions directly from within a thread is a bad idea. The
calls to the hardware dll work however.
My question is: How do I solve this? I need a loop continuously polling
an external device while still maintaining a responsive UI and normal
CEdit input behaviour via keyboard.
Thank you for pointers, I'm inexperienced with MFC and this is driving
me nuts.
Sen
6. enumerate hardware devices by using SetupDi calls - Windows CE
7. Querying serial ports device information. Getting "unfriendly" identifier
I want to fill a list box with the "friendly" names for the serial ports installed on a system, yet I also need to query the names required to connect to that port. ie I enumerate the friendly names of the Ports using the SetupDiGetDeviceRegistryProperty api call passing SPDRP_FRIENDLYNAME to get the friendly name "Prolific USB-to-Serial Comm Port (COM3)", but I also need to know how to get the "COM3" part on its own. I tried changing the SPDRP_FRIENDLYNAME to several other possible parameters available to that api call but didn't get "COM3" from any of them. SetupDiGetDeviceRegistryProperty(NewDeviceInfoSet, DeviceInfoData, SPDRP_FRIENDLYNAME, 0, DeviceName, MAX_DEV_LEN, IntPtr.Zero) )