Link to home
Create AccountLog in
Avatar of raymurphy

asked on

Need to rebuild a VB6 Project

Have never worked with VB6 previously, but have been asked to investigate how a particular VB6 exe application works ... Onsite there are no VB6 developers who I can refer to for assistance, so I'm seeking help here.

This VB6 application exe (say its called prjEmail) has been running fine for a few years, but nobody onsite knows where the original source files for the VB6 project are. By running SQL Server Profiler while the VB6 application is running, I've been able to build up a picture of what database calls are made by the application.

I've now found a folder which looks as though it may contain some of the source files for the VB6 project, but I need some help in working with those files.

The folder contains files with the following extensions :

       cls   frm   ini   bas   vbp  vbw

Can anyone please advise how I can look athe files in an IDE to see how they all fit together ?

Avatar of gplana
Flag of Spain image

Link to home
Create an account to see this answer
Signing up is free. No credit card required.
Create Account
Look for a project in the IDE.  The file extension is vbp. If it is complete, opening it will automatically open the form (.frm & .frx), module (.bas) and class (.cls). The ini file is unlikely to be used in the compile.
Avatar of mvdeveloper

Well, the vbp is the project file: that is the starting point for the project. frm relates to forms (you will also have frx files that have any resources) , bas files are code modules and cls are classes. So you need to find an old copy of the VB6 IDE, which is available on MSDN, and load the vbp.
Note that if some of the component files were not in the same folder as the project file, they may not now be findable when opening the project. If so, it might help to open the project file in Notebook and examine the contents. It is a text file.
Avatar of raymurphy


Thanks for those comments, gplana - that's provided an excellent starting point ....
You are more than welcome. Thanks for the points.