Why don’t Focus() and SetForegroundWindow() work?

Once upon a time Microsoft decided these functions would no longer bring things to the foreground on Windows (about the time of Windows ME). Instead, these functions would make the taskbar button of the program or window flash incessantly.

This is all well and good, and I’m sure there were good intentions behind it, but quite frankly, it’s annoying when your app is supposed to come to the foreground and it doesn’t.
Read more

C++: How do I access Form1 from Form2 and vice-versa?

At first glance, this seems like an easy task. All you want to do is access a member variable or control from Form1 on Form2, and do the same from Form2 on Form1. Unfortunately, this is not the easiest thing to do, at least in (Managed) C++.
Read more

Old Flash Players

I’ve recently been assigned the task of rewriting Mapwing Flash Viewer (MFV) to be more optimized and add new features, etc. In the course of this task, it’s become necessary to be able to test the MFV in older versions of Macromedia’s Flash Player (FP).

On my development machine, I use Flash 8 Pro to develop our software. I also have a copy of MX 2004 Pro that I keep around in case I want to test something. The problem is that I didn’t want to have to install the entire development program on machines to just test the MFV in the two versions of FP (and the fact that doing so would be in violation of licenses).

Thankfully, Macromedia (or Adobe, now) provides a repository to download almost all old versions of the FP (including different revisions of major versions) on their website. You’ll find a link, just below.

New Link:
Archived Flash Players at Adobe.com.

Old Link:
Archived Flash Players at Macromedia.com.


Pertains to:
Flash Player 7 Download, Flash Player 6 Download, Flash Player 5 Download, Flash Player 4 Download, Flash Player 3 Download, Flash Player 2 Download, Old Flash Player Download, flash7installer.exe Download, flash6installer.exe Download, flashplayer7_winax.exe Download, install_flash_player.exe Download

Updated Aug 12, 2010 to point to new adobe.com page.

Unhandleable Exceptions

There is this wonderful error that sometimes happens when you’re running your .NET app on machines that are not your development machine:

Quote:

Application has generated an exception that could not be handled.

Read more