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
 
Hi,

It should be working ok.. are you doing something with Localization ?
 
Nope. It is very weird. Messageboxes work fine in my other apps. Just not
this new one....
 
Very weird in deed ... maybe some of the MVP's will know something :)
 
Turn off buffer overrun protection for McAfee VirusScan 8.

Does this help?
 
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
 

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

Back
Top