Hi,
I just noticed that while trying to run this code :
MessageBox.Show ("Hello");
the message box pops up but shows no string/message in it. (expecting the
"Hello" string). Even the "OK" string in the button itself in dialog box
doesn't show.
I tried to write "Hello" string in the caption/text of the button or the
form text itslef
this.text = "hello"
but nothing changes.
I ran it from "outsite" (not from MS Studio IDE) and it does the same thing.
I unistalled and installed the .Net 1.1 Framework but the problem appears
and disappears randomly.......
It may be others thing they may not work properly, I just can't notice all
of them but this was obvious.
Any idea ? 18 1618
"genc ymeri" <ge********@hot mail.com> wrote in message
news:OJ******** ******@TK2MSFTN GP11.phx.gbl... Hi, I just noticed that while trying to run this code :
MessageBox.Show ("Hello");
the message box pops up but shows no string/message in it. (expecting the "Hello" string). Even the "OK" string in the button itself in dialog box doesn't show.
It needs a little bit more info.
MessageBox.Show
("Hello","Goodb ye",MessageBoxB uttons.OK,Messa geBoxIcon.Infor mation);
"Martin Stainsby" <go***********@ alreadythank.yo u> wrote in message
news:u3******** ******@TK2MSFTN GP10.phx.gbl... It needs a little bit more info. MessageBox.Show ("Hello","Goodb ye",MessageBoxB uttons.OK,Messa geBoxIcon.Infor mation);
It's minimal, but syntactically and logically correct. The OP should be
getting a dialog with "Hello" as the message and everything else defaulted.
--
Peter [MVP Visual Developer]
Jack of all trades, master of none.
This is very weird. You are calling MessageBox.Show properly. It seems
like some sort of string resource problem inside the .NET framework. Does
this reproduce in a simple project? Are you running on a separate thread
from the main application thread?
Tom Clement
Apptero, Inc.
"genc ymeri" <ge********@hot mail.com> wrote in message
news:OJ******** ******@TK2MSFTN GP11.phx.gbl... Hi, I just noticed that while trying to run this code :
MessageBox.Show ("Hello");
the message box pops up but shows no string/message in it. (expecting the "Hello" string). Even the "OK" string in the button itself in dialog box doesn't show.
I tried to write "Hello" string in the caption/text of the button or the form text itslef
this.text = "hello"
but nothing changes.
I ran it from "outsite" (not from MS Studio IDE) and it does the same thing. I unistalled and installed the .Net 1.1 Framework but the problem appears and disappears randomly.......
It may be others thing they may not work properly, I just can't notice all of them but this was obvious.
Any idea ?
"genc ymeri" <ge********@hot mail.com> wrote in message
news:OJ******** ******@TK2MSFTN GP11.phx.gbl... Hi, I just noticed that while trying to run this code :
MessageBox.Show ("Hello");
the message box pops up but shows no string/message in it. (expecting the "Hello" string). Even the "OK" string in the button itself in dialog box doesn't show.
I tried to write "Hello" string in the caption/text of the button or the form text itslef
this.text = "hello"
but nothing changes.
I ran it from "outsite" (not from MS Studio IDE) and it does the same
thing. I unistalled and installed the .Net 1.1 Framework but the problem appears and disappears randomly.......
It may be others thing they may not work properly, I just can't notice all of them but this was obvious.
Any idea ?
Your first code statement works correctly here in three different Visual
Studio .NET 2003 development environments, leading me to the conclusion that
there must be something very wrong on your PC.
I suggest applying all security patches to your OS if you have no already
done so, scanning with an up-to-date virus scanner and checking your system
for malware using tools like SpyBot and AdAware. Once you're sure you're
clean, then uninstall and reinstall both the .NET Framework and VS. NET.
Brutal, I know, but you have something causing erratic behavior.
--
Peter [MVP Visual Developer]
Jack of all trades, master of none.
Your first code statement works correctly here in three different Visual
Studio .NET 2003 development environments, leading me to the conclusion
that
there must be something very wrong on your PC>>>>>>>>>
yeah,,, It started while parsing some XML files and it drove me
"creazy" b/c I was not getting any values at all, so I tried the
MessageBox.Show ("Hello"). No text did show up.
So I opened a new project dropping a single button and onClick event I
wrote the same thing
string s = "hello";
MessageBox.Show ("Hello");
MessageBox.Show (s);
No text did show up in both of my above commands. Then I wrote a simple
app to run it through console,
....
console.write(" hello");string s = "hello";console .write(s);
this did work fine.
I went back to my simple win project with a single button on it, and it
showed the same problem.
Not sure what it is, but I do have NAV & LavaSoft running daily, and a
deticated team to catch these problems. Yes something is wrong in my PC
b/c my simple samples run fine in other PCs.
Not sure what it is.
Thanks a lot.
Ghenz.
Software Engineer
QuadraMed Corp.
Reston.VA
*** Sent via Developersdex http://www.developersdex.com ***
Don't just participate in USENET...get rewarded for it!
Stupid question, but you haven't accidently changed your Dialog Text Color to the same as your Dialog Color have you?
Regards
Richard Blewett - DevelopMentor http://staff.develop.com/richardb/weblog
nntp://news.microsoft. com/microsoft.publi c.dotnet.langua ges.csharp/<#Y************ **@TK2MSFTNGP15 .phx.gbl>
Your first code statement works correctly here in three different Visual
Studio .NET 2003 development environments, leading me to the conclusion
that
there must be something very wrong on your PC>>>>>>>>>
yeah,,, It started while parsing some XML files and it drove me
"creazy" b/c I was not getting any values at all, so I tried the
MessageBox.Show ("Hello"). No text did show up.
So I opened a new project dropping a single button and onClick event I
wrote the same thing
string s = "hello";
MessageBox.Show ("Hello");
MessageBox.Show (s);
No text did show up in both of my above commands. Then I wrote a simple
app to run it through console,
...
console.write(" hello");string s = "hello";console .write(s);
this did work fine.
I went back to my simple win project with a single button on it, and it
showed the same problem.
Not sure what it is, but I do have NAV & LavaSoft running daily, and a
deticated team to catch these problems. Yes something is wrong in my PC
b/c my simple samples run fine in other PCs.
Not sure what it is.
Thanks a lot.
Ghenz.
Software Engineer
QuadraMed Corp.
Reston.VA
*** Sent via Developersdex http://www.developersdex.com ***
Don't just participate in USENET...get rewarded for it!
---
Incoming mail is certified Virus Free.
Checked by AVG anti-virus system ( http://www.grisoft.com).
Version: 6.0.760 / Virus Database: 509 - Release Date: 10/09/2004
[microsoft.publi c.dotnet.langua ges.csharp]
Maybe you are using a popup blocker which prevents MessageBoxes to show up.
--
cody
[Freeware, Games and Humor] www.deutronium.de.vu || www.deutronium.tk
"genc ymeri" <ge********@hot mail.com> schrieb im Newsbeitrag
news:%2******** ********@TK2MSF TNGP15.phx.gbl. .. Your first code statement works correctly here in three different Visual Studio .NET 2003 development environments, leading me to the conclusion that there must be something very wrong on your PC>>>>>>>>>
yeah,,, It started while parsing some XML files and it drove me "creazy" b/c I was not getting any values at all, so I tried the MessageBox.Show ("Hello"). No text did show up.
So I opened a new project dropping a single button and onClick event I wrote the same thing
string s = "hello"; MessageBox.Show ("Hello"); MessageBox.Show (s);
No text did show up in both of my above commands. Then I wrote a simple app to run it through console, ... console.write(" hello");string s = "hello";console .write(s); this did work fine.
I went back to my simple win project with a single button on it, and it showed the same problem.
Not sure what it is, but I do have NAV & LavaSoft running daily, and a deticated team to catch these problems. Yes something is wrong in my PC b/c my simple samples run fine in other PCs.
Not sure what it is.
Thanks a lot.
Ghenz.
Software Engineer QuadraMed Corp. Reston.VA
*** Sent via Developersdex http://www.developersdex.com *** Don't just participate in USENET...get rewarded for it!
I do see the MessageBox. I do not see the string message in it.
"cody" <pl************ *************@g mx.de> wrote in message
news:eT******** *****@TK2MSFTNG P09.phx.gbl... Maybe you are using a popup blocker which prevents MessageBoxes to show
up. -- cody
[Freeware, Games and Humor] www.deutronium.de.vu || www.deutronium.tk "genc ymeri" <ge********@hot mail.com> schrieb im Newsbeitrag news:%2******** ********@TK2MSF TNGP15.phx.gbl. .. Your first code statement works correctly here in three different Visual Studio .NET 2003 development environments, leading me to the conclusion that there must be something very wrong on your PC>>>>>>>>>
yeah,,, It started while parsing some XML files and it drove me "creazy" b/c I was not getting any values at all, so I tried the MessageBox.Show ("Hello"). No text did show up.
So I opened a new project dropping a single button and onClick event I wrote the same thing
string s = "hello"; MessageBox.Show ("Hello"); MessageBox.Show (s);
No text did show up in both of my above commands. Then I wrote a simple app to run it through console, ... console.write(" hello");string s = "hello";console .write(s); this did work fine.
I went back to my simple win project with a single button on it, and it showed the same problem.
Not sure what it is, but I do have NAV & LavaSoft running daily, and a deticated team to catch these problems. Yes something is wrong in my PC b/c my simple samples run fine in other PCs.
Not sure what it is.
Thanks a lot.
Ghenz.
Software Engineer QuadraMed Corp. Reston.VA
*** Sent via Developersdex http://www.developersdex.com *** Don't just participate in USENET...get rewarded for it!
hmmmm fair question but no, I haven't. Also now randomly, (specially when
I change the focus from onether app to my sample app) the text sometimes
shows up ,,,,,,)
thnx
"Richard Blewett [DevelopMentor]" <ri******@devel op.com> wrote in message
news:eP******** ******@TK2MSFTN GP11.phx.gbl... Stupid question, but you haven't accidently changed your Dialog Text Color
to the same as your Dialog Color have you? Regards
Richard Blewett - DevelopMentor
http://staff.develop.com/richardb/weblog
nntp://news.microsoft. com/microsoft.publi c.dotnet.langua ges.csharp/<#Y************ **@TK2MSFTNGP15 .phx.gbl> Your first code statement works correctly here in three different Visual Studio .NET 2003 development environments, leading me to the conclusion that there must be something very wrong on your PC>>>>>>>>>
yeah,,, It started while parsing some XML files and it drove me "creazy" b/c I was not getting any values at all, so I tried the MessageBox.Show ("Hello"). No text did show up.
So I opened a new project dropping a single button and onClick event I wrote the same thing
string s = "hello"; MessageBox.Show ("Hello"); MessageBox.Show (s);
No text did show up in both of my above commands. Then I wrote a simple app to run it through console, ... console.write(" hello");string s = "hello";console .write(s); this did work fine.
I went back to my simple win project with a single button on it, and it showed the same problem.
Not sure what it is, but I do have NAV & LavaSoft running daily, and a deticated team to catch these problems. Yes something is wrong in my PC b/c my simple samples run fine in other PCs.
Not sure what it is.
Thanks a lot.
Ghenz.
Software Engineer QuadraMed Corp. Reston.VA
*** Sent via Developersdex http://www.developersdex.com *** Don't just participate in USENET...get rewarded for it!
--- Incoming mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.760 / Virus Database: 509 - Release Date: 10/09/2004 [microsoft.publi c.dotnet.langua ges.csharp] This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics |
by: Marcus |
last post by:
Hello,
I recently converted all my existing MyISAM tables to InnoDB tables
through phpmyadmin. I noticed some strange behavior whenever I would
refresh the screen, as phpmyadmin would report different numbers for the
cardinality of the primary key (i.e. one minute it would say cardinality
388, then 244 on refresh, then something else), and it would report
different values for the number of rows when mousing over the table
names on the...
|
by: Dmitriy Iassenev |
last post by:
hi,
I found an interesting thing in operator behaviour in C++ :
int i=1;
printf("%d",i++ + i++);
I think the value of the expression "i++ + i++" _must_ be 3, but all the
compilers I tested print 2.
|
by: thulsey |
last post by:
Hi all,
I've got some strange behavior happening in Firefox and Safari (Khtml
and Gecko) that displays *almost* fine in IE6.0 (still trying to get
pixels to line up, anal anal anal...)
To speed things up, and to avoid any problems with looking through the
css file, I'll say first that I based the navigation menu on the
"Suckerfish Dropdown menu" online demo over at htmldog.
(http://www.htmldog.com/articles/suckerfish/dropdowns/). In...
|
by: Alexander Inochkin |
last post by:
Hi!
I found same strange behavior of ASP.NET. It is possible this is the bug.
Follow the steps:
|
by: ivb |
last post by:
Hi all,
I am using DB2 8.1.11.1 on NT with ASP.NET 1.1
When application make connection to database (via ADO.NET), it set
"Connection timeout" parameter to 30 seconds.
After, when my webpage requests database, and query execution time
exceeds 30 seconds, the following error reported:
===
| |
by: Joseph Geretz |
last post by:
Writing an Outlook AddIn with C#. For the user interface within Outlook I'm
adding matching pairs of Toolbar buttons and Menu items. All of the buttons
and menu items are wired up to send events to the same method (aka
delegate?). I use the Tag property within this method to determine what user
action is taking place. Very simple:
When adding toolbar button:
tbButton.Click += new...
|
by: sara |
last post by:
Very strange behavior, but I suspect some is A2K and some might be for
me to correct. Just trying to see if anyone can help and advise.
We have a database that's been running for a few years with no
problems. We continuously add queries and reports. We're up to about
700 queries (no, not all are used and most are parameter queries - the
business asks a LOT of questions!), and under 250 reports and fewer
than 15 forms.
Data is...
|
by: Nicholas Palmer |
last post by:
Hi all,
Got a question about the AspCompat=true page property. First a little
background. We have an ASP.NET app that uses two COM components. The first
is the Microsoft OWC 11 components and the second is a custom VB6 COM
component. So I was reading about AspCompat=true and it seemed like it would
be a good fit for our app. From what I can tell both of the COM components
that we are using are STA and we are creating the components in...
|
by: david |
last post by:
I took old code and decided to modify it a bit, and I just noticed
that it does not compile at all and before server one of severs (main)
crashed in the system it was working fine (I am really sure that I
remember that).
Now I am getting this error:
$ make
g++ -Wall -ansi -pedantic -c pirma_lib.cpp
g++ -Wall -ansi -pedantic -c pirma.cpp
In file included from pirma.cpp:2:
|
by: Pilcrow |
last post by:
This behavior seems very strange to me, but I imagine that someone will
be able to 'explain' it in terms of the famous C standard.
-------------------- code -----------------------------------
#include <stdio.h>
int main (void)
{
char xx="abcd";
char * p1 = xx;
|
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, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed.
This is as boiled down as I can make it.
Here is my compilation command:
g++-12 -std=c++20 -Wnarrowing bit_field.cpp
Here is the code in...
| |
by: tracyyun |
last post by:
Dear forum friends,
With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
|
by: agi2029 |
last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own....
Now, this would greatly impact the work of software developers. The idea...
|
by: isladogs |
last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM).
In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules.
He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms.
Adolph will...
|
by: conductexam |
last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one.
At the time of converting from word file to html my equations which are in the word document file was convert into image.
Globals.ThisAddIn.Application.ActiveDocument.Select();...
|
by: adsilva |
last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
|
by: 6302768590 |
last post by:
Hai team
i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
| |
by: muto222 |
last post by:
How can i add a mobile payment intergratation into php mysql website.
|
by: bsmnconsultancy |
last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...
| |