June 29th, 2007
Covers Exam Objective: 70-526 - Create and configure a MenuStrip component on a Windows Form.
One of the challenges with designing graphical user interfaces is to present the controls and information when the user needs them and at the same time not clutter the interface. Most applications however, include a wide variety of options and functions that need to be within reach at all times. A familiar way to allow users access to common functions in Windows applications is to use menus.
There are many different types of menus being used in today’s software of which several are available as components in the .NET framework. By creating custom controls, extending existing controls, and/or by using GDI+, you can create an endless range of menus that differ in look and functionality. In this article, I will cover the two exam objectives listed above, so in particular the MenuStrip component.
The MenuStrip represents the most common menus in Windows apps – the main menu at the top that often starts with a File menu option. It is derived from the ToolStrip component. Just to make sure we all know up front what we’re talking about, the following image depicts the menu in Visual Studio VB Express edition:

As we all know, most of Microsoft’s own software often includes a huge amount of menu options. There is a good chance the first app(s) you create do not contain that many options and then a MenuStrip may seem like overkill. However, besides being a familiar component for users, it can give the GUI some weight and it can easily be extended because of its hierarchical structure. So if the functionality of your application is likely to expand over time, using a MenuStrip from the start can prevent you from having to make major changes to the GUI.
Read the rest of this entry »
Posted in 70-526 | 5 Comments »
June 24th, 2007
I noticed today that the clock on my Windows XP computer was five minutes slow. I always know the correct time because I have one of those “atomic clocks” hanging on my wall that synchronizes itself to WWV every night. My wall clock’s time also matched the correct “Verizon time” displayed by my cell phone. The strange thing was that my Windows XP computer was also configured to synchronize its own clock with an Internet time server maintained by NIST. So why did my Windows XP computer loose five minute?
Read the rest of this entry »
Posted in JDMurray | 18 Comments »
June 12th, 2007
Microsoft Certification Exam: 70-526 (MCTS)
Objective: Create and use custom dialog boxes in Windows Forms applications.
Language: Visual Basic 2005 (click here for the C# version of this entry)
I remember the first time I needed to create a dialog box in a .NET application that I was writing in C#. Being a long-time Visual Basic programmer, I assumed that this could easily be accomplished by using a dialog box template included with Visual Studio.NET. To my surprise, no such form template existed for C#, although one does for Visual Basic 2005. After wading through several books and Web pages filled with information on Windows Forms 2.0 programming, a basic set of steps became apparent to me for manually converting a .NET form into a Windows dialog box:
1. Add a Form to your .NET project and name it “DialogBoxForm”.
2. Drop two buttons in the lower right-hand area of the Form and name them “OKButton” and “CancelButton”.
3. Change the following properties of the Form to adjust its appearance and behavior to be like a standard dialog box: Read the rest of this entry »
Posted in 70-526 | 5 Comments »
June 5th, 2007
Posted in General | 2 Comments »
June 5th, 2007
Microsoft offers several developer certifications and exams covering various Microsoft technologies including the .NET framework. There are several good reasons for pursuing Microsoft Developer Certifications and for choosing .NET as a framework for your Web and Windows applications:
- The free Visual Studio Express editions – These are limited but still very functional editions of Visual Studio, which allow you to create applications using many of the topics in the exam objectives.
- Suitability for beginners – Both the Visual Studio Express editions and several of the exams mentioned in this overview do not require you to be a seasoned developer/programmer. You don’t need to be a mathematician either, although both will obviously be an advantage.
- Microsoft supports the multiple different languages (and corresponding Visual Studio Express editions) for developing in the .NET 2.0 Framework: Visual Basic, C#, C++, and J#. Depending on the exam, you must choose a language when you start the exam that will be used for the code segments in exam questions. You can usually choose between Visual Basic 2005 and Visual C# 2005, and sometimes Visual C++ 2005.
- Although the majority is not created for the certification exams covered in this overview, the .NET framework, Visual Studio, and especially Visual Basic and C# are widely supported on the Internet.
The main downside is that the applications you create require the .NET framework, which typically runs on Windows only.
Before we go over the ‘current’ Microsoft Developer certifications let’s have a look at the older ones. The following two certifications are still available for version 1 and 1.1 of the .NET framework:
MCSD (Microsoft Certified Solution Developer)
This certification covered several topics over a total of 4 core exams: .NET solution architecture, Web development, Windows development, and XML Web services and server components, and one elective exam. For three of the core exams, candidates can choose between VB and C#.
MCAD (Microsoft Certified Application Developer)
The MCSD was overkill for many developers so Microsoft created the MCAD, which focuses on building, deploying, and maintain Microsoft Windows and Web applications, while the MCSD also includes analyzing and designing enterprise solutions. The MCAD requires two core exams and one elective.
For those who have a lot of experience with the .NET framework 1.0 and/or 1.1 could still go for the above and possible later upgrade to the following certifications. But in general, it’s better to pursue one of the following newer certifications:
Read the rest of this entry »
Posted in General | No Comments »