|
Browse Blog Posts by Tags
All Tags » Tips & Tricks ( RSS)
-
It's time for another episode of Good Idea / Bad Idea: Good Idea! Catching a specific exception from a suspect numeric conversion and showing a polite input error message. Bad Idea! Catching all exceptions and "swallowing" the exception. Okay, so it's not as funny as it is on Animaniacs , but true none...
-
I fell in love with WPF the first time I saw it in action! WPF is a thing of pure beauty! Anyway, from the second I saw how the data binding worked I knew that there was going to be a lot to figure out there! It also seems as though there is no real data binding expert -- or the experts don't blog too...
-
Sometimes those transaction logs get a little large and unwieldy! For dev machines I almost never want the transaction log to ever be larger than 1GB. I often find some transaction logs of 10GB and larger and there is little in the way of GUI tools to help you free up that wasted space. Luckly there...
-
I have been wanting to add JavaScript to my posts for months but have never gotten it to work. I can usually get around using JavaScript but I decided that I wanted to add a Digg tag at the bottom and that requires some JavaScript. Open the communityserver.config file in the root of the Community Server...
-
I had a problem connecting to my companies VPN a while ago. I found running the following helpful: Uninstall PPTP & L2TP Protocols: Windows PowerShell Copyright (C) 2006 Microsoft Corporation. All rights reserved. PS C:\Windows\System32> netcfg -u MS_PPTP Trying to uninstall MS_PPTP ... ...done...
-
WPF has built-in controls for ink, but is missing much of the API that is available in the TabletPC SDK 1.7. As a result, unless you are doing the most basic and mundane ink you will be required to use this library. One of those basic things that are missing is the ability to open the TextInputPanel...
-
I know the title of this post is a little bit of a misnomer, business objects will never map 1 to 1 with relational database objects. However, when just starting out and when you get to control the schema of the database, it sure makes a good starting point and this trick makes it really easy and avoids...
-
This is just a quick post. I had a bug where any time I tried to compile a WPF project on my laptop I got the following pair of errors: Error Message 1: The "SplashScreen" parameter is not supported by the "MarkupCompilePass1" task. Verify the parameter exists on the task, and it...
-
here is some great code for moving a window without a title bar. Step 1: Make your window transparent < Window x : Class ="TestWpfApp.Window1" xmlns ="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns : x ="http://schemas.microsoft.com/winfx/2006/xaml"...
-
Have you ever noticed that with IE7 you can only download 2 files from any given domain at any given time? It's actually slightly worse than that, you may only have 2 connections total, including a connection to request web pages. That means if you are downloading two things from a single domain you...
-
Every company I consult with invariably has their own "security" assembly and they all have a hard-coded encryption key with the IV and the method to decrypt is right next to the method to encrypt. This is what I call marginal protection . Yes, it's encrypted and will probably get a security...
-
Naming conventions are like arm pits. Everyone has them and they all stink! Well, at least that's the perspective of pretty much every developer an DBA alike. I will present my own personal philosophy for naming conventions on databases and hopefully spawn some discussion in the process. Basic Principles...
-
When I seem to have re-occurring themes happen naturally I find that those are good things to blog about. Recently I was speaking with my brother (who has incessant adware problems) about Internet Safety and Cyber Security. A week or two ago I had a stimulating conversation with my friend Anthony about...
-
The term "circular dependency" may be foreign to some programmers (especially if you do Java as it is a pretty common practice). However, anyone who has done some scripting for a referential database knows that you have to run scripts in a certain order. Running scripts out of order causes...
-
Microsoft Silverlight 2.0 Beta 2 has been released. This version is supposed to be pretty stable as I understand it. The tools on the other hand, still feel very much like a beta! I had a heck of a time getting this junk installed! The link to download Silverlight 2.0 Beta 2 for Visual Studio is here...
|
|
|