Ok... that's pretty strange. Is this project 'source controlled'? iow,
is it Read Only when you open the project? What I'm getting at requires
that you >>backup<< the project and edit the form file(s) in Notepad so,
of course, they can't be Read Only. They should be checked out of source
control so your changes will be made permanent when you check them back in.
It almost sounds like there's something in the form's .frm file that's
doing this. It maybe as simple as one font over-riding another. I have
such a problem on a specific project (upgraded from VB3) where the font
size box reports "8" but the font's about half a screen tall. Very strange.
If I ever get around to looking into that problem, I'll open the frm
file in Notepad (actually UltraEdit32 here) and remove all references to
any fonts that I find... they usually show up as:
Name = "YourFont"
Size = your size
Charset = 0
Weight = 700
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
... just rip that entire block out of the form file (must remove both
the Begin and End lines, as well as everything in between or VB will
barf on that form). If there are no references to any fonts, the form
should open and all controls will be set to their default fonts (MS San
Serif-8 here). From there, you can reset fonts on any controls that need it.
Ken Halter - MS-MVP-VB - http://www.yqcomputer.com/
Please keep all discussions in the groups..