Visual Basic Help - Phone-Book
Microsoft Visual Basic 6.0 help and Tutorials
MS-Visual Basic 6.0 & MS-Access 2003 - Crystal Reports to create a desktop software professionally

(7) Building our Visual Basic 6.0 application

    • After finishing creating the windows desktop project and test it on your personal machine successfully, you may want to take it to another level, this level is to create an EXE file from the Vbp (Visual Basic Project) file to install it on your personal computer, at your office, give it to anyone of your friends or upload it to an internet server for further usage.
    • Creating an Exe file (Executable) from a *.VBP file is so easy, just follow the photos :

    VB6_Package_Deployment
    This will open the following box
    vb6 package
    Click OK to create (MyPhoneBook.exe) file in the main project folder.
    Now your main folder that contains the project will look something like this :
    Visual Basic 6.0 application

    AdSense Was Here

    • We can not just take the EXE file (MyPhoneBook.exe) to use it on another computer, even if this computer is the same version of Windows simpley because we have used 3rd parties objects in our vb6 project (Micrsoft Access 2003, Crystal Reports 4.6), so unless you are willing to take the whole folder with you everytime you distribute your application, it won't work on the targeted computer or the client's computer.
    • Because of the above circumstances we will need to pack and deploy our visual basic project along with the .exe (MyPhoneBook.exe) file using the Microsoft Package and Deployment tool installed on your compter by default when you first installed Microsoft Visual Studio 6.0.
    • Visual Studio Package and Deployment tool is a free tool provided by Microsoft to enable the programmer packing up his work to distribute it away along with any 3rd party objects used in his programming proccess, you can find this tool in the Microsoft Visual Studio folder in the Start menu, see the photo :

    Visual Basic 6.0

    • We will get to studying this tool in the next part#8, now we want to prepare our application to be ready to be distributed and ready to run on any windows version.
    • We use Crystal Reports 4.6 in our visual basic 6.0 project, so we will need the crystal reports 4.6 itself to include it in our main folder, but what about Microsoft Access 2003?
    • Can we pack the MDB file without Office installed on the targeted computer ? In order to answer this question, we will need to move on to the next Part#8 to fully understand the package and deployment wizard (PDW) and how to correctly pack an application for distribution needs.

Part (8) - Creating package distributable for your VB 6.0 application

Thanx for reading, please feel free to leave a suggestion.

Labels :

Visual Basic, learning visual basic, visual basic training, visual basic for dummies, learn visual basic 2010, visual basic classes, visual basic coding, learn visual basic programming, learn visual basic online, visual basic programmer, visual basic help, help with visual basic, visual basic programming help, visual basic 2010 help, microsoft visual basic help, microsoft visual basic 6.0 help, vb programmers, Visual Basic 6.0, visual basic 6.0 software, visual basic 6.0 training, learn visual basic 6.0, ms visual basic 6.0, visual basic 6.0 pro, visual basic 6.0 learning edition, software of visual basic 6.0, how to learn visual basic 6.0, learning visual basic 6.0, visual basic 6.0 price.

Free Web Hosting