Sample/Demonstration Source Code

These files are VB.Net source code to sample/demo projects that are designed to be used as a teaching tool. They may not be complete and useable applications. Generally there is an accompanying article that goes with each project.

Item Last Update Description
ADONet_Queries.zip 23 May 05 How to use parameterized queries with ADO.Net
ADONet_Test.zip 15 Aug 04 Demonstration of ADO.Net database fundamentals. Commented from the perspective of a VB6 programmer.
ChangeOwner.zip 23 Apr 05 Change the owner of a file to an arbitrary user
CheckPerm.zip 18 Apr 05 Check whether a specified user has read/write permission against all files in a directory
DataGridView.zip 5 May 08 DataGridView demo with custom MaskedEdit column type
DelegateDemo.zip 28 Feb 07 Demonstrate Delegate and the AddressOf operation with API calls.
Encryption.zip 28 May 08 Demonstration of a simple string encryption/decryption technique
ESE_Demo.zip 6 Sep 08 Microsoft's internal Extensible Storage Engine (ESE) database sample
Expressions.zip 21 May 05 Demonstration of using ADO.Net expressions in a DataTable
FileSystemWatcher.zip 8 Mar 08 Use the .Net FileSystemWatcher class to keep track of changes to a directory
GetOwner.zip 23 Apr 05 Return the name of the owner of a file
Join3.zip 18 Apr 05 Demonstration on how to perform SQL-style database joins of two detached ADO.Net Databases
Relations.zip 18 Aug 05 Use ADO.Net DataRelations to get related rows
SetPerm.zip 14 Jun 04 Change the read/write permissions on a file
SQL_Engine.zip 4 Sep 05 Run SQL Select command against a set of detached DataTables
USB_SerialNumber.zip 17 May 07 How to get the serial number from a USB flash disk
WMI_Examples.zip 14 Sep 04 Demonstration of Windows Management Instrumentation (WMI)

Classroom samples

These files are C# and Python projects used during classroom demos.

Item Last Update Description
Encryption.zip 18 Jun 22 How to use simple encryption in C#
EncryptionPY.zip 18 Jun 22 How to use simple encryption in Pythom
EncryptionVB.zip 18 Jun 22 How to use simple encryption in Visual Basic
PasswordChecker.zip 18 Jun 22 Check the strength of a password in C#
PasswordCheckerPY.zip 18 Jun 22 Check the strength of a password in Pythom
PasswordGenerator.zip 18 Jun 22 Generate a strong password in C#
PasswordGeneratorPY.zip 18 Jun 22 Generate a strong password in Phython
SQL.zip 18 May 23 Demonstration of SQL Injection
Validation.zip 18 Jun 22 How to validate user input in C# Winform
ValidationConsole.zip 18 Jun 22 How to validate user input in C# Console
VerifyEmail.zip 18 Jun 22 How to verify/validate an email address in C#
VerifyEmailPY.zip 18 Jun 22 How to verify/validate an email address in Python