" Live as if you were to die tomorrow. Learn as if you were to live forever.. "
- Mahatma Gandhi

Determining host operating system using VB 6

Posted on November 23rd, 2015 by Pallavi Kar

All of us must have come across the fact that some set of codes are specific to a particular OS only and incompatible with others. In some instances they may also lead to system crashes. In such cases we need to track and identify the OS first and then proceed accordingly. So, here is how […]

Write text to File–VB 6.0

Posted on November 23rd, 2015 by Ansuman Sahu

The following code snippet would allow one to write text to a file in VB 6.0. This can help if some one wants to log any kind of information to a log file. The function basically accepts 3 parameters 1. The text/content of the line that needs to be written. 2. The path name where […]

Change Border Color of a Windows Form in VB.NET

Posted on November 23rd, 2015 by Kumari Vandana

Windows form has its default blue color form border style.We can customize its look and feel. Following are the steps : 1.In form’s property window set ‘FormBorderStyle’ to None.. 2.Now we need to paint the form border using any color we want. (a) Declare some variables ‘The color and the width of the border. Private […]