Entries for 'Eric Anderson'

Compiling 32-bit Apps for 64-bit Windows
32-bit applications have been around for a long time while 64-bit operating systems are only recently gaining popularity. Therefore, I would expect that the 64-bit OS successors would make it easy to run legacy 32-bit apps. And, they do as long as you compile them correctly.[Read this blog...]
Asynchronous Message Box in WPF

The message box, in Windows Forms and WPF, is a useful, quick-and-dirty way to send an alert, display an error, and get simple input from the user.  The message box is, however, modal.

This blog article discusses using asynchronous programming to create a message box that will not block the calling thread.

[Read this blog...]
State-Case Machines Replace Gotos
Recently, I created a function to execute this simple flowchart: This function is executing within its own thread and starts an asynchronous action that executes in another thread.  This function periodically checks the system state.  Before the asynchronous action is started, an initialization action must occur.  After it is started, if the system state changes to Pause, the asy... [Read the rest of this blog...]
IE Tab for Google Chrome
 I liked Firefox.  It had tabbed browsing before Internet Explorer (IE) and seemed lighter and faster.  The plug-ins were also a great feature, especially IE Tab, which ran IE from within Firefox.  It was very easy to change the rendering engine and you could assign certain web sites to automatically switch to use IE. Certain web sites use non-standard features of IE and will ... [Read the rest of this blog...]
Real World Azure
Last Thursday, October 1st, Ben Zeinz and I attended the afternoon session of an MSDN event entitled "Real World Azure".  It introduced Windows Azure ahead of its upcoming release.  The morning session was geared towards IT personnel while the afternoon was for developers like us.  The session was led by Dave Bost, developer evangelist at Microsoft, who also hosts The Thirsty Develo... [Read the rest of this blog...]
State Transition to Ladder Diagram Translation
Ladder diagrams are an industrial programming language typically used on programmable logic controllers (PLC). This graphical language mimics a relay logic electrical schematic. For engineers that are not familiar with relay logic, though, ladder diagrams can be difficult to implement, debug, and maintain, especially when programming complicated machines with many inputs, outpu... [Read the rest of this blog...]