When on a Tablet PC, touching the screen with your pen is interpreted as a click. The sensitivity is adjusted so that even if your pen slips a little bit, it is still interpreted as a click; you have to move a certain distance before it becomes a drag-n-drop event.
In a notebook style application, however, you never want to "click" insi...
On Windows,
how can my user-mode program get the driver version number(s) for the video card(s) installed?
Programs like ATI's "Catalyst Control Center" can display this information to the user or include it automatically into bug reports. How do they get it?
I've been looking thru the PSDK documentation, and I can't find anything rel...
How do I run the following WMI query, both programmatically to and as a one-shot deal? Can I use Visual Studio 2008, and if so what language and type of project do I setup? I'm a complete beginner at this so please provide details. Thanks!
SELECT * FROM Win32_USBControllerDevice
For Each as USBDevice
ASSOCIATORS OF {Win32_PnPEntity.D...
We have a .Net Winforms app running on XP machines that are not connected to the internet. We install and update this app by distributing a CD with a .MSI installer file. Users uninstall the old app from the Add or Remove Programs control panel and install the new app from CD.
A while ago we required users to log in under individual acc...
This is on Windows XP.
I have a running process (that I'd like to stay running). If I copy over a dll that it uses (as in, replace it with a newer version), will this cause problems for the running process, or is the code already loaded such that it won't matter?
...
Using java, minus the exception handling, it is as simple as
FileOutputStream ostream = new FileOutputStream("\\\\host\\share");
PrintStream printStream = new PrintStream(ostream);
printStream.print("HELLO PRINTER");
printStream.close();
ostream.close();
...
Hello,
Happy new year!
My question is how to check if a microphone and a speaker are from the same sound card on Windows platform. If they are from different cards, then the logic to handling timing will be different. I'm using both DSound and WMME API.
Thanks in advance.
regards,
Yun
...
I have the following file:
abcde
kwakwa
<0x1A>
line3
linllll
Where <0x1A> represents a byte with the hex value of 0x1A. When attempting to read this file in Python as:
for line in open('t.txt'):
print line,
It only reads the first two lines, and exits the loop.
The solution seems to be to open the file in binary (or universal ...
I would like to start learning ASP.NET on a for-fun project. I'm hoping to setup a local server to do my development on, but I don't want to pollute my user account with a webserver, database, and developer tools.
I'm using Vista Home Premium as my desktop OS. Is it possible to setup a separate user in vista and contain all the develop...
I have a very simple USB gadget that has a switch on it to turn it on or off manually. I would like to have the ability to keep it switched on at all times, and then write software to allow me to programmatically send power to it over USB.
I envison building a small device that plugs into the computer and then the USB gadget could plug...
Does anybody know of a tool that allow me to inspect what files an installer just added to a system after it ran?
Its sounds like this should be something that should exist.
...
Hi,
Let me state first: I know that any user that wants to run a program (or even log in), has to have access to (probably at least) the Windows system directories and the shared libraries in %ProgramFiles%, but I'd like to be able to contain Skype, for example, by running it with an unprivileged user and make sure that it can't access ...
Microsoft distributes source code to reference implementations of their different Direct3D APIs to hardware vendors, driver developers, etc. This code builds using the ever-cryptic WDK (formerly DDK) build system, and virtually never works out-of-the-box. Though widely used, this code is semi-private, so there is never any basic helpful ...
Python's subprocess module by default passes all open file descriptors to any child processes it spawns. This means that if the parent process is listening on a port, and is killed, it cannot restart and begin listening again (even using SO_REUSEADDR) because the child is still in possession of that descriptor. I have no control over t...
I'm looking for an FTP server product with Active Directory integration for installation on a Windows server.
I have been looking at different products, but I have a hard time finding a product, which has a decent Active Directory integration. I need something that integrates properly with Active Directory groups and is able to "merge" ...
More particularly - I have a window handle of another running application. This application contains a TListControl.UnicodeClass control somewhere (I know this from Winspector). How can I, using the Windows API and that window handle, go through all the items in that list control and get the text from all of the items?
You can assume th...
I like the memory scanner you can get from crucial (http://www.crucial.com/systemscanner/index.aspx) however it only works with an online computer.
I would like to be able to do as much as possible of what it does, but off-line.
I would like to produce sufficient info to be able to take this info to another online computer and use that...
I'm relatively new to the Component Object Model specification - I have a simple question:
How can I access a COM interface from a C or C++ application
For instance, accessing Microsoft Excel COM interface to perform basic operations, without user intervention.
Kind regards
...
I'm doing some tests on a Windows Server 2008.
When I try to access an URL (for example the TFS webservice URL) for test purposes, it automatically uses my Windows identity (ie Administrator)
How can I force IE to display the login popup so that I can try to log in with a "standard" user?
...
I am trying to get reliable information on when my C# application (Windows XP) will run out of memory. I did some research and tests on my machine and picked the most reliable perfmon counters:
Memory.Pages Output/sec
Memory.Available Bytes
I use thresholds and AND operator and it works quite well, but on the client machine (also Wind...