473,322 Members | 1,690 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,322 software developers and data experts.

MessageBox blank

I have a very basic application to test a problem
The only code added to a C# Windows Form Application is:

MessageBox.Show("Test Message", "Test Caption");

The caption shows but the message is blank and so is the button.
Any ideas?
WinXP SP2
Visual Studio 2003 (7.1.3088)
..Net Framework 1.1 SP1 (1.1.4322 SP1)
Thanks
Ian

Nov 16 '05 #1
7 1613
You have many options of doing it. Here is a basic one and it works fine.

MessageBox.Show("Test Message","Test Caption",MessageBoxButtons.OK) ;

Yonas

"Ianhoc" <Ia****@discussions.microsoft.com> wrote in message
news:AE**********************************@microsof t.com...
I have a very basic application to test a problem
The only code added to a C# Windows Form Application is:

MessageBox.Show("Test Message", "Test Caption");

The caption shows but the message is blank and so is the button.
Any ideas?
WinXP SP2
Visual Studio 2003 (7.1.3088)
.Net Framework 1.1 SP1 (1.1.4322 SP1)
Thanks
Ian

Nov 16 '05 #2
It seems McAfee Version 8 is the culprit - disable buffer overrun and all is
okay again.

Go figure!!

"Yonas Hagos" wrote:
You have many options of doing it. Here is a basic one and it works fine.

MessageBox.Show("Test Message","Test Caption",MessageBoxButtons.OK) ;

Yonas

"Ianhoc" <Ia****@discussions.microsoft.com> wrote in message
news:AE**********************************@microsof t.com...
I have a very basic application to test a problem
The only code added to a C# Windows Form Application is:

MessageBox.Show("Test Message", "Test Caption");

The caption shows but the message is blank and so is the button.
Any ideas?
WinXP SP2
Visual Studio 2003 (7.1.3088)
.Net Framework 1.1 SP1 (1.1.4322 SP1)
Thanks
Ian


Nov 16 '05 #3
Ianhoc - I have been tearing my hair out over the exact same
problem!!! Can you give me a little more detail about how you solved
it, please?

On Mon, 15 Nov 2004 15:54:02 -0800, Ianhoc
<Ia****@discussions.microsoft.com> wrote:
It seems McAfee Version 8 is the culprit - disable buffer overrun and all is
okay again.

Go figure!!

"Yonas Hagos" wrote:
You have many options of doing it. Here is a basic one and it works fine.

MessageBox.Show("Test Message","Test Caption",MessageBoxButtons.OK) ;

Yonas

"Ianhoc" <Ia****@discussions.microsoft.com> wrote in message
news:AE**********************************@microsof t.com...
> I have a very basic application to test a problem
> The only code added to a C# Windows Form Application is:
>
> MessageBox.Show("Test Message", "Test Caption");
>
> The caption shows but the message is blank and so is the button.
> Any ideas?
> WinXP SP2
> Visual Studio 2003 (7.1.3088)
> .Net Framework 1.1 SP1 (1.1.4322 SP1)
> Thanks
> Ian
>



Nov 16 '05 #4
Never mind, Ianhoc. I found the option that makes me sane again!!!!!

Argh!
On Mon, 15 Nov 2004 15:54:02 -0800, Ianhoc
<Ia****@discussions.microsoft.com> wrote:
It seems McAfee Version 8 is the culprit - disable buffer overrun and all is
okay again.

Go figure!!

"Yonas Hagos" wrote:
You have many options of doing it. Here is a basic one and it works fine.

MessageBox.Show("Test Message","Test Caption",MessageBoxButtons.OK) ;

Yonas

"Ianhoc" <Ia****@discussions.microsoft.com> wrote in message
news:AE**********************************@microsof t.com...
> I have a very basic application to test a problem
> The only code added to a C# Windows Form Application is:
>
> MessageBox.Show("Test Message", "Test Caption");
>
> The caption shows but the message is blank and so is the button.
> Any ideas?
> WinXP SP2
> Visual Studio 2003 (7.1.3088)
> .Net Framework 1.1 SP1 (1.1.4322 SP1)
> Thanks
> Ian
>



