MessageBox Text not showing up?

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

I'm trying to follow the walkthrough guide for "Creating a simple windows
form" to create a Hello World program (link below) using VisStu .NET. I have
tried both Visual Basic and C# to create this application.
I have done all the steps (create button, edit the click properties to use
MessageBox.Show("Hello, World!"); and when I run the application (In XP), the
window shows up and when I hit the button, then it pops up a window but
there is no text like there should be (no "Hello, World!" and even the OK
button doesn't have any text in it).
I copied over this program to my Windows 2003 server box, and the text shows
up there fine.
Any Ideas? Your help is much appreciated, since I'm very new to this stuff
http://msdn.microsoft.com/library/d...tml/vbwlkwalkthroughcreatingsimplewinform.asp
 
Hi Jason,

Which antivirus program are you using ? There were some similar posts here
and if I remember correclty it had something to do with antivirus software.
 
I'm using McAfee VirusScan Enterprise 8.0i. I will try disabling it and see
if that affects it.
 
Disabling my VS fixed the problem. Now I just need to figure out the
settings that are blocking this so I can put in exceptions. Thanks for your
help.
 
It is the Buffer Overflow setting which causes the problem.
Installing Patch 5 or later will fix it.

Ged
 
Back
Top