Avatar of raymurphy
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 ?

Thanks
Editors IDEsVisual Basic Classic

Avatar of undefined
Last Comment
gplana

8/22/2022 - Mon
ASKER CERTIFIED SOLUTION
gplana

Log in or sign up to see answer
Become an EE member today7-DAY FREE TRIAL
Members can start a 7-Day Free trial then enjoy unlimited access to the platform
Sign up - Free for 7 days
or
Learn why we charge membership fees
We get it - no one likes a content blocker. Take one extra minute and find out why we block content.
Not exactly the question you had in mind?
Sign up for an EE membership and get your own personalized solution. With an EE membership, you can ask unlimited troubleshooting, research, or opinion questions.
ask a question
GrahamSkan

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.
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.
GrahamSkan

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.
I started with Experts Exchange in 2004 and it's been a mainstay of my professional computing life since. It helped me launch a career as a programmer / Oracle data analyst
William Peck
raymurphy

ASKER
Thanks for those comments, gplana - that's provided an excellent starting point ....
gplana

You are more than welcome. Thanks for the points.