The OpenXML DocX format in Microsoft Word offers a new, accessible format for manipulating documents. Whereas the previous “doc” format was proprietary, the new “docx” format directly exposes XML source files, enabling developers to generate dynamic Word documents, or directly edit their content. This brings opportunity for exciting tools such as text replacement algorithms and native mail-merge. Along with the opportunities, however, come several challenges and caveats that need to be handled in development.
Continue reading
Monthly Archives: May 2014
Web Development Tips – Disabled Input Elements in Postback
When developing forms for the web, there are two methods to make a form element non-editable – using either the “readonly” or “disabled” attributes. Each method has its benefits and drawbacks, however there is a workaround available to combine the best of both worlds.
Continue reading
Windows Madness – Why Your Operating System Will Always Be Too Slow
Since the first personal computer, both consumers and business users have been complaining about slow speed. A large part of the reason that processing power has regularly doubled every two years, is that the current speed always seems inadequate. It’s not that users’ requirements have been increasing significantly – it’s that due to anti-virus software, poorly written drivers, and unoptimized software, the status quo will always remain “too slow.”
Continue reading
Ghost in the Machine – Deep Software Analysis with ProcMon
Occasionally, it is necessary to integrate a software package that just isn’t working, and no support is available. For instance, the version might be so old that the development company no longer support it, yet the software is still a critical part of the client’s IT infrastructure. Without the source code, and only a cryptic error message or random failure for guidance, how do we solve the problem?
Continue reading
Encrypting Passwords for the Web
ASP.NET, PHP, and most web platforms offer a variety of techniques for data encryption, ranging from simple hashing to fully reversible encryption algorithms. Developers will need to choose the algorithm that offers the most security possible, while sacrificing the least amount of capability.
Continue reading
Enable and Test URIDNSBL DNS Blocklists with SpamAssassin
SpamAssassin, the most popular open-source spam fighting software, is used by email server administrators to reduce spam and improve user productivity. One of the features of SpamAssassin is dynamic lookups of domain names to see if they are on a DNS blocklist maintained by web authorities.
Continue reading
Improving Rendering Speed in the C# PictureBox
Windows Forms’ most versatile control is arguably the PictureBox. By overriding the OnPaint method, the PictureBox can be used to recreate the functionality of most other controls. One challenge, however, is using the PictureBox for animations or graphics applications that require a quick frame rate. Below are a few methods for pulling the maximum possible FPS from the C# PictureBox control.
Continue reading
Highlight Table Rows using Javascript
When developing web applications with wide tables, it’s often difficult to scroll horizontally and see which row corresponds to which data. This is why most apps limit the width of any table to the width of the page. Still, at times it is necessary to show a large amount of data in a tabular format. This JavaScript scriplet will help add highlight functionality to any HTML table.
Continue reading
What’s wrong with the ASP.NET Software Architecture
ASP.NET is Microsoft’s flagship web development framework. Released together with the .Net framework in the early part of the twenty first century, it’s goal was to revolutionize web development and create a more structured and effective way of web development. Far from reaching its goals, the framework has turned into a bloated caricature of itself, unable to adapt to the times and requirements of modern software.
Continue reading
The Grass Is Always Greener On the Next Framework
Over the past 20 years, Microsoft has been releasing a multitude of frameworks and application development platforms. Each framework has a unique set of constructs, and often requires developers to learn a new language in order to take advantage of its benefits. Unfortunately, due to the major structural differences between the languages, most old applications need to be completely rewritten to gain access to the new features. This leaves many to wonder – is it worth the effort?
Continue reading