I am trying to create a file in Windows XP that is only the extension (".classpath" and ".project"). While my Linux box handles this appropriately, Windows gives me the error, "You must type a file name."
Any suggestions how to do this? I am attempting to setup an Eclipse project where I can bring in the classpath and project files fr...
I'm having trouble with a call to CreateToolhelp32Snapshot() from a C++ Windows program, but it only happens in the field -- so far I'm unable to replicate it in the office. I noticed some references to the (undocumented) flag TH32CS_SNAPNOHEAPS online, which I think might help, but the pages turned up in a Google search are all about Wi...
Under windows, is there anyway to programmatically count context switches of the same process? the best thing is a callback that gets called whenever a thread is switched.
...
Currently our software is running on AIX Unix machines, but we use Windows boxes running Exceed to display the UI in X-windows. I'm writing a Windows application ( modernizing the UI in C# ), but some of the legacy windows still need to be displayed in Exceed. When a user clicks a button on my windows application, it sends a message to...
I am pairing to or connecting to a Bluetooth device that has a serial port service associated with it. Is is possible to determine the COM port it registers too? If so, how?
...
Hello,
I have a simple windows Service developed in VS.net 2008 and VB.net. When I install the service using Installutil.exe from the command prompt it is working like a charm.
When I try to add a setup project and set the output and build and install it though it says successfully installed, it is not showing up in the services.
The e...
Hi All,
I'm in a situation where I need to deploy around 200 SSL Certificates to various devices around our Agency (HP iLO - such joy they bring...). At present I have a powershell script that obtains a CSR from the iLO Device, but I now need to be able to sign this with our CA in an automated manner so I can pass back to the script and ...
Does Windows XP (and up) store how long it has been...
...since the system booted?
...running since install?
...in hours/minutes since current used logged on?
...in total hours the user has been logged on?
Thanks.
...
Hi,
Is it possible to modify the opacity of all opened windows from C#. I googled for minimizing the windows and i came to know that its possible with pInvoke calls. It even worked. Similarly is it possible to change the opacity of all the opened windows from C#?
Also, i am not in to MFC stuffs. Still is there any tools to know the ...
Hi there
I hope someone can help me with this as I'm unable to find the right method to do it. I am currently developing an application that should ,in a part of it, be able to enumerate all the Windows Libraries and display their contents as well. For now I was able to get the included folders for all the standard windows 7 libraries, ...
How to generate a KeyboardInterrupt in Windows?
while True:
try:
print 'running'
except KeyboardInterrupt:
break
I expected CTRL+C to stop this program but it doesn't work.
...
Is there a way to translate a character to its corresponding hardware scan code (not the virtual key code)? I need that to communicate with ancient hardware device.
...
Due to our clients authentication and network topology we have a number of Windows Servers in a DMZ without Active Directory or a Domain Controller. Corporate policy stipulates that passwords must change once a month. Our dev machines are in AD (not in the DMZ) so we run into the situation that we have to synchronise our usernames and pa...
when i select list box items(multiple items) how i can display them.please help me
...
How can a Win32 application respond to only the first WM_KEYDOWN notification? The MSDN docs claim bit 30 "Specifies the previous key state. The value is 1 if the key is down before the message is sent, or it is zero if the key is up." but bit 30 is always 0 in my WndProc.
case WM_KEYDOWN:
// ToDo - stop multiple notifications for ...
I have the handle for a given window. How can I enumerate its child windows?
...
I am developing a custom Windows service with C# that will manage state for several instances .NET applications. How can I pass data (such as token) to the service through the ServiceController?
Is this possible or am I not fully understanding the design intent behind Windows services?
...
Is there a way to find out when a managed thread has changed user contexts due to impersonation? I'd like to be able to do this from unmanaged code that is observing the managed code using Microsoft's .NET Profiling APIs.
For example some managed code may be running in user context A, and then impersonate user B. The impersonation may h...
I am currently working on a project where one of our goals is to reduce the total amount of data read from disk. Is there a way to determine the total number of bytes run by a process? I am working with on a C++ application built with Visual Studio 2005, running on Windows XP.
Ideally, I would like some sort of monitor that can print re...
I'm developing a C# WPF application that reparents the main window of another application using a call to Win32 SetParent(). The handle to this out-of-process child window is wrapped by a class named FormHost which is derived from HwndHost. All is working well except for one thing: messages for the reparented window are not delivered to ...