Messagebox text not visible

J

Jim King

Hi all,

I have just started using VB.NET and have already encountered a puzzling bit
of behavior.

When I put the following line of code into the click event of a command
button:

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

the message box does appear complete with caption and exclamation point
icon, but the text of the message box ("Test Message") and the button text
are not visible.

There is only one form in the project, and only one button on the form. The
above code is the only code in the button's CLICK event.

FYI, I am running version 7.1.3088 of the Microsoft Development Environment
and Verions 1.1.4322 of the .NET Framework 1.1.

Any help or pointers will be greatly appreciated!

Thanks,
Jim
 
H

Herfried K. Wagner [MVP]

Jim,

Jim King said:
When I put the following line of code into the click event of a command
button:

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

the message box does appear complete with caption and exclamation point
icon, but the text of the message box ("Test Message") and the button text
are not visible.

Typically this symptom is caused by a McAfee VirusScan problem that NAI is
aware of and
that can be fixed by installing a patch:

Patch 5 for McAfee VirusScan Enterprise 8.0i
<URL:https://knowledgemap.nai.com/phpclient/viewKDoc.aspx?url=kb/kb_kb38717.xml&docType=DOC_KnowledgeBase>
 

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

Top