Visual C# problem

  • Thread starter Thread starter newbie
  • Start date Start date
N

newbie

I have a very simple application that used a MessageBox in a console
application. On one machine it work fine, on another machine the
message box is shown and work fine but all the text on the controls is
missing. What is the solution?
 
Hello newbie,

Interesting, And code is just one line with MessageBox?
Do you run debug or release version?

n> I have a very simple application that used a MessageBox in a console
n> application. On one machine it work fine, on another machine the
n> message box is shown and work fine but all the text on the controls
n> is missing. What is the solution?
n>
---
WBR,
Michael Nemtsev :: blog: http://spaces.msn.com/laflour

"At times one remains faithful to a cause only because its opponents do not
cease to be insipid." (c) Friedrich Nietzsch
 
Yes only one line.
Here is the code

using System;
using System.Windows.Forms;
public class Contact
{

public static void Main()
{

MessageBox.Show("Contact Me","Contact Information");

}
}

It runs on one machine but not on another. On the second machine I get
the messagebox with the button but no text. I am running the Console
application inside of Visual Studio.Net - selecting Debug then start.
 
Hello newbie,

There is smth wrong with platform. Try to create release version and test
with it

n> Yes only one line.
n> Here is the code
n> using System;
n> using System.Windows.Forms;
n> public class Contact
n> {
n> public static void Main()
n> {
n> MessageBox.Show("Contact Me","Contact Information");
n>
n> }
n> }
n> It runs on one machine but not on another. On the second machine I
n> get the messagebox with the button but no text. I am running the
n> Console application inside of Visual Studio.Net - selecting Debug
n> then start.
n>
---
WBR,
Michael Nemtsev :: blog: http://spaces.msn.com/laflour

"At times one remains faithful to a cause only because its opponents do not
cease to be insipid." (c) Friedrich Nietzsch
 
McAfee was the problem. We disabled the buffer Overflow protection and
it worked like a charm.

Thanks for your help
 
Back
Top