Categories

Entries for 'Eric Anderson'

Compiling 32-bit Apps for 64-bit Windows
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. I have been involved with the conversion of a motor drive configuration application from Visual J++ to C# .NET as described in this case study.  This application still relies on many legacy 32-bit drivers...

Continue reading →


Asynchronous Message Box in WPF
Eric Anderson

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. Recently, I needed to use a message box in WPF but did not want to block the calling thread. The usual searches pointed to creating a message box-like window and calling Show, which returns immediately and allows the calling thread to continue. There is so much built into the message box, though, such as standar...

Continue reading →


State-Case Machines Replace Gotos
Eric Anderson

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 asynchronous action must be halted and reinitialized before it is restarted. Initially, my first attempt at implem...

Continue reading →


IE Tab for Google Chrome
Eric Anderson

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 not look right or be usable on other browsers. This is especially true of Microsoft SharePoint, which uses ActiveX control...

Continue reading →


Real World Azure
Eric Anderson

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 Developer. Dave discussed the advantages and disadvantages of hosting applications on-premises, in a data cente...

Continue reading →


State Transition to Ladder Diagram Translation
Eric Anderson

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, outputs, and states. In these applications, the state transition diagram or sequential function chart are better tools. Bo...

Continue reading →


Categories