How to Fix Errors Found In Source Code

The majority of questions I received here is when somebody download my source code and found an error after running it. Well, actually you will not encounter those errors if you just follow the instructions on the readme file.

But sometimes, due to the fact that you are in a hurry to open the source code and want to see what’s on it, you forgot to read the important instructions.

This little guide will teach you on how to prevent this.

Posting Guidelines

The following guidelines will teach you how to post properly in this website.

Code Coloring

This website has a code coloring for every language you selected. Whether you submit an article, tutorial, comments, source code the syntax highlighting will trigger if you use the following code.

How to Create Installation File

I received a lot of question through email and comments system so I decided to include this in my FAQ section.

If you are familiar with the language you are using most probably you already know the built in packages. In Visual Basic 6.0 there is an add-in that you can use to create an installer. This can be found under the Add-ins menu >> Add-In Manager then loading the Package and Deployment Wizard.

What is the database password?

I received a lot of question regarding the password of a database in any of the program like Hotel Reservation System.

To find the password for the database all you have to do is to look for the connection string of the database in the source code. Most of the programmer, if not all, embed the password in the connection string.

To find it easily, open the code editor window in visual basic and find the term "password" or "pwd".

To have a better picture please watch this video tutorial.

crviewer.dll error

This dll is part is a runtime library of Crystal Reports. If you encounter this error when you download and run one of the source code here like Hotel Reservation System, this is because you don't have Crystal Reports 8.0 or above installed in your computer.

In this case, you may use the installer of the Hotel Reservation System to automatically register crviewer.dll.

This will only install the runtime library but not the editor itself.