Click to See Complete Forum and Search --> : Renaming a project
Sean
June 7th, 1999, 11:54 PM
I would like to rename my project - the names of the classes and files etc, are okay, I just want to change the name of the program that appears next to the icon on the top left corner.
Could somebody please tell me the easiest way to do this? I considered going through my project and renaming all files and classes, but I'm sure there must be an easier way.
Thanks in advance, Sean.
Dan Haddix
June 8th, 1999, 01:39 AM
If all you wan't to change is the name in the title bar then open up resource editor, open up the string table, and edit the first part (before the first \n) of IDR_MAINFRAME that is what controls what goes in the title bar. If you want to change the name of you application every where then you will need to edit both the string table and the version information.
Sean
June 8th, 1999, 07:44 PM
Thank you!
James McLellan2
June 16th, 1999, 03:30 PM
I have found only one way to comprehensively rename your project.
Go into the .dsw and .dsp files (you'll need to enter a DOSshell to preserve the extension if your in WindowsNT). From these files, change all occurences of OldProjectName to NewProjectName.
You'll then have to seperately rename each file from OldProjectName to NewProjectName and fix any links. By simply using Find/Replace, this is quick (but tedious) work.
If there is a more efficient way of doing this, I would be very interested in hearing it. Dan, I looked at your second method (changing string table and version info), but it didn't seem to give me the comprehensive namechange I was looking for. Could you elaborate on it?
As a
James McLellan2
June 16th, 1999, 04:20 PM
Please disregard my earlier post. What had seemed a clever method of renaming worked fine until I attempted to compile a short time later.
I don't understand, though, -why- it doesn't work. Could someone enlighten me?
codeguru.com
Copyright Internet.com Inc., All Rights Reserved.