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 [...]

, , ,

No Comments

.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 [...]

, , , , ,

No Comments

JobTime: Time Clock Web Application And Job Cost Tracking

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 [...]

, , , ,

No Comments

Cross-thread operation not valid: .NET Cross Threading To Update Form Control

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 [...]

, ,

No Comments

Automatic Email Alerts From Any SQL Query

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> [...]

,

No Comments

A .NET Bit.ly API Helper Class (Visual Basic.NET)

I decided to write a helper class for using the Bit.ly API for creating short urls.  You know, those tiny links that you see all over Facebook, Twitter, etc.  The snippet below shows how you would use the helper class.  Not only can you shorten an url, you can shorted multiple urls in a single [...]

, , , , ,

No Comments

Custom Replace with Regular Expressions in .NET

This is the second time I have had to do something like this.  So this time I am posting it for my reference.  Regular expressions are amazing and amazingly difficult to understand sometimes, but they come in very handy.  I was in a situation where I was going to need to  feed in a custom [...]

, , ,

No Comments

E-manage Mobile Portal

Background: E-manage is a business management application.  It is capable of managing customer databases (CRM) as well as projects, invoices, purchase orders, and inventory to name a few.  The e-manage client application runs on a users desktop and uses Microsoft .NET as foundation along with a Microsoft SQL Server as the back-end. Problem: Getting information [...]

, , ,

No Comments

eManage Search for Blackberry

Background: Our CRM software contains a huge list of contacts that are only available from within the software application. Problem: It becomes a challenge when a sales team member is out of the office (on the road) and needs a customer’s phone number or email address.  It is typically not feasible to boot up their [...]

, , , ,

No Comments

Desktop Loader

Background: As new updates or new applications come to light, they need to be installed on everyone’s machine in the company. Problem: It becomes a challenge to automatically install applications on everyone’s machine.  At the time this was typically done using "Logon Scripts" that fire off after you log in.  However, this would only work [...]

, ,

No Comments