Python 2.7 under Windows: How can we control the position of Tkinter's common dialogs?
Here's what we've discovered:
Certain common dialogs always open up relative to their parent window
Certain common dialogs always open up centered on the user's desktop
All common dialogs appear to ignore the optional parent= parameter
Questions:
...
I wish to implement IPC using Named Shared Memory.
To do this, one of the steps is getting a handle to a Mapping Memory Object, using CreateFileMapping().
I do it exactly as MSDN website reccommends: http://msdn.microsoft.com/en-us/library/aa366551(v=VS.85).aspx:
hFileMappingHandle = CreateFileMapping
(
INVALID_HANDLE_VA...
On *nix boxes, cabextract can do the trick. Is my only option on windows to install cygwin?
...
I am new to windows application. I need to add rows in the DataGrid dynamically which has person data. when i do the following is see only the last person in the last row. i see rows populating but with no data. If i do a break on the first fetch i do get the right one. But something is wrong. Any ideas
foreach (var p in personList)
...
Is there someone that can suggest me a programming language that allows you to write quickly GUI programs (on windows platform)?
P.S. I am interested on only languages that do not rely on virtual machines and then have a compiler that produces executable code directly on the machine
...
I have installed Visual studio 2008 with SP1 on Windows R2 2008.
When I try to run webtests (which previously ran in VS2008 on Windows 7) I get an error message saying "Test Not Executed with a warning message". After this error message is displayed Visual studio just freezes. I am unable to click and open any other tests. The only way ...
I'm a Rails newbie, and I was initially using NetBeans + JRuby to make Rails apps (was using JRuby because it was a quick start - I don't need to interface with any Java libs).
Then because of (a) many gems are not available for JRuby, and (b) most of the Rails webshosts don't support JRuby, I decided to use Ruby MRI.
So I got everythi...
I need a regular expression written to use in gVim that will remove duplicate domains from a list of URLs (gVim can be downloaded here: http://www.vim.org/download.php
I have a list of over 6,000,000 URLs in a .txt file (which opens in gVim for editing).
The URLs are in this format:
http://www.example.com/some-url.php
http://example2...
hello,
i am trying to create a GUI only use native windows api.
i create projects in vs 2008 using win32 console project and win32 window project, and i used the sample code from Microsoft as below
#include <windows.h>
// Global variable
HINSTANCE hinst;
// Function prototypes.
int WINAPI WinMain(HINSTANCE, HINSTANCE,...
I have a software product installed on multiple machines at a client's site. The software accesses a database which is located on a server.
I have given them an MSI so that they can install the software on further machines if required.
How can I programmatically place a limit on the number of machines the software can be installed on?...
Say I have a program X.EXE installed in folder c:\abcd\happy\ on the system. The folder is on the system path. Now suppose there is another program on the system that's also called X.EXE but is installed in folder c:\windows\.
Is it possible to quickly find out from the command line that if I type in X.EXE which of the two X.EXE's will ...
I have written "Bush hid the facts" in notepad and saved the file after reopening it.
It turn into some block chars 畢桳栠摩琠敨映捡獴
after that i have pasted it into MsExcel2007 i found that some chinese chars
Then i checked there ASCII code all chars were different but have same code i.e. 63
which is of ?
then i changed font to "WST_Engl" i...
I am attempting to port a small data analysis program from a 64 bit UNIX to a 32 bit Windows XP system (don't ask :)).
But now I am having problems with the 2GB file size limit (long not being 64 bit on this platform).
I have searched this website and others for possible sollutions but cannot find any that are directly translatable to m...
Do you know TrueCrypt Project?
It makes a container file and formats it.
The container file will be seen as like a volume.
An we do I/O to the volume, the I/O will be crypted.
By the way, can the container file size be flexible like virtualbox's dynamic hard disk(.vdi file)?
I made a crypt driver like the TrueCrypt.
But my container f...
I need to be able to tell if a series of servers have anyone active on them, and if not then to automatically shut them down (turn off the VM). It's not a trivial task, because I have 1000+ server instances that include an assortment of OSes (Win, Unix, Linux) and many different type of configurations. This makes installing an uptime age...
I am trying to run a batch script from within a c sharp program the code I am using is shown below:
Process proc = new Process();
proc.StartInfo.FileName = "G:\\Media\\Downloads\\print.bat";
proc.Start();
The script is simple (for testing purposes) and contains one line:
echo hello > output.txt
When I run the script from windows...
I am trying to implement registry-free COM explicilty in my code (can't use registry-free COM via an app manifest since that only works on the exe level): I create a static class that loads the COM dll, calls DllGetClassObject, then IClassFactory::CreateInstance().
Works just fine to a point. Implementation details are at http://www.dim...
Is there some reason that they've kept their same old lame shell?
...
I want to create an auto-tunneler for Garena. What basically has to be done is iterate through all the items in the list box (in the right - I think that is what it is.), right click and click tunnel on each of them. I only have a C compiler with me atm. Any ideas on how to do this? What API calls and so on?
EDIT:
Few clarifications a...
I want to learn how to read other processes memory and have my program call the other processes functions and what not with my own parameters and stuff. I've googled it and it seems like you need to use things like ReadProcessMemory but I haven't been able to find any good tutorials explaining how to use them. Could anyone point me in th...