windows

Python 2.7/Windows: ttk combobox dropdown shows up underneath topmost root window

I'm experimenting with the new ttk Tile enhancements that ship with Python 2.7. Windows 7: The code below demonstrates how the combobox dropdown shows up BEHIND our root window when the root window is configured as a topmost window ("always on top"). If you comment out the line """ root.attributes( '-topmost', 1 )""" then the combob...

process closing while saving a file - Python - Windows XP

Hello, I'm working on a project for school where e-mails will be pulled from an inbox and downloaded to different locations depending on how things are parsed. The language I'm writing in is Python, and the environment it will be run on is Windows XP. The idea is that the program will run in the background with no interaction from the us...

php => desktop informer (Windows)

Hello! I need to find Desktop Information Soft... For example: web-store, after receiving an order => the program must alert manager... Ideal is... program need to periodically requests an php-script for new orders, and if it was => inform a manager UPD. I'm finding something like "reach inform application", with server side developi...

I can't open project I closed in Quatrus in windows 7

I can't open project I closed in Quatrus in windows 7 and this message always appear " Can't open project -- you do not have permission to write to all the files or create new files in the projects database directory. " what should I do ...

Fat Binary on Windows?

Hello, I know that on Mac OS X, you can combine multiple binaries that target different architectures into a single binary using lipo. I am wondering if there is a similar solution on the Windows side. Thank you. ...

File creation time in Ruby on Windows

How to get file creation time in ruby on windows? File.ctime is supposed to return change time. dir /tc in cmd.exe returns creation time with bunch of other stuff. Is there a better way than exec'ing it and parsing? ...

PyGtk Program is not responding on Windows

Hello everybody! I just managed to get py2exe work on a Windows Virtual Machine but stumbled on another problem which I didn't have right after I installed GTK, Pango, Gobject etc. on that machine: When I launch a Python Script the window appears but it immediately stops responding. This happens too if I open a python interpreter and t...

Windows Visual Themes: Gallery of Parts and States?

Microsoft Windows lets programmers draw GUI elements using the look and feel of the current theme using functions like DrawThemeBackground and DrawThemeText. The elements are specified by Class, Part, and State, as described at the Parts and States page at MSDN. Unfortunately, the page is not very informative (at all!). So the question ...

Control/Monitor Many Windows Command Prompts?

I need to make running multiple Perl scripts as easy as possible, and make all of their statuses easily known, to see if they are all still working. I'm thinking of having a single Perl script which runs and monitors the other scripts I have, and displays the data on a 'master' command prompt. Is this possible? Is there an easier way to...

Is a mobile subscription necessary to test apps on an actual Windows Phone 7 device?

I am planning on purchasing the new HTC phone running Windows Phone 7, and am planning on using it for development purposes only; however, I can't afford the expensive subscription to T-mobile's data network at the moment. Is a cellular subscription necessary to use the phone for application testing purposes; or can I just use my WiFi ne...

Registry Entries for all users in Python

I wrote an application that stores several things in the registry. When I first started, I added them to HKEY_LOCAL_MACHINE, but kept getting permission errors writing to the. So, it was suggested that I use HKEY_CURRENT_USER, that worked until I realized that I am not able to access them from another account. How can I write to the regi...

is there a standalone flash/silverlight player that can resize

Hi, I was wondering if anyone would be aware of a standalone silverlight or/and flash player that can be resized . I need this because sometimes the video size is too small and fullscreen is not adapted ( a small video on a 24inches screen is not nice !!) Thx ...

Assign Static ip to ubuntu

I have installed ubuntu server edition in virtual box. I have already assigned static ip to my host operating system which is Windows Server. I have another ip which I want to assign my guest Ubuntu Server. I known how to assign following things in ubuntu but I don't know how can I find these things from windows. I have another extra ip ...

Registry Startup Entry with runas argument?

Is it possible to add a startup entry in the windows registry with a runas argument? So when it launches, it runs with the user specified? ...

Is there a way to create my own index with Windows Search?

I have an application which store files (mostly Office documents) in various distant locations. I want my users to be able to search for these files based on some criteria on its own machine. I though I could use Windows Search to create an index. I've had that idea because a few years ago and to search for email in Outlook, I had to ins...

Pass Password to runas from Python

I need to run a file as another user without it prompting for a password, from my script. How is this done? ...

Python 2.7/Windows: Create resizable, multiline tkinter/ttk labels with word wrap

Is it possible to create a multi-line label with word wrap that resizes in sync with the width of its parent? In other words the wordwrap behavior of Notepad as you change the width of the NotePad window. The use case is a dialog that needs to present a block of multi-line text (instructions) in its entirety without having the text clip...

Python 2.7/Windows: tkinter/ttk widgets with transparent backgrounds, ttk frame background colors

Is it possible to configure tkinter or ttk widgets (Label, Entry, Text) with a transparent background so that they can be placed in containers with custom background colors or on top of canvas graphics or images? I'm also looking for a way to change the background color of a ttk Frame widget? Do I need to use the new ttk Style objects ...

How to create a sparse file on NTFS?

I'm testing a sparse file. But my test code doesn't work well. HANDLE h = CreateFileW(L"D:\\sparse.test", GENERIC_READ|GENERIC_WRITE, FILE_SHARE_READ|FILE_SHARE_WRITE|FILE_SHARE_DELETE, 0, CREATE_ALWAYS, FILE_ATTRIBUTE_ARCHIVE|FILE_ATTRIBUTE_SPARSE_FILE, 0); DWORD d = GetFileAttributes(L"...

Simulating a directory tree platform-independently

I am using Qt and Ruby in an application where I have to manipulate some directories and rename/move files. However, prior to the actual manipulation I need to show a "preview", ie, simulation of the changes. What I've done on OS X and Linux is a collection of mkdir and touch commands, in a writable tmp space, to build my said "directory...