I have a windows console application that queries a single database and creates flat files of the data for another external system. I will use Task Scheduler to execute a batch that will start this data export. Each query is retrieving a few hundred thousand rows of data (200k+). What is the best way to make my application scalable so th...
Hi. I'm writing a printing application and i having trouble with dmCopies field of DEVMODE structure. This field specifies number of document copies printed. When i print multipage document (two pages and more) - setting up dmCopies works fine, but when one-page document printed dmFields ignored. First i think that problem in my applicat...
I'm writting a Ruby program for windows, and I need to read user input from keyboard (stdin).
However, it's needed that the user key-presses are not automatically displayed in the windows console, and behave like "silent key presses"
This problem in Ruby over linux, can be solved using the "stty" linux command:
%x{stty -icanon -echo} ...
Microsoft provides a bunch of standardized error codes for Windows (http://msdn.microsoft.com/en-us/library/ms681381(VS.85).aspx). When applicable I find them useful to reference in my own applications, instead of creating my own. Is there something similar but specific to .NET?
...
Hi!
I have a windows form in a wpf window, and I'm trying to use DragMove when I click on the windows form, it's a picturebox so I want to be able to drag the window around just by clicking the picture.
I catch my form's mouse down, and raise the wpf window's mouseleftbuttondown event with:
if (e.Button == MouseButtons.Left)
{...
I am running Python 3.1.2 with IDLE 3.1.2 on Windows 7. When I try to use the Stack Viewer, blue text and a new window briefly appear before all open IDLE windows exit (I don't have time to read the text or new window). This is the first time I have used Stack Viewer.
Is this normal behavior? How can I get the Stack Viewer to stay open?...
I'm trying to document a work flow with a series of screen shots. At one point in the flow, a UAC prompt appears, and I'd like to grab a bitmap of it to make my storyboard complete. Because UAC prompts are on a virtual desktop (or something like that), the usual Alt+PrintScreen doesn't work. Any suggestions?
...
I have a need to pass in an HRESULT value to a program as a command line argument. I had intended to do so by passing the hex value, e.g.:
>receiver.exe 0x80048836
I'm trying to convert this string representation back into an HRESULT using wcstol, eg:
HRESULT hr = wcstol(argv[2], NULL, 16);
However, the value of the original HRESUL...
How can this not work in windows?
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>exec-maven-plugin</artifactId>
<version>1.2</version>
<executions>
<execution>
<id>deploy-dev-ssh</id>
<phase>install</phase>
<goals>
<goal>exec</goal>
</goals>
</execution>
</execut...
Hi all!
I have got a strange problem with my deployment of an Qt application. I created a Zip with all the necessary dlls and my binary on my Windows XP 32 bit box, where the application worked just fine,
Then I tested this on my laptop running windows 7 64 bit, giving me strange results. The window icons are back to the default ones a...
Hi,
I'm searching for a Method to combine two (or more) PDFs to a new one. This i have to do with the comman-line in windows. I haven't found a simple programm that can do this.
Has anyone an idea for a programm that can do this?
Best Regards
...
What is the most popular GUI library for Python in Windows ?
...
In your opinion, what is the best way to create gui in Windows ? with gtk or win32 api ?
Do you recommend GTK for windows ? Yes ? NO ? Why ?
...
I was going through the Hilo tutorial series Developing C++ Applications for Windows 7; seemed pretty interesting.
What modern books that go into details of developing C++ based applications for Windows 7? It should show how to take advantage of Windows 7 features and based on "modern" C++ (templates, Unicode, etc.). Not looking for old...
Background:
In Windows 7 it is possible to maximize and "semi-maximize" application windows by dragging them to the top/top-left/top-right corner of the screen (the latter two will make your application windows fill the screen vertically, but only fill half the screen horizontally, allowing for another application to be "semi-maximized"...
This is not a programmers questions. I have an application that I am using, and through that I can connect to an FTP, when I try to copy down a file I get FTP error: The given path's format is not supported.
However what is stranger is that my co-worker who is using the same application when they connect to the FTP site through the appl...
How do I programmatically open a file in its default program (I'm using Windows XP).
For example, opening *.txt will open the file in notepad.
...
Is manipulate Silverlight in automated-tests possible? If yes - How can I do that? Alternatively can I find anywhere helpful information?
thanks
...
Hi,
We have an application that depends on a number of groups of third-party DLLs. Unfortunately, none of the writers of these third-party DLLs have named them very consistently so it is hard to see which DLL is part of what group.
To try and manage this, we would like to put groups of third-party DLLs in a folder in our application fo...
I have a 32-bit C++ program that gathers diagnostic data to help troubleshoot our software. I'd like it to export a certain subtree of the registry - something like:
regedit.exe /e ExportResult.reg HKEY_LOCAL_MACHINE\SubTreeIWantToExport
The problem is Regedit will likely require priviledges elevation on Vista and above and the user r...