windows

What software do I use to put floppies as images on a hard disk?

I still have a large number of floppies. On some of them there probably is source code I don't want to lose. I also don't want to take look at each one individually, as that's going to take a lot of time. What software would be best for copying all data to a hard disk, preferably while creating an index at the same time? I would also be...

Why "Content-Length: 0" in POST requests?

A customer sometimes sends POST requests with Content-Length: 0 when submitting a form (10 to over 40 fields). We tested it with different browsers and from different locations but couldn't reproduce the error. The customer is using Internet Explorer 7 and a proxy. We asked them to let their system administrator see into the problem fr...

Single Remote Desktop session in Server 2003

I have a headless server running Windows Server 2003, and administer it via VNC. It is set to auto login to a specific user account. I want to change to using Remote Desktop/Terminal Services. However, when I log in remotely a new user session is created (in addition to auto logged in session). Essentially I want a remote desktop connec...

trouble sending mail with free smtp

I am trying to send mail from a local iis app using localhost as my smtp server after installing free smtp but I am getting the following error: Mailbox unavailable. The server response was: Invalid recipient: 'validAddress'@hotmail.com Any idea what the problem could be? ...

V8 JavaScript Engine on Windows (MinGW)

The build instructions of V8 JavaScript Engine mention only Visual Studio 2005 and 2008. Has anybody been successful with MinGW on Windows XP/Vista? ...

Automount EBS volume in Amazon EC2 Windows Instance

Does anyone know how to auto-mount an Elastic Block Storage (EBS) volume when starting a Windows 2003 instance in Amazon's Elastic Compute Cloud (EC2)? ...

What Windows software do you like for personal "To-do lists" (especially using the Getting Things Done approach)?

I know this is a wee bit off topic, but I think a lot of programmers need this sort of thing and many use the GTD approach. My criteria: *Windows compatible. I prefer a desktop solution, but web-based option with a good UI might be acceptable. Easy to add a task to the "inbox" . (Single hotkey and I'm typing it in. I have fleeting th...

How to paste CSV data to Windows Clipboard with C#

What I'm trying to accomplish My app generates some tabular data I want the user to be able to launch Excel and click "paste" to place the data as cells in Excel Windows accepts a format called "CommaSeparatedValue" that is used with it's APIs so this seems possible Putting raw text on the clipboard works, but trying to use this format...

Extracting MAC addresses from UUIDs

A program that I work on assumes that the UUID generated by the Windows RPC API call UuidCreateSequential() contains the MAC address of the primary ethernet adapter. Is this assumption correct or should I use a different method to get the MAC address? ...

DNS problem, nslookup works, ping doesn't

I am setting up a development server in my flat. I have set up an Ubuntu DNS server on it and have added the zone weddinglist (just weddinglist - no TLD. It's just an internal domain.) This works fine on my Ubuntu laptop. On all my Windows PCs (Vista and XP) I get the following from the command prompt: C:\Users\Giles Roadnight>nslooku...

How to resolve this VC++ 6.0 linker error?

This is a Windows Console application (actually a service) that a previous guy built 4 years ago and is installed and running. I now need to make some changes but can't even build the current version! Here is the build output: --------------------Configuration: MyApp - Win32 Debug-------------------- Compiling resources... Compiling... ...

Fixing Copy/Paste for Remote Desktop Sessions

Recently I have been working with Remote Desktop. I use it to access a virtual machine implemented through Hyper-V. I have had many problems with the simple operation of cut-and-paste from my machine to the virtual one. The link between my clipboard and the remote clipboard is often broken. It is usual that this happens, when I copy/cu...

Creating a strip of selectable letters for a form

I wish to display a list of letters from a through z on a form. Each letter needs to be clickable with that value being passed as a click argument. Aside from creating 26 letters and using the click event of each letter does anyone know of a quick way to do this? I know how to load dynamic controls etc and how to do it that way. Just won...

How to uninstall a Windows Service when there is no executable for it left on the system?

How do I uninstall a Windows Service when there is no executable for it left on the system? I can not run installutil -u since there is not executable left on the system. I can still see an entry for the service in the Services console. The reason for this state is probably because of a problem in the msi package that does not remove t...

Where should I store my log file so a user has write permissions to it?

I currently store my log file in the Program Files\My App folder but some users don't have permission to write here if they are not a power user or administrator. Is there a common location for this type of log file? Thanks ...

Using C++ DLLs with different compiler versions

This question is related to "How to make consistent dll binaries across VS versions ?" We have applications and DLLs built with VC6 and a new application built with VC9. The VC9-app has to use DLLs compiled with VC6, most of which are written in C and one in C++. The C++ lib is problematic due to name decoration/mangling issues. Compil...

Transfering ASP Classic Pages from Windows to Linux

Has anyone tried a solution to host ASP classic pages on something else than IIS/Windows? I'm wondering if it would be a good idea to try one of the solutions for that problem. I know about Sun Java System Active Server Pages (or Chilisoft) but haven't tried it. Is there any big problems with those solutions? Does the hosted code need ch...

How do I make TortoiseSVN ignore empty directories that have been removed from the repo?

I've got some directories that have been moved or renamed. The Linux command line SVN client ignores these directories. The TortoiseSVN plugin for Explorer shows them. If I delete them and update, they come back. All of the file movement and deletion has been done using the Linux SVN CLI tools. When doing an 'svn update' or even a fresh...

How do I set a system environment variable in Windows XP without using the "My Computer" Dialog

I'm switching between different Java SDKs (1.4.2, 1.5.0 and 1.6.0) for various projects. I would like to set the JAVA_HOME environment variable on my Windows XP machine without going through the tedious My Computer -> Advanced -> [Select System Variable] -> Edit -> Ok -> Ok Is it possible to do this from the command line, or is there a...

How do I wake up my Windows monitors once turned off by power settings?

So my Vista machine is set to turn off it's monitors after 10 minutes. (Note : machine is not suspended, or hibernated) I have a .Net application running, that needs to "wake" the system at a specified time. As a human, you just move the mouse or press a key. How do I do this programatically? I've tried : programatically setting the...