windows

Identify processor (core) is used by specific thread

Hello, World! I would like to know if it is possible to identify physical processor (core) is used by thread with specific thread-id? For example, I have an multithreaded application that has 2 threads (threadid = 10 and threadid = 20, for instance). I run the application on a system that has a dual core processor (core 1 and core 2)....

Mercurial, Apache, Windows, mod_auth_sspi and hg push

I'm playing with Mercurial 1.6 under Apache 2.2.15 on a Windows box under a Windows domain, running as a central repo server to which select people will have commit permissions. I'm trying to restrict access to Mercurial by restricting access to Apache's /cgi-bin/ to select users via sspi_auth_module. If I browse to the repo page with ...

GUI Using Batch

When you try to do things using Windows Batch, you normally think on a Text Program, but I want to know if there is anyway to use instead of those string inputs at the command window, put on a TextField, and that the messages get displayed at a MsgBox. Also, if it's possible to hide the console window. Don't matter if VBScript is needed...

How to install Agilo for Scrum in windows

I got the msi. then... next.. next... finish... but I cant access the agilo. I need a step by step process. ...

using python to add images to powerpoint files

has anyone used python to add images to powerpoint 2007 files? can someone please help me get started with this ...

C# + iTunes COM: iTunes event sometimes gets raised, usually does not.

I'm making a utility that allows me to control iTunes (via the COM library) with hotkeys. The hotkeys work, and control of iTunes, like next and previous track all work. The other part of this utility is to show notifications for when the song changes. Through some reading and experimentation, I found that the right event on the iTunesA...

Browser script to automatically copy a "locked" file from a user's system (Windows)

Hi, For an automated web-backup solution we're thinking of, how can we access and copy a "locked" file from a user's system onto our webserver? This is of course with the user's permissions. Just seeking code that demonstrate this. Added: I know where the file is located, I do NOT want to prompt the user to select the file everytime. ...

Where can I find the apc extension for PHP 5.2.8 in windows?

I know it's not the latest version, but need to stick to it for the project. Anyone knows where I can get apc extension for php 5.2.8? ...

Best book for learning windows device driver development ?

I want to learn device driver development . I am planning to write small device driver for USB under windows platform. What is best book to start learning it ? ...

How the word 'Windows' is related with the term 'Windows Communication Foundation ?

I am beginner in the Windows Communication Foundation. I am reading about it. I am little bit confused with the word 'Windows'. WCF can be used for building the web services for window application as well as web application. Then what is meaning of the word 'Windows' in WCF ? Why we are calling it as a 'Windows' Communication foundation ...

Windows authentication in Flex application

Hi, does anyone have an idea or developed before windows authentication through flex application. I know this maybe sounds silly, but could be very handy. :) I have a semi solution when user enters his/her AD username and password, and application send this data to web service which handles AD authentication, but this is one extra step...

C++ subclassing a form to trap F1 - F12 keys

The main form opens a child form that has a handful of button CONTROLs on it. I need to trap keyboard events so I subclassed one of the controls. All is good until the control loses focus of course. Ideally, as long as this child form is open I would like to assign the focus to this control and thus trap all the keystrokes, no matter wh...

How can I find out who created a file in Windows using .NET?

I need to find out who created a file using .NET I have already tried the following: string FileLocation = @"C:\test.txt"; FileInfo droppedFile = new FileInfo(FileLocation); FileSecurity fileSecurity = droppedFile.GetAccessControl(); IdentityReference identityReference = fileSecurity.GetOwner(typeof(NTAccount)); string userName = ident...

Network Load Balancer taking a long time to redirect to a new server

** Before you comment and say this should be on serverfault.com - it IS on serverfault.com and I've only had one comment so far over 48 hours - I desperately need to get this sorted and stackoverflow always has prompt responses, so I thought I'd try my luck here! ** Hi, I have two servers, both with Windows Network Load Balancing insta...

C: take screenshot

Hi How can I capture screen and save it as am image in C? OS: windows (XP & Seven) Thanks ...

Symbolic Link - Windows

Hi, I am trying to test the 31 reparse point limit mentioned for Symbolic link in Visa. But I could not reproduce by any of following listed cases. Can someone guide? 1) Created 36 symlinks in a directory c:\temp\testlink for a executable residing in c:\temp\testlink. 2) Created 36 symlinks in a directory c:\temp\testlink to 36 differ...

Limitations of sharpDevelop

I am looking in to using sharpDevelop to develop Windows (.NET) applications over using Visual Studio. I'm just wondering if there are any serious limitations to using SharpDevelop over VS? The price is certainly right and at first glance it seems like a pretty decent IDE. I'm just wondering if it is compatible with VS. I mean if I a...

.NET: Send a text message to all instances of the same application and read it

I need ability to reliably sync some chunks of textual data between all running instances of my application. What's the best way to make it? ...

Get current user's last logon

I am trying to get the current's user last logon. I might be this current session or it might be one before that. I am calling GetUserName() to get the current username. I feed that into NetUserGetInfo() to try to get the last logon time. All this fails with error 2221 (user not found). When I tried with "administrator" it works. Even wh...

merge files into one on xp

We have order files that are date time stamped like so 28072010_950_order.txt 28072010_1050_order.txt does anybody know how to, on a windows xp box, have a small app run that would change all these time stamped files that have the same date and merge them into a single file called: 28072010_order.txt So it would take all the data from ...