Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Fonts change in Visual Basic

Status
Not open for further replies.

JCruz063

Programmer
Feb 21, 2003
716
US
Guys,
I've got a very interesting problem... I work with another programmer on the same program, but on separate machines. When I make a change, I give him the .frm, .frx, and .bas files I made changes to. When he makes a change, he gives me those files.

Everything has worked nicely for the last 5 years. Recently, though, I copied the entire program folder from his machine into mine and now, in my machine the fonts of all the controls in all the forms are changed from MS Sans Serif to Arial. In his machine, the fonts are not changed - they're still MS Sans Serif. In mine, they're Arial.

Now, if I go back to an older backup from my machines, the fonts are proper. Any idea what might be causing this?

Thanks

J.C

_________________________________
I think, therefore I am. [Rene Descartes]
 
A newer opsys, that has Arial as the default font instead of MS Sans Serif, perhaps?
 
My understanding is that OS will try to substitute a missing font with "the next closest" one. It seems unlikely however that you would be missing this very common font.

An experiment: have him make a Word document in MS Sans Serif, then see if on your computer it changes it to Arial. If it does, it would point to the operating system, I think.


 
Thanks guys... I found the problem... The other programmer changed the regional settings in his machine... He set the language to Ukraine. In his computer, this did not have a noticeable effect, but it made his fonts sort of incompatible with mine. We changed this back and everything's working now.

Thanks.

JC

_________________________________
I think, therefore I am. [Rene Descartes]
 
Or perhaps someone changed the regional settings to Ukraine or something? :)
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top