windows

Best Subversion clients for Windows Vista (64bit)

I've been using TortoiseSVN in a Windows environment for quite some time. It seems very feature-complete and nicely integrated into the Windows shell, and more importantly, it's fairly painless to teach to colleagues with little or no experience with source control. However, since we have moved to Windows Vista 64bit, Tortoise has bee...

Embedding Windows Media Player for all Browsers

Hello, we are using WMV Videos on an internal sites, and we are embedding them into web sites. Now, this works quite good on Internet Explorer, but not on Firefox. I've found ways to make it work in Firefox, but then it stops working in Internet Explorer. We do not want to use Silverlight just yet, especially we can be sure that all cl...

Register Windows program with the mailto protocol programmatically

How do I make it so mailto: links will be registered with my program? And then how would I handle that event in my program? Most of the solutions I found from a quick Google search are how to do this manually, but I need to do this automatically for users of my program if they click a button such as "set as default email client". Edit...

How do you schedule tasks in Windows?

I run into a situation every couple of months where I need to develop a solution that's scheduled to run periodically, but I haven't found a way to handle this in Windows that I'm entirely happy with. Every time I do it, I end up feeling corralled into using a Windows Service, which seems to be an unacceptable amount of overhead for som...

WinForms ComboBox data binding gotcha

Ok, I'm a web developer, but I find myself dabbling in windows forms projects every now and then. One thing that confounds me to this day is the following. Assume you are doing something like the following List<string> myitems = new List<string> { "Item 1", "Item 2", "Item 3" }; ComboBox box = new ComboBox(); box.DataSourc...

Get a preview jpeg of a pdf on windows?

I have a cross platform (python) application which needs to generate a jpeg preview of the first page of a PDF. On the mac I am spawning sips. Is there something similarly simple I can do on Windows? ...

Best way to access Exchange using PHP?

I'm writing a CMS application in PHP and one of the requirements is that it must be able to interface with the customer's Exchange server. I've written up this functionality a few times before and have always used WebDAV to do it, but now I'm leaning away from that. I will be running the site on IIS OR Apache (no preference) on Windows...

Heap corruption under Win32; how to locate?

I'm working on a multithreaded C++ application that is corrupting the heap. The usual tools to locate this corruption seem to be inapplicable. Old builds (18 months old) of the source code exhibit the same behaviour as the most recent release, so this has been around for a long time and just wasn't noticed; on the downside, source delt...

Windows Help files - what are the options?

Back in the old days, Help was not trivial but possible: generate some funky .rtf file with special tags, run it through a compiler, and you got a WinHelp file (.hlp) that actually works really well. Then, Microsoft decided that WinHelp was not hip and cool anymore and switched to CHM, up to the point they actually axed WinHelp from Vis...

What is a better file copy alternative than the Windows default?

I need to copy hundreds of gigs of random files around on my computer and am pretty leery of using the vanilla file copy built into Windows. I don't want it to hang on a "Are you sure?", "Are you really sure?", "Even zip files?", "Surely not read-only files too!" loop as soon as I step away. I don't want it to work for hours and then s...

Linux shell equivalent on IIS

As a LAMP developer considering moving to a .Net IIS platform, one of my concerns is the loss of productivity due to lack of shell... Has anyone else had this experience? Is there possibly a Linux shell equivalent for Windows? ...

XML Editing/Viewing Software

What software is recommended for working with and editing large XML schemas? I'm looking for both Windows and Linux software (doesn't have to be cross platform, just want suggestions for both) that help with dealing with huge XML files....

Appropriate pagefile size for SQL Server

Does any know a good rule of thumb for the appropriate pagefile size for a Windows 2003 server running SQL Server?...

What's the best setup for Mono development on Windows?

I started trying to play with Mono, mostly for fun at the moment. I first tried to use the VS plugin that will convert a csproj into a makefile, but there seemed to be no version available for VS2005. I also read about the MonoDevelop IDE, which sounded nice. Unfortunately, there's no pre-fab Windows package for it. I tried to follow som...

How do I configure and communicate with a serial port?

I need to send and receive data over serial connections (RS-232 and RS-422). How do I set up and communicate with such a connection? How do I figure out what the configuration settings (e.g. baud rate) should be and how do I set them? In particular I am looking to do this in Java, C/C++, or one of the major Unix shells but I also have...

How can I create Debian install packages in Windows for a Visual Studio project?

I'm developing some cross platform software targeting Mono under Visual Studio and would like to be able to build the installers for Windows and Linux (Ubuntu specifically) with a single button click. I figure I could do it by calling cygwin from a post-build event, but I was hoping for at best a Visual Studio plugin or at worst a more W...

OpenVPN Config file to prevent timeout

I am using OpenVPN with an *.opvn config file under Windows XP to connect to a VPN server. Everything works fine, I connect successfully, but after 2 minutes or so of inactivity my connection dies. Does anyone know if this is a: OpenVPN config problem Windows problem Client network problem Server VPN config problem Server network probl...

Ruby On Rails with Windows Vista - Best Setup?

What do you think is the best set-up for RoR in a Win Vista environment? I've tried the radrails eclipse plug-in, and it just seemed too bulky for me, I've also started to just use Textpad and the command line, but I'm used to having somewhat of an IDE to work with. Thanks for the help!...

PHP Error - Uploading a file

I'm trying to write some php to upload a file to a folder on my webserver. Here's what I have: <?phpif ( !empty($_FILES['file']['tmp_name']) ) {    move_uploaded_file($_FILES['file']['tmp_name'], './' . $_FILES['file']['name']);    header('Location: http://www.mywebsite.com/dump/');    exit;}?><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1....

Is there a WMI Redistributable Package?

I've been working on a project that accesses the WMI to get information about the software installed on a user's machine. We've been querying Win32_Product only to find that it doesn't exist in 64-bit versions of Windows because it's an "optional component". I know there are a lot of really good alternatives to querying the WMI for this ...