windows

saving file to network

I have a file that's about 7 MB that saves to my local share in a matter of seconds. However, saving that file to a network location takes minutes. I'm wondering what I can do to speed this up. Here are my current options: Save the data to a temporary file on the local machine, then copy the temporary file over to the network path. ...

Is there a git-svn windows client something like TortoiseSVN?

I like TortoiseSVN's windows integration, Is there something like that for dealing with git-svn? I'd even go with a less integrated GUI if it is quick enough to access. What I don't want is a CLI as I rarely would have a command prompt sitting in the correct directly. This is a related question but for Linux ...

How can I programmatically determine the maximum user-mode space of the (windows) OS ?

I'm writing a diagnostic app which needs to log what the user has set as his user-mode space a.k.a. user-mode virtual address space a.k.a. the /3GB switch in WinXP or the increaseuserva switch in bcdedit on Vista/Win7. Either of C++ or C++/CLI will do. Any ideas ? ...

DevC++ (Mingw) Stack Limit

Is it possible to set the stack limit in DevC++? Basically the same as "ulimit -s" would do on linux. ...

Can I show different icons for different frames with EmacsW32?

I've created two EmacsW32 frames, one for each of my monitors. I want to be able to alt-tab to the left or right frame when both frames are hidden, but I can't tell them apart because the icon order changes in the alt-tab window. Is there some way to change the icon for a particular frame in EmacsW32 on Windows XP? ...

Windows 7 SDK RC & Beta version

Dear All, I've download Windows 7 SDK which was downloaded at the time of the beta release. Now I upgraded to RC and trying with some Direct2D samples. But I can't create the factory pointer using D2D1CreateFactory API. It's always returns NULL. Even the samples downloaded from MSDN is also not working well. There are some changes fro...

How to obtain Handle.ToInt32() in an ASP.NET web application

I am trying to learn and use an SDK for a vendor's product. Unfortunately, the documentation is sketchy and I've run into a void in my own knowledge of the .Net Framework. I have some working code for a windows forms application and I am trying to get it working in an ASP.NET web form app. The vendor documentation implies you can do thi...

Create a Program that Sits in The Windows Taskbar and, When Activated, Stops the Screensaver From Starting

I don't really know where to begin. Let's start with the stupid questions: What language should I use for this? What is suited for the task at hand? Next, the real ones: Is there a way to stop the screensaver from starting, short of changing the cursor position? If not, will changing the cursor position even work? ...

Printing from swing on Mac & Windows - Where is postscript support?

I'm printing a complicated swing application UI to a physical printer via an Airport. I've got Mac & windows machines both printing to the same printer. Printing from the Mac looks great. Printing from windows looks far from great - everything is very pixelated, including fonts and graph lines. Some digging around reveals that the av...

how do i read a fedora partition from windows?

Windows recognizes and gives my fedora partition a drive letter, but it shows it as blank. Is there a way to get windows to read ext3 filesystem? Its a fedora 10 partition. ...

Locating the installation location of a 3rd party application in an .msi project in MSVS

Context: I have a handful of plug-ins (which are really just DLLs with a different extension) that need to be installed in a sub-folder of a 3rd party application. Usually it's enough to simply copy them to said folder, but occasionally there are other libraries that need to be installed as well. I'd like to make this process less error-...

What is Working Set ?

I'm confused with the concept of Working Set ,while reading the Memory Management code of the Windows Research Kernel. ...

Determine if network printer is Client-Side Rendering (CSR) or Server-Side Rendering (SSR)

Vista introduced a new type of rendering for printers, Client-Side rendering.link text From the Printer Interface DLL, is it possible to determine if the printer is set to CSR or SSR? ...

Is it better to use the Perl DBI module or to set up a system DSN and use ODBC?

I am using Perl to collect data from several logfiles and store it into an Oracle database on the same Windows 2003 host I am running my script on. Is it better to use the Perl DBI module or to set up a system DSN and use ODBC? Thank you ahead of time! Michael ...

How do I determine the identity of a Windows machine?

I have a program consisting of a server and a client processes. Both run on Windows systems - Windows 2000 or later versions. The two processes can run on the same machine or on two different machines. How can the client determine if it is run on the same machine as the server? If the server is not running the client can't work anyway a...

Convert lib + header file to DLL

I have a library (lib file + .h header file). I like to turn it into a DLL so I can easiliy use it in VB6. Is there a convenient way to do this? ...

Windows Forms Control in IE not responding to JavaScript calls

I have a problem with a Windows Forms control wrapped up in a DLL and deployed to IE within an Object tag. The object should return a string which Javascript puts into a hidden field ready for posting back to the server. This is an approach I have used several times, but I am now getting the dreaded "Object does not support this method o...

Detecting hardware overlay

How can I detect if a given window has an hardware overlay surface? (like MediaPlayer, WinDVD, VLC,...) ...

Starting a Windows service in an interactive session

A colleague has a batch script program which needs to to run on a Windows Server in console mode, so that it has access to a Windows interactive session. The server is rebooted at regular intervals automatically (there's an unrelated closed-source application that runs on this machine that we have no control over). After a reboot he want...

Ruby Keyboard event handling

Hello im using curses to develop a small console application. I have a main loop section wich waits for user input, it uses the getstr function, of course this waits for the user to press enter. I would like to capture the up and down and tab keypresses. I suppose this can't be done with getstr. Anyone have any idea how to do this? ...