I attended TechEd on the Gold Coast last week, and took advantage of a free offer by Pearson VUE to take a free certification exam. I studied really hard (figuring that even if I failed, then at least I had experienced an exam without it costing me anything).
Well the study paid off, as I passed "Developing and Implementing Web Applications with Microsoft® Visual Basic® .NET and Microsoft® Visual Studio® .NET" with an excellent result - 962!
I'm going to see if I can have a go at 70-310 before the end of the year, and maybe complete the MCAD or MCSD next year.
Here are links to resources mentioned in my presentation
to the Adelaide SQL Server User Group (18th August).
I've been working on a program that needs to enumerate all the Control Panel applets in Windows, and ideally get the proper display name (rather than the .cpl filename).
You can do this for a specific applet by using the DllImport Attribute to access the CPlApplet function that every applet implements:
My problem is that I needed to call this function for all applets (including non-Microsoft ones).
.NET allows you to do dynamic P/Invoke code, but the only post I found in Google was from someone who was unable to get it to work.
After using ildasm.exe to study what IL was generated by the static version, I noticed that the once major difference was that the dynamic version lacked the "preservesig" statement.
The way to add this in is to use a custom attribute - you can't do it via a parameter for any of the methods.
The final version in VB.NET is based on the sample code from http://www.thecodeproject.com/csharp/dynamicinvokedll.asp
Rellie's raison d’être
Narelle has started her own blog!
SourceForge.net: Project Info - NUnitAsp Code Generator
: "A tool to generate source code test classes for NUnitAsp from web pages (via a URL) or by analysing .aspx pages"
The source code is now in its own SF project!