Populate TreeView From Custom Object Using Serializer
Posted by Eric in .NET 2.0, .NET 3.5, ASP.NET, Web Services on December 21, 2010
From time to time I need to spit out the public properties of an object for various reasons. A typical use would be to show user friendly results from a web service that returns a complex object. There could be tons of other uses! After doing this a few times, I finially decided to post [...]
Ceton InfiniTV 4 CableCARD Installation on Verizon FiOS
Posted by Eric in Uncategorized on December 20, 2010
The tech made it out this afternoon and completed the install in about 30 minutes. He could have left earlier since the InfiniTV Diagnostic Tool showed green check boxes on everything, but he stayed while I configured Windows Media Center tuner just to see it in action. It was his first Ceton install although he [...]
Automatically Add RequiredFieldValidator to TextBox Controls
If you are like me, you hate having to create the required field validators for a bunch of TextBox controls. Even more if you are adding Ajax ValidatorCallout controls to all of them. Sure, you could create another server control to extent the Textbox to automatically include this…but here is a simple alternative. I created [...]
T-Mobile G2 Review
Posted by Eric in Uncategorized on November 12, 2010
I recently upgraded to the T-Mobile G2 coming from the HTC myTouch. Is has almost been a week of using the device and so far I am impressed! Added voice functionality This is courtesy of the latest version of Android (Froyo). It is very useful to say things like “Call Papa-Johns” and have it call the [...]
IE: scrollTop Not Working As Expected
I banged my head on this one for a couple of days. Still got a defect out of the deal, but finally got it working. I had an ajax tabcontainer with several tabs. In some of these tabs was GridView. I had overflow set on a DIV that the GridView was placed in so that [...]
.NET Serialization: Binary, SOAP, and XML (VB)
In .NET when you need to shrink an object into a more portable format you have 3 choices. Binary, SOAP, or XML. The process of shrinking and expanding the object is called serialization and deserialization. Each option has it’s own advantages which I will explain. Binary You can serialize an object into binary format quite [...]
JobTime: Time Clock Web Application And Job Cost Tracking
Posted by Eric in .NET 2.0, AJAX, ASP.NET, Web Applications on September 5, 2009
Background The company needed to track time logged to particular jobs/projects. The initial idea was to use a site like ClickTime. However, for an employee to log time against a job, you would need to tell ClickTime all of your jobs (which would be tedious) or configure an integration app to automatically populate the available [...]
Cross-thread operation not valid: .NET Cross Threading To Update Form Control
Posted by Eric in .NET 2.0, .NET 3.5, Code Snippets on September 3, 2009
So you get the “Cross-thread operation not valid” error because you are trying to update an object on your form from a thread. I am not going to try to “glamor” you (True Blood reference) with fundamentals of delegates, threading, etc. If that is what you are looking for, search Google and you will find [...]
Automatic Email Alerts From Any SQL Query
Posted by Eric in .NET 2.0, Desktop Applications, MS SQL on September 2, 2009
Problem Reminder emails were needed to be sent out to remind sales staff to follow up on projects. Solution I developed a simple command line executable that takes 1 parameter which is an XML file. The contents of the XML file would look something like: <?xml version=”1.0″ encoding=”utf-8″ ?> <Settings> <ErrorEmail> <Email>email@gmail.com</Email> </ErrorEmail> <SummaryEmail> <Email>email@gmail.com</Email> [...]




