First off, please understand. I searched this and messed with it for weeks. I have finally given up a solo endeavor and decided to ask this lovely community to help.
I wanted to write GUI applications for windows. Reason being I wanted to port my favorite command line applications to have an interface. I though 'Hey this shouldn't be t...
Hello. I have Windows Server 2008 running on one of my computers, and I have IIS 7 running on it. It is hosting my web page just fine, but when I try to use the remote managment for IIS 7 or even if I try to connect and edit my website remotely using Visual Web Developer 2008, it can't seem to find the server. Remote desktop works just f...
Is it possible to change the Windows command prompt working directory via Python script?
e.g.
>> cd
>> c:\windows\system32
>> make_decision_change_dir.py
>> cd
>> c:\windows
I have tried a few things which don't work:
import os
os.chdir(path)
import os, subprocess
subprocess.Popen("chdir /D \"%s\"" %path, shell=True)
import ...
I'm trying to disassemble a C/C++ DLL, and have made some progress, but I would like to create my own C DLL with the same function the original exports, and compare disassemblies.
Visual Studio adds to much crap, and when I remove the crap and build my project, the expected DLL is missing.
I need a lightweight, preferably IDE, tool to ...
I am finding it difficult to use MySQL with Python in my windows system.
I am currently using Python 2.6. I have tried to compile MySQL-python-1.2.3b1 (which is supposed to work for Python 2.6 ?) source code using the provided setup scripts. The setup script runs and it doesn't report any error but it doesn't generate _mysql module.
I...
I have a program that is running in the background, this program has to be notified when a specific windows event is occurring.
I know the name and id for the event and i know how to schedule an action for it in the task scheduler, but here i can only start a new program. I want to call a function in an already running application.
Edi...
What is that one not usually known command in unix and windows that you know?
It is heard that windows contains several hidden applications which sometimes
may be very useful.
...
I'm writing grepath utility that finds executables in %PATH% that match a pattern.
I need to define whether given filename in the path is executable (emphasis is on command line scripts).
Based on "Tell if a file is executable" I've got:
import os
from pywintypes import error
from win32api import FindExecutable, GetLongPathName
def ...
I have a Windows shell extension that uses IShellIconOverlayIdentifier interface to display overlay icons on files and folders. My extension is a little like TortoiseCVS or TortoiseSVN.
Sometimes I need to make Windows Explorer redraw all it's icons. To do this, I call SHChangeNotify like this:
SHChangeNotify(SHCNE_ASSOCCHANGED, SHCN...
What is the .NET equivalent for the Hotkey Control?
...
Hi I am completely new to EC2 and new to server admin and have been working on a windows 2003 server with our current web application made with PHP pages, mySQL database, and serving image files from a single standalone windows 2003 server.
I would like to know how to go about 'packing up' our server and installing it as an image on Am...
By using sp_who2 I can get a list of current log-in users and machine names. Some users are using SQL Server log-in user name such as sa. Is there any way I can get the windows log-in user name for the SQL log-in users?
If there is no way to get Windows log-in users from the machine names, can I use WMI class or C# to get find out the W...
I'd like to query Windows Media player from an external app to find out what track (album and artist) it's currently playing.
Is that information exposed anywhere?
...
I'm looking for a programming that monitors my activity in Windows Vista/XP/2003 that lets me know what commands, shortcuts, web sites, etc. I visit more frequently.
with this information I could create shortcuts, hotkeys, aliases, etc to increase productivity, as time goes on I could know how much time I saved in comparison to other ...
I'm working on some old .asp pages. I mostly do VB development so I'm a newbie to .ASP.
How can I run those pages locally for testing?
I'm running Windows XP Home SP2.
I'm guessing I'll need to install a local server, etc.
...
Is there a way to bring up the Windows XP shutdown dialog (the one with the three buttons – Suspend, Shutdown, Restart and Hibernate when Shift is pressed) using any language (preferred: C/C++, VB, Haskell, batches)?
I think I can load the msgina.dll in my C++ program, but I dunno what to do next – what function in the dll is used to sh...
Management has decided to go for Windows 2008 64 bit with IIS7 to service our main website.
They want to have it staged on a Windows 2003 server with IIS6. [Edit] Yes 32 bit is what they are planning for staging [End Edit]
I want to know what issues, beyond the security issues, that I should put forward, suggesting we should opt for th...
I'm trying to debug an error coming out of a Windows .NET based application. The error message goes something like "Error creating window handle". On researching about this error I found out that the likely cause is that the application is using more than 10000 user handles.
I want to put in some debug code into the application and see...
Hi to all,
I am developing an application using QtRuby and postgresql. I sucessfully developed and running sucessfully in Linux. Now i want to run the same application in windows. But i am failing to connect to database(Postgresql). I am getting the following errors:
QSqlDatabase: QPSQL driver not loaded
QSqlDatabase: available driv...
How do I detect with C# on Windows the moment when an external application is being launched?
I tried the FilesystemWatcher which doesn't work because the file is not really changing. Also having a timer constantly check all the open processes might be a bit over kill. Is there any other way to do this? If not in C# is it possible to do...