Archive for the 'Development' Category
Working with shell32.dll
Tuesday, February 17th, 2009I’m working on a project that requires hooking shell32.dll for various reasons and found a few code examples (not completely related).
Browse for folders using Shell32.dll’s BrowseForFolder method in C# — an example of restricting a browse dialog to folders only — useful for designating a working directory.
P/Invoke SHSetKnownFolderPath — apparently a Stack Overflow user wants to redirect a known folder path to another folder path.
These examples however were gold:
Low-level Windows API hooks from C# to stop unwanted keystrokes.
Additional Links
IProgressDialog .NET — for some inexperienced reason it never even dawned on me that there might be an interface for native progress dialogs.
Zmanda an open source backup solution for MySQL
Tuesday, February 17th, 2009I’m all for open source and this one is simply smashing.
More Pocket PC coding examples (my fave)
Saturday, February 14th, 2009Pocket PC Programming Tips
Friday, February 13th, 2009PocketPC Programming for PocketPC and Windows CE (Orb Works)
A dead KrugSoft. I really wish this one was still around as I’d love to see what
Mobile Development (General)
Friday, February 13th, 2009For some reason stuff like this never even dawned on me that it exists. Then again until last year I didn’t know mobile devices existed that actually ran operating systems.
So here’s some non-Windows mobile developer stuff.
Put dependencies under source control
Thursday, February 12th, 2009Another Stack Overflow gem in “How to use Office from Visual Studio C#?“ The question was exhausting but one of those who responded had some sagely advice:
The answer is to “Copy Local” whatever assembly dll you get for the interop. Once you have the assembly dll in your output folder, add a reference to it, and check it into source control.
Now everyone has the referenced assembly dll.
—anonymousstackoverflow
Now I’m sure to some that may sound like kindergarten learning but it never dawned on me to put external dependencies under source control.
In this fashion a set of legacy developers can maintain legacy code while emerging standards developers can maintain the latest emergent standard — both separated from the other one’s development.
I’ve had a light bulb and it’s warm.
Reference and Value Equality in C#
Wednesday, February 11th, 2009A nice little explanation of Clean Solution in Visual Studio
Wednesday, February 11th, 2009More information on what can and cannot be messed with after you do your research like I mentioned here.
Auto-generating braces (or whatever really) in Visual Studio
Wednesday, February 11th, 2009The question, “How do I make Visual Studio auto generate braces for a function block?” had some really awesome replies with TONS of useful links.