Skip to content

Free Scripts

During my early days of programming, I wrote some basic, simple while some complex programs. With the hope that they may help others, I am sharing these programs with everybody. These are free scripts for everybody to use but if any part of code references any third-party library, then their license may apply as per the comments in their code respectively.

Media Player In Visual Basic 6.0

As the name describes, Media Player is a small script for making a basic Media Player. This script makes a Media Player which shows you how to make a feature of enabling the user to make a playlist of the name of his choice, save it to the disk and then loading again when the media player loads.
Download

Small Script In VB6.0 For Calculating Time Difference Manually

As the name tells it all, Time Difference is a small script written for beginners. This project calculates the difference between two specified times and then counts the difference until the difference is 0. In short, it is like a timer. But the main thing in this is that it doesn’t use any of the time related VB functions. Everything is manually written. Although the script is lengthy, but it is clear.
Download

COMNET (Common Networking)

comNet, is a name given by me which means ‘Common Networking’. This application enables multiple users to communicate with a common database at the same time. Users can make the changes, add or delete new entries at the same time and the changes are automatically updated at their application grid that contains data. The best thing about this project is that it doesn’t use any third party networking drivers or RmiJDBC like drivers. It operates without RmiJDBC or any other driver. It has two application parts i.e. Server and the Client. Before you start working, you need to switch on the server application at the server. Server is the main application here. It performs all the operations as all the clients are connected to it and send or receive requests to or from it. The database on which you want to work should be placed in the same directory as the server application.
Now, some notes about how it works. It is basically a command based system where every command has been wriitten by me. The client sends a command to the server in a formatted text string. I had to design a common format for this string so that both server and client are able to read and process it. Below is an example of an add new command which the clients send to the server for adding new entries to the database.

Note: In the following examples, I assume that we are having a table named ‘Book’ in the database with two columns namely ‘Name’ and ‘Age’.

For Adding New Entries.

"ADDNEW: INSERT INTO Book ([Name],[Age]) values ('John','21') ADDROW: [Book] ( 'John','21' )"

The above command when sent to the server is processed in various cycles. Firstly, the server divides the command into two parts:

"ADDNEW: INSERT INTO Book ([Name],[Age]) values ('John','21')"

“ADDROW: [Book] ( ‘John’,’21′ )”

The first command is for adding entry to database and the second one to update the display which is in the form of a grid.

All the commands follow the same convention as above with the exception of different parameters regarding different operations. The first command is always for doing something on the database i.e. adding, deleting or modifying data and the second command is always to do something with the data display.

Now, with the first command, first six letters define what to do i.e. for adding new entry to the database, ‘ ADDNEW’ is prefixed. Similarly, for editing ‘EDITIT’, for deleting ‘DELETE’, for getting the names of the fields ‘FLDSNM’, for getting all the data in the database ‘GETALL’ etc.

You will have to go thoroughly through the code to see all other commands and the ways in which they are executed.

Download


Master Of Inventory - Full Inventory Software In VB 6.0

This program has a potential of being a full-fledged software but due to lack of proper knowledge in the early phases of my learning, I left some issues and couldn’t return to them later as I went on to improve my skills and then started doing jobs for more professional experience. But even then I am sharing this program with its source code so that you can see and get an idea of a full software to manage all stock management requirements. This program has a bunch of features for every minute information storage and retrieval.

The key features of this software are listed below :

  • Identification of every item by a picture set up by the user.
  • Division and sub-division of the entire stock into categories and sub-categories.
  • Every aspect of the information is purely in the hands of the user i.e. functions like adding a category, deleting a category, renaming a category, adding user-defined fields and manage them etc.
  • Two type queries for fast searches. One type enables you to search for any product within a current open category and the other type allows you to search for any information throughout the whole inventory data.
  • Automatic term-end notification.
  • Generating total value of the stock at the click of a button.
  • Generation of print in Microsoft Word at the click of a button.
  • Generation of a web page containing the current open data at the click of a button.
  • Two types of backups: File Backup & Paper Backup. File backup is a backup format which the software reads and understands and uses to make and restore data. Paper backup, on the other hand, is a special feature which enables you to prepare the Microsoft Word documents of all the inventory data backup at the click of a button.
  • Password protection.

Download


Sales/Purchase Spectrum - Full Sales/Purchase Management Software In VB 6.0

Sales/Purchase Spectrum is almost a complete and a functional software. It is an application designed for the people who make day-to-day transactions. This application keeps track of all the details of your transactions and you can do deep analyses with that data. You can analyze the data in the following ways:

  • Sales/Purchase between different periods of time (e.g. in a month, week, whole financial year or between two specified days.
  • Make comparisons between Sales and Purchase through Graphical Presentation of data.
  • Check how much sales have been made to which customer and how much purchases from which supplier.

Besides these data analysis features, there are some extra features like:

  • Making Data Backup and restoring the same.
  • Making your own companies for keeping separate data details for separate companies.
  • Password protection for the companies.
  • Automatic reminders for the debtors from whom payment is yet to be received and creditors to whom payment is yet to be paid.
  • An extra feature for enhanced security (Delayed Password Acceptance, you can find more in the source code attached).

Download


Game of Bricks

You must have played a game of bricks where you have a dragging handle at the bottom of the screen and you have to prevent the ball from falling down and at the same time, bursting the bricks laid down at the top. This script is a small sample script to make the same in VB 6.0
Download

Tic Tac Toe

As the name suggests, this is a simple script but having a complete game of Tic-Tac-Toe programmed in VB 6.0
Download

Master Search

Master Search was a small experimental search page in which the search keywords are entered on four major search engines together and their results get displayed on a single page. As an experiment, I also developed a toolbar for it as displayed in the image below:
Master Search Toolbar

Master Search Toolbar


You can download the whole source code. The page is coded in PHP while the toolbar is coded in C#.
Download

E-Cards Website

You must have sent e-cards to your friends and relatives through 123greetings.com. This is a sample code that demonstrates a simple website for sending e-cards. This website has simple basic features like creation of categories, occassions, uploading of cards, sending and receiving cards etc. The database backup file is in the DB folder. You will need phpMyAdmin to restore the database to your MySQL server’s instance.
Download