Blog Archives for category Resources

How to find Datasource from Connection String?

Recently, I stumbled upon request to show data source property from Connection String to the end user. While, we can… Continue reading »

How to find Datasource from Connection String?

Recently, I stumbled upon request to show data source property from Connection String to the end user. While, we can… Continue reading »

“HTTP Error 404 – File or Directory not found” error message when you request dynamic content with IIS 6.0

To permit IIS to serve dynamic content, the administrator must unlock this content in the Web service extensions node in… Continue reading »

“HTTP Error 404 – File or Directory not found” error message when you request dynamic content with IIS 6.0

To permit IIS to serve dynamic content, the administrator must unlock this content in the Web service extensions node in… Continue reading »

How to view line numbers in VB.NET

Remember line numbers ??? Long time ago, they were used to branch them with a ‘Go To’ statement. And it… Continue reading »

How to view line numbers in VB.NET

Remember line numbers ??? Long time ago, they were used to branch them with a ‘Go To’ statement. And it… Continue reading »

Stopping a form closing using vb.net

Quick and useful tip..   Private Sub MyForm_Closing(ByVal sender As System.Object, ByVal e As _             System.ComponentModel.CancelEventArgs) Handles MyBase.Closing Try… Continue reading »

Iterating through a Dictionary Object’s Items in VB.NET

Good example for iterating through dictionary object… Dim DictObj As New Dictionary(Of Integer, String)  DictObj.Add(1, “ABC”)  DictObj.Add(2, “DEF”)  DictObj.Add(3, “GHI”) … Continue reading »

Simulate Keystrokes using Win32 API (SendInput)?

Recently, I was modifying the old softphone source code (written in VB6) and encountered error using ‘SendKeys’ function. Sometimes, it… Continue reading »

How to multiple selected items from List Box (VB6)?

Ever wondered how to remove multiple selected items from list box in VB6? Trick here is loop through listbox in… Continue reading »