473,508 Members | 2,363 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Messagebox - strange problem

Apologies if this is not the right group to ask this in, but I cannot
think where else it might fit!

I have a strange problem when I create an app that uses the a message
box.

When the box appears, it displays as I want it to, except that the
message text and button text do not show up. I've tried changing the
font in the desktop customisation thingummy, but to no avail.

The application, when built, runs perfectly on other machines with the
same version of the framework installed, but not on this one.

Does anyone know which dll is responsible for drawing the messagebox
(that might be the culprit), or have any other suggestions on how to
trace the fault?

Thanks in advance.
Marc.
Nov 16 '05 #1
2 1041
hi,
the assemblies needed to run messagebox are
mscorlib
System.Windows.Forms

regards
ansil

"Marc Jennings" wrote:
Apologies if this is not the right group to ask this in, but I cannot
think where else it might fit!

I have a strange problem when I create an app that uses the a message
box.

When the box appears, it displays as I want it to, except that the
message text and button text do not show up. I've tried changing the
font in the desktop customisation thingummy, but to no avail.

The application, when built, runs perfectly on other machines with the
same version of the framework installed, but not on this one.

Does anyone know which dll is responsible for drawing the messagebox
(that might be the culprit), or have any other suggestions on how to
trace the fault?

Thanks in advance.
Marc.

Nov 16 '05 #2
Thanks Ansii,

It looks like the problem might be outside the framework, then. I
have compared the files against a known-good system, and they seem to
be the same (at least they match in terms of number of bytes)

I'm none the wiser, but I suppose it could be a corrupt font on this
system - unlikely, but possible.

**UPDATE** - I made an exe that just displays a messagebox on a
working system, and ran it from tyhis box. Same problem. At least I
know it is not a problem in the app build process.

*sigh* - I might have tio re-build :-(

On Wed, 13 Oct 2004 04:03:03 -0700, "Ansil MCAD"
<An*******@discussions.microsoft.com> wrote:
hi,
the assemblies needed to run messagebox are
mscorlib
System.Windows.Forms

regards
ansil

"Marc Jennings" wrote:
Apologies if this is not the right group to ask this in, but I cannot
think where else it might fit!

I have a strange problem when I create an app that uses the a message
box.

When the box appears, it displays as I want it to, except that the
message text and button text do not show up. I've tried changing the
font in the desktop customisation thingummy, but to no avail.

The application, when built, runs perfectly on other machines with the
same version of the framework installed, but not on this one.

Does anyone know which dll is responsible for drawing the messagebox
(that might be the culprit), or have any other suggestions on how to
trace the fault?

Thanks in advance.
Marc.


Nov 16 '05 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

11
541
by: Rich Tasker | last post by:
I have a strange situation. A simple call to MessageBox.Show("XXX", "YYY") does not display the message in the messagebox with a visible font. Based on the content of the messagebox, the box...
3
1041
by: Mark Rae | last post by:
Hi, I'm experiencing a very strange problem with popping a MessageBox in a C# WinForms app, whereby the message text and the button text do not display. I'm using a Dell OptiPlex with on-board...
20
8859
by: Peter E. Granger | last post by:
I'm having a strange problem (or at least it seems strange to me) trying to display a MessageBox in a VC++ .NET forms application. If I put the call to MessageBox::Show in the form's .h file, it...
4
1992
by: Larry Woods | last post by:
I have a Messagebox that looks like: MessageBox.Show("There are pending changes for this patient. Do you want to continue to close?", "Pending Changes", MessageBoxButtons.YesNo,...
2
1456
by: Matt Gabbard | last post by:
Greetins all, I have a problem that has me beating my head against the desk.. A simple form with a buttong, creates a sime form via click: --- If lv1.SelectedItems.Count > 0 Then Dim f As...
5
1477
by: brianbasquille | last post by:
Hello all, Any reason why a program would simply shut down when a MessageBox.Show() is issued? Strange behaviour as the MessageBox never actually pops up.. but running through the debugger...
3
1212
by: Earl | last post by:
Relatively new to C# and I have an odd situation. When I show a messagebox when catching an exception, the message shows briefly then disappears. private void PopulateBrands() { SqlConnection...
1
2300
by: Werner Schmidt | last post by:
Dear group, I have a very strange behaviour: In a loop there are several TextBoxes initialized: TextBox objTextBox = null; // one declaration for-loop // multiple initialisations
6
3470
by: Goran Djuranovic | last post by:
Hi all, I have a VB.NET windows application that uses MDI form. When I try to delete a datagrid row from one of the MDI children forms, I use a MessageBox YesNo confirmation, which, after confirmed,...
0
7115
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
7321
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
1
7036
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
7489
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
5624
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
4705
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
0
1547
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...
1
762
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
0
414
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.