What is wrong with this line of code?

  • Thread starter Thread starter Rollasoc
  • Start date Start date
R

Rollasoc

MessageBox.Show("Hello", "Boo", MessageBoxButtons.OK,
MessageBoxIcon.Information);

Why when it runs, does the word "Hello" not be displayed in the message box
and the message box display a blank button and not one that says "OK".
"Boo" does appear in the Title bar.

This is doing my head in...

Rollasoc
 
Nope. It is very weird. Messageboxes work fine in my other apps. Just not
this new one....
 
Rollasoc said:
MessageBox.Show("Hello", "Boo", MessageBoxButtons.OK,
MessageBoxIcon.Information);

Why when it runs, does the word "Hello" not be displayed in the message
box
and the message box display a blank button and not one that says "OK".
"Boo" does appear in the Title bar.

Maybe you are running an unpatched version of McAfee VirusScan 8:

Patch 5 for McAfee VirusScan Enterprise 8.0i
<URL:https://knowledgemap.nai.com/phpclient/viewKDoc.aspx?url=kb/kb_kb38717.xml&docType=DOC_KnowledgeBase>
 
I'm using Mcafee. I'll get IT to look into it.

Thanks for everyone's help. Have a good Christmas.

Rollasoc


"Mick Doherty"
 
I've updated Mcafee with all the latest patches and this has cured the
problem.

Thank you all very much.

Rollasoc
 
Back
Top