Nov 16 '05 #5
There is a hotfix available from McAfee, and it fixes the problem.

I found it referenced at
http://www.devcity.net/forums/topic....d=79490&page=2

HTH

On Mon, 15 Nov 2004 15:36:02 -0800, Ianhoc
<Ia****@discussions.microsoft.com> wrote:
I have a very basic application to test a problem
The only code added to a C# Windows Form Application is:

MessageBox.Show("Test Message", "Test Caption");

The caption shows but the message is blank and so is the button.
Any ideas?
WinXP SP2
Visual Studio 2003 (7.1.3088)
.Net Framework 1.1 SP1 (1.1.4322 SP1)
Thanks
Ian


Nov 16 '05 #6
Thanks for posting the hotfix info Marc - unfortunately I couldn't find it on
McAfee's website. Maybe it is because we don't have a Support contract.

ian

"Marc Jennings" wrote:
There is a hotfix available from McAfee, and it fixes the problem.

I found it referenced at
http://www.devcity.net/forums/topic....d=79490&page=2

HTH

On Mon, 15 Nov 2004 15:36:02 -0800, Ianhoc
<Ia****@discussions.microsoft.com> wrote:
I have a very basic application to test a problem
The only code added to a C# Windows Form Application is:

MessageBox.Show("Test Message", "Test Caption");

The caption shows but the message is blank and so is the button.
Any ideas?
WinXP SP2
Visual Studio 2003 (7.1.3088)
.Net Framework 1.1 SP1 (1.1.4322 SP1)
Thanks
Ian


Nov 16 '05 #7
Unfortunately, this is a support-only patch. However, McAfee are
aware of the issue, and I would imagine they will roll the fix into
future service releases.

On Tue, 16 Nov 2004 06:29:03 -0800, Ianhoc
<Ia****@discussions.microsoft.com> wrote:
Thanks for posting the hotfix info Marc - unfortunately I couldn't find it on
McAfee's website. Maybe it is because we don't have a Support contract.

ian


Nov 16 '05 #8

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

Similar topics

3
by: Gerry Viator | last post by:
Hi all What the heck is going on? I have VS.Net 2003 on windows xp sp2. I open a new VB.net project, Drag a button on the form, in the click event I put a simple " messagebox.show("Hello") "....
2
by: Scott Vesey | last post by:
In VB, when using the form: MessageBox.Show("some text") The result is a small blank dialog with a blank button. If I specify the full set of parameters for the MessageBox.Show using the...
12
by: Marc Jennings | last post by:
Hi, I have a problem with the message text and button text not showing up in a messagebox. (See attachment) The code I used to call this example was > MessageBox.Show(this,"Hello","nothing...
3
by: Dean Slindee | last post by:
Anyone know of a source project for inheriting from the current MessageBox or a new form that performs most or many of these design requirements: '1. handle 2-4 buttons as needed, including default...
3
by: Mike L | last post by:
MessageBox coming up with blank message and blank buttons. The title and icon show up, and the buttons work, if I click the first blank button, returns Yes. Why is the message blank and the...
0
by: Werner Keilholz | last post by:
A MessageBox("Hi there") in .NET 2003 / C# displays a blank (empty) window on XP if McAfee antivirus is installed. This is due to the JPG buffer overflow ckeck in McAfee, and a patch has been...
10
by: pcnerd | last post by:
I've created a demo program that draws random lines on the form. At the end, a messagebox pops up with the words"I'm done!". When I click on "OK", the messagebox disappears, but a white square is...
4
by: Stevoo | last post by:
Hi All, Got a small prob (should be sumtin trivial) with displaying the messagebox correctly...this issue only arises on my pc at work, at home it functions normally...symptoms are as follows: ...
23
by: =?Utf-8?B?cGF0cmlja2RyZA==?= | last post by:
Hi everyone! Never before have I had so many problems displaying a message to the user (being a programmer for the last 4 years)! What I would like to do is show a message e.g. when a...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
1
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...

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.