Link to home
Start Free TrialLog in
Avatar of 80083r
80083r

asked on

which files do I need to save?

Hi,

need to know which are the files needed to backup a visual basic project.  I am saving to floppy, so the bare minimum please.

I assume the following, have I got them all?

<filename>.vbp       project file
<filename*>.frm      all forms for project


Thanks,

80083r
Avatar of hongjun
hongjun
Flag of Singapore image

Everything. .vbp, .frm, .cls, .bas, etc. Note that binary files like .frx, etc are also needed.

hongjun
Avatar of rdrunner
rdrunner

You should also include you cls (classes) and mod (Modules) files...

Thats about it ...

If you have obj files you can delete them (they are left from a failed compilation)
MSSCCPRJ.SCC can also be deleted.

hongjun
arrrgh right  BAS for modules ;)

frx files should NOT be needed (also left overs from a failed build)
.vbw files can also be deleted.

hongjun
frx files is NEEDED. They are created because you used controls like picturebox and have included pictures. Try creating a project and a form with a picturebox with of course a picture in it, then run to make sure your creation is okay. Then save it. You will notice .frx file is created. Delete the .frx file and run the project again. You will notice you will get an error! You need the .frx file!!!

hongjun
.log files can also be deleted. They are generated to log error messages.

hongjun
How about zipping the files?
Once you excluded the
MSSCCPRJ.SCC and the compiled (.exes, .dll,  .ocx) and inetrmediate or libraries (like .oca,.exp,.lib, .TLB and .VBR for remote components as long as you can recompile before opening projects that refers to... )
from the backup, zip the remaining files before moving to floppy...
Avatar of 80083r

ASKER

ok,

errr... that's a lot of discussion.

How about if I just "save as" and point to the floppy?  the problem is there doesn't seem to be one type of save that saves everything... is there?

80083r
Avatar of 80083r

ASKER

also, very simple project, only one form with textboxes, labels and one timer.

no .bas  (or any of that other... arghhh! too complicated)
Avatar of 80083r

ASKER

also, very simple project, only one form with textboxes, labels and one timer.

no .bas  (or any of that other... arghhh! too complicated)
Avatar of 80083r

ASKER

also, very simple project, only one form with textboxes, labels and one timer.

no .bas  (or any of that other... arghhh! too complicated)
ASKER CERTIFIED SOLUTION
Avatar of hongjun
hongjun
Flag of Singapore image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Thanks for selecting my comment as the answer. But why the grade of "B"? It could have been an A grade since my comment solved your problem directly. Note that a grade A given does not differ from a grade B or C to a questionner. It will not affect your question points value but rather it only affect your grading record. Your grading record will be better if you shows consistent A grading awarding habit.

Please see Tip #11 - Grade quickly and fairly
http://cd-eepages.fateback.com/asking.html

Please explain the reason for the B grade.

hongjun
Avatar of 80083r

ASKER

arrrrgghhhh!

Um, I selected the answer at the end of my shift with my eyes mostly closed?

Sorry, I was really bleary at that point this morning.  You are right.  Is there any way I can change it?
I will request for a change on your behalf. Thanks for responding.

hongjun
Grade changed.

Netminder
EE Admin
Avatar of 80083r

ASKER

Thanks Netminder.