Tags » VB.NET

Iterating Over an Enumerable - Creating a "Days of the Week" Drop Down Menu

Enumerations are extremely valuable for managing sets of numeric values such as status codes or days of the week.  Most of the time, you would create an enumerable to simplify values used in multiple points that have the same representation, in order to improve the readability and re-usability of your code.   444 more words


Testing SMTP send email code on Localhost using smtp4dev without having SMTP server setup

Another useful software smtp4dev

smtp4dev is for Windows 7/ Vista/XP/2003/2010 compatible dummy SMTP server. This can be use for the SMTP send email testing of development project on local machine. 98 more words


Differences Between ASMX and WCF Services

Some differences between ASMX and WCF services are subtle and some differences between them are not subtle. The purpose of this section is to identify many of these differences and to provide guidance for how to handle them when preparing for, or when performing, migration. 2,143 more words

.Net Framework

Its time. I'm making a stand. MyNamingConventionManifesto.

Variable names, filenames and other technical names.  Hungarian notion, abbreviations, verbosity, camel case and mixed case.  How many of my projects have used mixtures of these conventions?   124 more words

How to pass objects back from Backgroundworker thread: Tuple Class


using System;
using System.ComponentModel;

private void StartBackgroundWorker()
BackgroundWorker worker = new BackgroundWorker();

worker.DoWork += new DoWorkEventHandler(worker_DoWork);
worker.RunWorkerCompleted += new RunWorkerCompletedEventHandler(worker_RunWorkerCompleted);

// Declare Tuple object to pass multiple params to DoWork method. 137 more words

Paying it forward with Visual Studio Hotfixes

Recently had the Ultimate Visual Studio nightmare. No matter what the Project, VSTO would crash.
This should apply to all versions since, say 2008 but in my case it was 2010 Ultimate. 69 more words


JavaScript: Cookies

A cookie is a variable that is stored on the user’s computer. You can use Javascript to create and retrieve cookie values.

To create a cookie: 106 more words