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