Text missing on Labels and buttons?

  • Thread starter Thread starter Lars Netzel
  • Start date Start date
L

Lars Netzel

Hi

On a developer computer I have built a small Form with a label telling the
user to press a "update" button on the same form. When the button is pressed
(on a user computer, not developer) a Messagebox will apear and give
information. This does not show the texts at all.. it instead shows a msgbox
which have the right amount of buttons and the size looks like it's taking
care of the textlength of the message but there are no texts visible.. and
no text on the "Yes" and "No" buttons or "OK" buttons... it's complete
gray...

This only happens on other than the developer computer. It's a tiny exe file
on 40 Kb and no other dependencies or langauge setting or anything.

Any ideas?

Best Regards
/Lars netzel
 
Lars Netzel said:
Hi

On a developer computer I have built a small Form with a label telling the
user to press a "update" button on the same form. When the button is
pressed (on a user computer, not developer) a Messagebox will apear and
give information. This does not show the texts at all.. it instead shows a
msgbox which have the right amount of buttons and the size looks like it's
taking care of the textlength of the message but there are no texts
visible.. and no text on the "Yes" and "No" buttons or "OK" buttons...
it's complete gray...

This only happens on other than the developer computer. It's a tiny exe
file on 40 Kb and no other dependencies or langauge setting or anything.

Any ideas?

http://dotnet.mvps.org/dotnet/faqs/?id=controlsmissingtextbug&lang=en


Armin
 
Lars Netzel said:
On a developer computer I have built a small Form with a label telling the
user to press a "update" button on the same form. When the button is
pressed (on a user computer, not developer) a Messagebox will apear and
give information. This does not show the texts at all..

Fixing the problem of missing text in controls and messageboxes
<URL:http://dotnet.mvps.org/dotnet/faqs/?id=controlsmissingtextbug&lang=en>
 
Hi,

Could you be using a font on the form that is only available on
the developement machine?

Ken
 
Thank you... I have seen this answer in Expert Exchange too after searching
more. Feels weired and i'm surpriced noone has come up with a better way of
going around it.

I have though... I have changed all messagebox calls to ShowDialog of an own
Form dedicated to show feedback to the user. Not at all as flexible as a
message box but since I need ot deploy this application to about 40 clients
thru email... to people that have no idea of what a computer is.. it'll be a
pain in the a** to make them update with the patch or to make them Iactivate
the Buffer Overflow... so.. I made it this way instead.

Does not anyone know what is causing the overflow then that makes McAfee
have this problems? That would be interesting to know...

/Lars Netzel
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top