Hi,
I want to programmtically detect the state of movie currently being played in Windows Media Player. i..e if the movie is maximized I need to find that it is maximized and put the word "MAXIMIZED" in text file, if the movie is paused I need to capture PAUSED in text file, if movie is stopped I need to capture STOPPED in text file.
T...
I am attempting to write a time management tool with wxPython that is ideally non-obtrusive and very much out of the way. The app so far can be used normally and minimized to the system tray for the duration of its use.
However, I notice that once the frame is not in focus, as it is when its 'Iconized', the mouse and keyboard trappin...
Is their any way I can target a certain file and be able to receive all changes that are made to it?
Such as a file called Names.txt. Could I watch that file for names added? and then write them to the console?
The example code with not compile in Dev-C++ 4.9.9.2
#include <windows.h>
#include <stdlib.h>
#include <stdio.h>
#include <tc...
Hello,
Please, help me in: how to put a double command in the cmd, like this in the Linux: apt-get install firefox && cp test.py /home/python/, but how to do this in Windows?, more specific in Windows CE, but it´s the same in Windows and in Windows CE, because the cmd is the same. Thanks!
...
Hi,
I'm running a search service on my development computer, and I have to run an indexer (.exe file) and restart a service every 1-5 minutes (I'm using sphinx search).
How would I go about doing this in Windows? My thought is to run a batch file through windows task scheduler, but what do you do?
...
I've seen a number of question's closed as "Not programming related" (e.g. http://stackoverflow.com/questions/397854/what-process-accesses-my-hdd)
I understand that their's several alternative site (stackoverflow) themed-forums and to attempt keep site question's to a minimum also some may argue that this is too subjective, o well, I go...
Hello SO people,
I was looking around for a tool to monitor the status of my software raid under Windows 2003 Server, but couldn't find anything suitable (i.e. not grossly oversized or needlessly complicated). So I decided to just do it myself, it's nothing spectacularly difficult.
So how can I retrieve the status of the volumes progra...
I've got a routine that deletes a folder and everything in it. After deleting all the files, the last thing it does is:
if not Windows.RemoveDirectory(pname) then
raise EInOutError.Create(SysErrorMessage(GetLastError));
Unfortunately, I tend to get an error from this if I have an open window in Windows Explorer displaying the folder...
Hi all,
I am trying to create a new windows vista service through sc utility in command run, from some reason what worked in windows xp doesn't work in vista (surprised?). I am running the following command:
sc create rmiregistryService binPath ="C:\Program Files\Java\jre1.6.0_05\bin\rmiregistry.exe"
and it doesn't work... does anyone...
I realize the odds of a user changing the Windows default of C:\Program Files is fairly slim, but stranger things have happened!
How can I get the correct path to Program Files from the system?
...
What is the logic behind disk defragmentation and Disk Check in Windows? Can I do it using C# coding?
...
How can I persistently modify the Windows environment variables from a Python script? (it's the setup.py script)
I'm looking for a standard function or module to use for this. I'm already familiar with the registry way of doing it, but any comments regarding that are also welcome.
...
Hi,
I wrote an application which allows people to contribute plugins to extend the functionality. Such plugins are deployed as DLL files, which the framework picks up during runtime. Each plugin features a factory function which is called multiple times during the lifetime of the application to create objects. So far, in order to handle...
The JS script:
function ShowUploadingAnimation()
{
$('#info_msg').html("<div style=\"padding-top: 15px; height: 50px;\" align=\"center\"><img id=\"uploading-img\" /></div>");
$("#uploading-img").attr({ src: "images/uploading.gif", alt: "Uploading" });
}
And the html usage:
<input type="submit" value="Upload" onclick="ShowUplo...
First of all, great praise goes out to PowerGREP it's a great program.
But it's not free.
Some of it's options I'm looking for:
Being able to use .NET regexp's (or similar) to find things in a filtered list of files through subdirectories.
Replacing that stuff with other regexps.
Being able to jump to that part of the file in some ...
I'm using the theme library to draw some text which works absolutely fine on Windows Vista - however, on Windows XP the returned HTHEME is NULL. This is the code I'm using:
HTHEME hTheme = ::OpenThemeData(pParent, L"TEXTSTYLE");
hTheme is valid on Vista, but NULL on Windows XP.
I've read the documentation for OpenThemeData and Parts a...
Dear All,
I have a Data card with me.
I wanted to know, is there any way programatically, i can tell that, it is data card and it is LAN card.
I have used IFTable, I have used IListManager, INetwork manager provided by microsoft, but not able to solve the problem
Edited:
I have one lan card and one data card connected on my system, ...
Hi everyone!
I'm using the StgOpenStorage API under XP to read an OLE Compound Document, but I can't find the right mix of flags to tell Windows that I need just to read the file without blocking access to it to any other process...
Right now I'm using STGM_READ | STGM_EXCLUSIVE but obviously if at the same time I try to open the file fr...
I have several python.exe processes running on my Vista machine and I would like to kill one process thanks to the Windows task manager.
What is the best way to find which process to be killed. I've added the 'command line' column on task manager. It can help but not in all cases.
is there a better way?
...
What is the best method for automating the task of backing up a MySQL DB on a Windows 2003 Server?
...