Articles and Tutorials

Most Popular  
The articles and tutorials other users have found the most useful.  Broken out by beginner, intermediate and advanced level.
 
Newest  
Stay up to date with the latest and greatest!
 
To access the entire archive of articles and tutorials simply use the 'Browse All Categories' and 'Search' menu items in the drop-down hot menu at the top of the screen.

Most Popular

Beginner

Intermediate

Advanced

VB6 Extra tools 22-Jun-2012
by Kenneth Ives
Language: Visual Basic

A couple of tools to make your programming life a little easier.

Setting and getting file attributes w/o affecting other attributes - Updated
by Rde (from psc cd)
Language: Visual Basic

These two simple wrappers can be used for setting and retrieving individual or selected file attributes without affecting the other attributes of the file. For example, to set the Archive bit of a file you should not just set its attributes to vbArchive (32), as this will turn off any other attributes currently set. Normally you would need to get the file attributes, add the desired attribute to the current attributes, then set them again. These wrappers just hide the details of thi ... (see entry for full description)

Graphic Tiling Made Easy
by ·Phil· (from psc cd)
Language: Visual Basic

Quickly Tile a Form Background using VB PaintPicture

AMAZING DECIMAL TOBINARY IN A FEW LINES OF CODE
by QUASI-MODE (from psc cd)
Language: Visual Basic

make a DEC2BIN code easy and quick to run.

The Optimum FileExists Function
by Bonnie West (from psc cd)
Language: Visual Basic

The ideal implementation of FileExists should be simple, efficient, supports wildcards and above all else, work flawlessly in all scenarios. In the refined to near perfection version 11.0 below, all of those are met, except one. For that single shortcoming, v7.0 fills the role adequately.

Bonus: A few related routines are included as well.



Adios LaVolpe
by LaVolpe (from psc cd)
Language: Visual Basic

I know this is not truly a programming article. But I wanted to thank all of PSC for your continuous and generous feedback. Even negative feedback is positive when taken as an opportunity to improve weaknesses.

A BRIEF HISTORY OF BASIC
by Rde
Language: Visual Basic

A BRIEF HISTORY OF BASIC

Software Installation Labelled As Malware
by A_X_O
Language: Visual Basic

Avoid your Software being labelled as Malware by Anti Virus Vendors. '

A simple Clear All Controls on Form -- Just 4 Lines!
by Cor! (from psc cd)
Language: Visual Basic

Need to perform the same action on multiple controls in your form? Then this simple code might just be for you.. This particular example will show you the most efficient way to clear every text box on a form. This method can be especially useful if you're adding and removing controls during the development of a project.

_Learn DLL in 5 minutes_
by Enrico Lorenzo (from psc cd)
Language: Visual Basic

An easy to learn DLL Tutorial for beginners. Learn DLL in 5 Minutes NO JOKE!!! Please vote.

DeskNote
by Aimee Bailey (from psc cd)
Language: Visual Basic

ever wanted to store notes on your desktop? well this does just that! no more faffing around with notepad trying to find where u put that .txt file or whateva, with a few clicks here and there you can have a system up where ur notes load up on startup ready and waiting!! includes some 3rd party coding (which i thank you guys!!) and does the job well

Making Archives From Files V2 IN PURE VB!
by actorics.de (from psc cd)
Language: Visual Basic

It can make an archive from any files (without compression) and can extract them. It can open an archive and show the contents. Also it can split an archive and it can show the contents of a splitted archive. It has got an internal viewer. Faster then CYBER-CRYPT!

Process Access DB using DAO
by TheVBPro (from psc cd)
Language: Visual Basic

This tutorial / demo app shows you how to process an Access database using "old school" DAO (Data Access Objects) code. Covered in the tutorial is the DAO Object Model, as well as methods for recordset processing, searching, inserting, updating, deleting, etc. The sample app also uses Crystal Reports (the version that came with VB6 and VB5, not a commercial version). The Employee.mdb file that is part of this sample app is Access 97 format, and it MUST be 97 as the old version of Cr ... (see entry for full description)

Finding Prime Numbers Tutorial [Finally!]
by Rde
Language: Visual Basic

Hi and welcome to this prime numbers tutorial.

This is the last update, really. My apologies, I have recently been researching this subject and thought it would be good to share what I had learned. However, none of my sources had mentioned that the number one is considered not to be prime - for mathematical reasons.

I was working on the false assumption that it was. So sorry for any inconvenience for yet another update.

This is intended for those who don't know much abou ... (see entry for full description)

Recent Files Folder Maintenance Utility [Update]
by Rde
Language: Visual Basic

Recent File Maintenance Utility
Updated to add the ability to turn on
or off auto-run at system start-up.
Update April 2020 improved speed a little.
Update May 2020 bug fix


JS Engine+Debugger (QTScript)
by dzzie
Language: Visual Basic

Test project for using the QTScript Javascript engine and debugger UI from VB6. Including ability to integrate with VB form objects and COM controls.

_ TUTORIAL: BitBlt & GDI32 for the Thick-Headed: BitBlt explained, + Load Sprites, Double Buffering!
by (Tim Miron) yar-interactive software (from psc cd)
Language: Visual Basic

"BitBlt [and GDI32] for the Thick Headed" is an in-depth, plain-english, streight-forward tutorial that teaches everything there is to know about BitBlt, and some related API. It covers everything from loading bitmap files into memory (no more picture boxes) to double-buffering (say goodbye to the SLOW 'AutoRedraw'!) to Explaining the BitBlt API in PLAIN ENGLISH. PLUS the tutorial only takes about 15 to 20 minutes to complete! (A completed version of the example project is also incl ... (see entry for full description)

MDB ADO DateValue
by Quake
Language: Visual Basic

Getting the DateValue DateDiff between 2 dates. Useful for setting up a History Auto delete. Just Added Double Checker. Will only Delete if they match. Good if you're not using Index/ID's. Commented out. See * New

MDB ADO SQL RESET COUNTER
by Quake
Language: Visual Basic

Command to Reset ID / INDEX Counter. See * New for a Fix if you are having issues if you ran this code on a populated Recordset.

Control Collection - No Errors
by Quake
Language: Visual Basic

Demonstrates how to grab the controls "INSIDE" a picturebox, or frame to Scroll. Any controls can be placed inside "Except" for certain controls Timer for 1, and Imagelist for 2 Demo is included besides Code. Added: Advanced Demo

 



Newest Tutorials

Finding Prime Numbers Tutorial [Finally!]
by Rde
5/16/2020 1:36:19 PM

Language: Visual Basic

... (see entry for full description)

Make-shift sub!
by Nicholas Forystek
4/30/2020 2:57:14 PM

Language: Visual Basic



Recent Files Folder Maintenance Utility [Update]
by Rde
3/27/2020 2:32:59 PM

Language: Visual Basic



Numerical String and Long Conversion
by Nicholas Forystek
3/3/2020 3:27:56 AM

Language: Visual Basic

... (see entry for full description)

Loader, shellcode, without runtime (part 2)
by The trick
12/26/2019 7:02:45 PM

Language: Visual Basic



Loader, shellcode, without runtime (part 1)
by The trick
12/26/2019 6:58:40 PM

Language: Visual Basic



Kernel mode driver
by The trick
2/28/2019 9:24:25 AM

Language: Visual Basic



Name by the Clock
by ICE
9/22/2018 7:21:06 PM

Language: Visual Basic



Make your own Drag & Drop
by ICE
9/5/2018 5:20:12 PM

Language: Visual Basic



Get The Current Name
by Telefon
9/4/2018 1:47:49 PM

Language: Visual Basic