Browsing Visual Basic 6

Displaying page 1 of 3 | Prev | Next

Add a Web Site to the Internet Explorer Favorites List

PURPOSE: ADDS a Favorite to IE 4 or 5 List of Favorites

Posted:2007-05-08, 1780 views

Better App.Path Function

App.Path returns a string with the "\" character at the end if the path is the root drive (e.g., "C:\") but without that character if it isn't (e.g., "C:\Program Files"). Most of the time we need the "\" at the end, so this function saves you the inconvenience of adding it every time.

Posted:2007-05-03, 1693 views

Calculate Subnet Mask Function

Most developers don't have much of a clue about network fundamentals. What may be a simple thing for a network engineer or system administrator may leave a developer simply scratching his or her head.

Posted:2012-09-16, 880 views

Change the Extension of Files in a Specified Folder

This function will allow you to change the extension of files within a specified folder. You can either change the name of all files, or files with a specified extension. A reference to the Scripting Runtime is required. See code comments for details and example.

Posted:2007-05-03, 1693 views

Changing a users password from code

Changing an Active Directory user password is not really too difficult. You can even build the function into your own application, by leveraging some Windows API functions.

Posted:2012-09-16, 1370 views

Compare Two Files in VB6

This function will allow you to compare one file to another. It will do either a lax check (compare file lengths only) or a stringent check (a byte by byte comparison).

Posted:2012-11-25, 1097 views

Create a zero-byte file

During the installation of Visual Studio 6 on Windows 7, it is necessary to create a zero-byte file called MSJAVA.DLL in the Windows directory. The mere presence of a file with this name will allow installation to proceed. Without it, installation dies.

Posted:2011-12-31, 43564 views

Dumping from a database, revisited

Some time ago, a user named VB6Boy posted a handy little VBScript that dumps out records from a database table to a series of text files. The method works fine, but takes an exorbitant amount of time for large datasets. Can we do better?

Posted:2017-03-19, 55 views

Displaying page 1 of 3 | Prev | Next

Recent Forum Posts

Job Spammer: Sathya Narayana
dwirch posted on March 15, 2017 at about 7:18 in Spammers

Job Spammer: Manish Kumar
dwirch posted on March 14, 2017 at about 17:44 in Spammers

Site Migration Complete
dwirch posted on March 12, 2017 at about 11:10 in Site News

Site Migration Complete
dwirch posted on March 11, 2017 at about 0:35 in Site News

Job Spammer: Jason Weinstein
dwirch posted on March 10, 2017 at about 14:00 in Spammers

Job Spammer: Ryan Wilson
dwirch posted on March 8, 2017 at about 17:00 in Spammers