.Net

May 16th, 2012

Tweet How does one export the contents of a datatable to an Excel spreadsheet? There is a bunch of sample VB.Net code on the net that deals with this – the exporting the contents of a System.Data.DataTable to a comma-delimited file (CSV or more commonly referred to as Excel) via an ASP.Net website.  It’s pretty [...]

Continue reading about Export DataTable to Excel

September 9th, 2011

Tweet I don’t see much talk of interface programming/development these days so I thought an example might help someone. All that is written here applies equally to all the Microsoft .Net languages (VB.Net, C#.Net, etc…) and the different types of software graphical user interfaces, ASP.Net web sites, Windows services, etc…). What is an interface? In [...]

Continue reading about Interface Programming

August 8th, 2011

Tweet The IIF function in Microsoft VB is a statement that allows you to evaluate an expression and return one of two objects depending on the result of the evaluation.  Neat. The problem that I had with IIF is that it  always evaluates the true and false parts of the statement no matter the result [...]

Continue reading about IF or IIF

August 6th, 2011

Tweet This is a continuation of how to utilize Microsoft Message Queuing (MSMQ) in your application. The previous post on the subject is here. In most cases; the application, service, or web site that reads from an MSMQ will be local to that queue (on the same Windows computer or virtual machine).  However; there are [...]

Continue reading about MSMQ – Receive Remote Message

July 28th, 2011

Tweet The introduction to this serious of Microsoft Message Queuing (MSMQ) posts is here. This time around, I’d like to show you how to read (or receive, dequeue, or pick) a message from a local queue. By default, the first message read from the queue is the message with the highest priority followed by the time [...]

Continue reading about MSMQ – Receive Message

July 27th, 2011

Tweet Microsoft Message Queuing (MSMQ) has been around a long time and, from my experience, is very stable. I have used the independent client approach with private queues in a variety of systems with excellent results. It is available in all versions of Windows Server and Windows 2000, Windows XP, Windows Vista, and Windows 7 [...]

Continue reading about Message Queuing

Get Adobe Flash player