Hello experts,
I'm trying to open a .BMP image with Windows Internet Explorer. IE 8.0 I have installed, and am running Windows XP.
Basically, I right click and choose Open With and click the box to "Always use this program" and then Internet Explorer opens, but then immediately closes and MS Paint opens and brings up the image.
I...
To port a GNU makefile to the (non-cygwin) win32 platform, I am looking for a way to scan source files for the patterns such as '1234 // $RESOURCE$ "my_image.ico"', to then be appended to a resource file in the format '1234 ICON "my_image.ico"'. Using perl this is can be accomplished as such:
perl -nle 'print "$1 ICON $2" if /([0-9]+)\s...
I'm looking to target a website specifically for an iPad but we don't have any Macs in house for testing. What's the most accurate way to test the site on a PC? I image I could use the Safari browser and shrink the window down to approximate the iPad screen size but I wonder if there's a better method out there.
...
I'm using python 2.7 on Windows to automate batch RAW conversions using dcraw and PIL.
The problem is that I open a windows console whenever I run dcraw (which happens every couple of seconds). If I run the script using as a .py it's less annoying as it only opens the main window, but I would prefer to present only the GUI.
I'm involvi...
Hi, I'm trying to differentiate between a USB flash drive and a USB hard drive on Windows using the Win32 API.
The GetDriveType() function will return DRIVE_REMOVABLE if the drive is removable, and USB flash drives are of course removable. But I'm thinking that Windows probably considers USB hard drives removable as well (unfortunately ...
To learn WPF, I am trying to create a hex editor application. However, I am unsure of what I should use to display the hex dump to the user.
I am trying to display an array of integers in 16 columns. The first byte would be in column 1, row 1, the second byte in column 2, row 1, and so on.
I had considered using an array of TextBlock, ...
Running the following example batch file,
echo foo &&^
"C:\Program Files\Internet Explorer\iexplore.exe"
...produces the following output:
foo
'"C:\Program' is not recognized as an internal or external command,
operable program or batch file.
What am I missing?
EDIT
As tagged, this question is dealing with Windows (XP) batch fi...
I maintain a small Perl library that extracts width/height from images, for people who want that functionality without using a larger, more generalized library. I've been asked if I can support the Windows EMF format. However, I haven't had much luck with my Google-fu in trying to find a good specification of the format, or better yet ex...
I'm looking for a way to add a wireless network on a Windows 7 machine through Powershell or any other automated procedure. Has anyone done this with a Powershell script? This would save a lot of time in setting up a few hundred imaged machines I have to do. Thanks in advance.
...
I'm planing to go for the API and learn how it works, I've been looking and found some books (preferably for C++), but I'd like advice which book would be a best buy. I'd like something that keeps code simple and explains it well.
Thanks in advance.
...
I wanted to give my user an option for "Start with Windows". When user check this option it will place a shortcut icon into Startup folder (not in registry).
On Windows restart, it will load my app automatically.
How can this be done?
...
Does anyone have a list, or even better a target that normalizes, the environment variables that are common on Linux, Windows, and OSX that would enable cross-platform, consistent Apache Ant builds? For example: On OSX, you can specify env.HOME and perform file operations, like loading a property file, from the user's home directory, /...
Hello. I am working on a project that requires password protected downloading, but I'm not exactly sure how to implement that. If the target file has a specific extension (.exe, .mp3, .mp4, etc), I want to prompt the user for a username and password. Any ideas on this?
I am using Python 26 on Windows XP.
...
I'm writing code that requires a DLL that exists only on Windows 7. However, I will deploy to older platforms, so I want to use the DLL if it exists on the user's system.
I can use LoadLibrary() to get a HMODULE, and GetProcAddress() to get methods from that HMODULE. This allows me to get the method, and it will still compile. But how d...
When I invoke a Python 3 script from a Windows batch.cmd,
a UTF-8 arg is not passed as "UTF-8", but as a series of bytes,
each of which are interpreted by Python as individual UTF-8 chars.
How can I convert the Python 3 arg string to its intended UTF-8 state?
The calling .cmd and the called .py are shown below.
PS. As I mention in a ...
I am trying to write a file downloader that has a GUI and displays the progress of the file being downloaded. I would like it to either display a text percentage, a progress bar or both. I am sure this can be done in Python, but I'm just not sure how.
I am using Python 2.6 on MS Windows XP.
...
Hi,
I'm trying to find the Window API for creating user profile.
I'm creating local user in windows, and i'm trying to run process with this user using CreateProcessWithLogonW with LOGON_WITH_PROFILE flag set.
Since the profile does not exist (the user was not interactively logged on yet) the CreateProcessWithLogonW fails.
When perf...
Possible Duplicate:
Command prompt in win7
How to Prevent the automatic closing of the command prompt in win 7?
...
Where can I find blue screen of death crash dump?
...
Hi, I created a simple window with a multiline Edit Control:
Edit = CreateWindowEx(WS_EX_CLIENTEDGE, TEXT("EDIT"), NULL,
WS_CHILD | WS_VISIBLE | ES_MULTILINE,
20, 200, 200, 200,
hWnd, (HMENU)EDIT, GetModuleHandle(NULL), NULL);
If I set text using a WM_SETTEXT message, I don't...