473,387 Members | 2,436 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,387 software developers and data experts.

Messagebox text not visible

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
Nov 21 '05 #1
2 1356
Jim,

"Jim King" <ki**@aa.edu> schrieb:
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>

--
M S Herfried K. Wagner
M V P <URL:http://dotnet.mvps.org/>
V B <URL:http://dotnet.mvps.org/dotnet/faqs/>

Nov 21 '05 #2
Thank took care of the problem!! Thanks for help!

Jim

"Herfried K. Wagner [MVP]" <hi***************@gmx.at> wrote in message
news:ew**************@tk2msftngp13.phx.gbl...
Jim,

"Jim King" <ki**@aa.edu> schrieb:
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/phpclie...=kb/kb_kb38717.
xml&docType=DOC_KnowledgeBase>
--
M S Herfried K. Wagner
M V P <URL:http://dotnet.mvps.org/>
V B <URL:http://dotnet.mvps.org/dotnet/faqs/>

Nov 21 '05 #3

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

Similar topics

4
by: Gerry Viator | last post by:
Hi all, Whats going on. Testing messagebox, text isn't showing up. Public Class Form1 Inherits System.Windows.Forms.Form #Region " Windows Form Designer generated code "
11
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
by: Sin | last post by:
I'm currently evaluating VC.NET as the new platform for the company I work for and things are looking grim... We're up against another IDE which took me about 5 minutes to master and I've been...
0
by: alex_f_il | last post by:
The class centers MessageBox inside the parent rectangle. Enjoy! using System; using System.Windows.Forms; using System.Text; using System.Drawing; using System.Runtime.InteropServices; ...
10
by: Russ | last post by:
I've been trying to figure out how to show a simple messagebox with an OK button in my web client program (C#). I have looked at every reference to JScript and MessageBox that seemed even remotely...
6
by: Calligra | last post by:
have a form which looks at the title of the workbook saved on a different workbook, determines whether or not information has been inputted previously and then asks the user if the information is...
0
by: Tarazen | last post by:
Hi i have built a mobile phone in VB 2005.I am having difficulty getting it to send messages to another Form(another mobile phone image) I can get it to send a static message ie:if i type the...
5
by: Muffin | last post by:
I hope somebody can show me why I need to have a messagebox to get "random" numbers in my example. If I comment out the message box call that is in RollAbility() the numbers generated are not...
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: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
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
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,...

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.