I thought the key names immediately below HKEY_USERS were supposed to be the usernames of whoever logged in at this machine at some time. But in my machine what appears is:
S-1-5-18
S-1-5-19
S-1-5-20
S-1-5-21-NNNNNNNNN-NNNNNNNNN-NNNNNNNNNN-NNNNN
S-1-5-21-NNNNNNNNN-NNNNNNNNN-NNNNNNNNNN-NNNNN_Classes
I'd like to be able to determine whi...
How do you create the keyboard shortcut(F1) in a windows form using c#. WinChm
...
I have an application that can successfully inject keyboard input using the SendInput API with the UNICODE flag set. This causes WM_KEYUP and WM_KEYDOWN messages to be generated with the VK code of E7 (VK_PACKET), which gets appropriately translated into the correct WM_CHAR message. This works in all the applications I have tried except ...
Hello,
I have written some JNI hooks into a C++ library and created some DLL files for my java server project. Lets say the DLL and jar files are in the same folder under "C:/server"
I am accessing these DLL files using:
System.loadLibrary("someDLLFile");
in the class that needs the C++ code.
The problem I am running into is when I...
I have a WPF application that fails to come out of the timed sleep, followed by hibernate.
The render thread seems to be failing during initialization. I tried removing hardware acceleration to check that it's not graphics card related, but that did not help.
Here is an exception along with the stacktrace:
ERROR An unspecified error oc...
Hello,
I have an FTP batch file that uses DOS commands to pull down some files. After I'm done pulling the files down, I would like to move the files to an archive directory on the remote server. What FTP DOS commands do I use to accomplish this?
*I wasn't clear at first but this move has to take place on the remote server.
...
I've used Hummingbird Exceed as my Xserver on my windows box for years. I've almost always worked out of xterms, but at times the number of open windows can get a bit out of control and hard to manage. Wondering if there is a terminal emulator that runs on WinXP that supports tabbed windows, similar to Konsole on KDE.
...
For work I am moving over to windows after being on linux for quite a while. I want to get some scripting skills going for administrative tasks in windows. I am quite good with bash, but bash's "libraries/tools" are missing a lot when it comes to windows. I see vbscript, wsh, powershell, cmd, jscript, etc and wondering what to learn, or ...
Whats a general purpose key logger that I can use to detect keys for debugging and testing purposes? Preferably, I can hit a record button and a stop button and it will display a text file with all keys pressed during that time. Obviously, it doesn't have to be a super stealthy logger which secretly emails a anonymous account every wee...
how to remove NTFS security from a folder ?
...
What do you think Is it good idea to shift from Web Development to Windows Development
...
hi,
does anyone have an article regarding writing filter drivers for the NTFS ?
another question - when im writing a filter driver for NTFS, can I just pass down my IRP using IoSkipCurrentIrpStackLocation(...) and IoCallDriver(...) when I get MajorFunction I dont want to take care of
?
ofcourse the call to IoCallDriver will include a ...
I want to show a progress bar (like wget) how do i keep writing to the last line in the console?
Windows 7
vis 2005
c++
...
Hi everyone,
I created an ActiveX control ocx file using Visual Studio 2008.
Then tried registering the ocx file from command prompt "regsvr32 filename.ocx"
It gave an error saying "Load Library(filename.ocx) failed- The application has failed to start because configuration is incorrect. Reinstalling the application may fix this proble...
Hi,
I got a wxWidgets form with a progress bar on it and i update the progress from a thread using my own custom wxWidget event. This works fine except the fact is the form only shows the progress update when i move the mouse. I have tried adding Refresh() and Update() after the new progress value is set but with no luck.
Am i doing so...
I am working on hard drive analysis, and wanted to know if there is a way to directly control an ATA hard drive under windows. In short I want to do something like a packet sniffer, but for the ATA commands sent to/from the hard drive.
After that, I'd like to be able to write ATA commands directly the drive. If this is not possible unde...
Does anyone know what property I can query for in an ADSI query that would return the object's parent OU? I know I can bind to the AD object and then use object.Parent to return it's parent OU, but if I ask for "parent" in a ADSI query it returns back as a invalid query I would rather not do bind unless absolutely necessary.
(i.e. "SEL...
Is there a Win32 API way to get an enumeration of all the open windows? Seems like there must be just not sure where to start looking.
...
I have a network folder which can contain up to 10,000 files (usually around 5000).
What is the fatest way I can get the filepath of the most recently created file in that folder using c#?
Currently I am using the below, but wondered if there was a quicker way.
Thanks.
DirectoryInfo di = new DirectoryInfo(xmlFileLocation);
var feedFi...
Given a group name and a user account, I would like to know if the supplied user belongs to a particular group. The user can be a local user or a domain user and the group could be a local group or a domain group and the group could also be nested inside other groups. In short I am looking for a function like bool IsUserMemberOf(User, Gr...