Invisable Text in Lst Bx & Msg Bk

T

Tim Hitchcock

I have written a couple of programs in C# using Visual Studio.NET 2003.
Both of these programs have the problem that when they are ran on my Windows
XP computer at work items in list boxes and text in message boxes appears
invisable. The items are actually added to the list box because you can run
the highlighted selection up and down in the list box as many times as the
number of items that were added. In the first program whose functionality
includes playing some .WAV files I have been able to get the items to appear
by having it play a tone immediatly when it is ran. In the second program
the list box is in a window that is displayed when you click a button on the
main window. The main window has a list control that displays the results
of a search. If I do a search so that there are items in the list control
and then move another application's window over the list control and then
back off of it and then press the button to bring up the window with the
list box the items are visable in the list box. If I don't do this, then
the items are not visable. In either program if a message box is displayed
when the list box problem is taking place then the message box will also
have invisable text. Text is always visable in both programs when I run
them on my Windows Vista computer at home. I don't know if this has
anything to do with the problem or not, but the network people where I work
have fixed it so that we can't use Windows Update. How can I make the text
appear visable without doing what I am presently having to do?N

Tim Hitchcock
(e-mail address removed)
 
J

John B

Tim said:
I have written a couple of programs in C# using Visual Studio.NET 2003.
Both of these programs have the problem that when they are ran on my
Windows XP computer at work items in list boxes and text in message
boxes appears invisable. The items are actually added to the list box
because you can run the highlighted selection up and down in the list
box as many times as the number of items that were added. In the first
program whose functionality includes playing some .WAV files I have been
able to get the items to appear by having it play a tone immediatly when
it is ran. In the second program the list box is in a window that is
displayed when you click a button on the main window. The main window
has a list control that displays the results of a search. If I do a
search so that there are items in the list control and then move another
application's window over the list control and then back off of it and
then press the button to bring up the window with the list box the items
are visable in the list box. If I don't do this, then the items are not
visable. In either program if a message box is displayed when the list
box problem is taking place then the message box will also have
invisable text. Text is always visable in both programs when I run them
on my Windows Vista computer at home. I don't know if this has anything
to do with the problem or not, but the network people where I work have
fixed it so that we can't use Windows Update. How can I make the text
appear visable without doing what I am presently having to do?N

Tim Hitchcock
(e-mail address removed)
I would (temporarily) build in a way of changing the fore/backcolor
properties for these controls and see if it is in any way related to that.

JB
 
C

Chris Dunaway

I have written a couple of programs in C# using Visual Studio.NET 2003.
Both of these programs have the problem that when they are ran on my Windows
XP computer at work items in list boxes and text in message boxes appears
invisable. The items are actually added to the list box because you can run
the highlighted selection up and down in the list box as many times as the
number of items that were added. In the first program whose functionality
includes playing some .WAV files I have been able to get the items to appear
by having it play a tone immediatly when it is ran. In the second program
the list box is in a window that is displayed when you click a button on the
main window. The main window has a list control that displays the results
of a search. If I do a search so that there are items in the list control
and then move another application's window over the list control and then
back off of it and then press the button to bring up the window with the
list box the items are visable in the list box. If I don't do this, then
the items are not visable. In either program if a message box is displayed
when the list box problem is taking place then the message box will also
have invisable text. Text is always visable in both programs when I run
them on my Windows Vista computer at home. I don't know if this has
anything to do with the problem or not, but the network people where I work
have fixed it so that we can't use Windows Update. How can I make the text
appear visable without doing what I am presently having to do?N

Tim Hitchcock
(e-mail address removed)

What version of Anti-virus software do you have? There was a problem
with Norton v7 or 8 that would cause this problem. There is a patch
available from Symantec.

Chris
 
T

Tim Hitchcock

John said:
I would (temporarily) build in a way of changing the fore/backcolor
properties for these controls and see if it is in any way related to that.

JB

In the load event I changed the backcolor to white (which it already was)
and the forecolor to red. This produced the same result. The text was
invisable until I moved another window over the list control and off before
bringing up the list box window, then the text was red. I also tried
changing the font from "Microsoft San Serif 11.25 pt" to "Courier New 11.25
pt". This also produced the same result.

Tim Hitchcock
(e-mail address removed)
 
T

Tim Hitchcock

Chris said:
What version of Anti-virus software do you have? There was a problem
with Norton v7 or 8 that would cause this problem. There is a patch
available from Symantec.

Chris

[I already sent this, but I think I pushed the <Reply> button rather than
the <Reply Group> button]

I am using McAfee both at work and at home.

Tim Hitchcock
(e-mail address removed)
 
C

Chris Dunaway

Chris said:
What version of Anti-virus software do you have? There was a problem
with Norton v7 or 8 that would cause this problem. There is a patch
available from Symantec.

[I already sent this, but I think I pushed the <Reply> button rather than
the <Reply Group> button]

I am using McAfee both at work and at home.

Tim Hitchcock
(e-mail address removed)

I'm sorry, the bug was with McAfee. I couldn't remember which it
was. Search the forums, you should be able to find a link to it to
confirm.

Chris
 
T

Tim Hitchcock

John said:
I would (temporarily) build in a way of changing the fore/backcolor
properties for these controls and see if it is in any way related to that.

JB

In the load event I changed the backcolor to white (which it already was)
and the forecolor to red. This produced the same result. The text was
invisable until I moved another window over the list control and off before
bringing up the list box window, then the text was red. I also tried
changing the font from "Microsoft San Serif 11.25 pt" to "Courier New 11.25
pt". This also produced the same result.

Tim Hitchcock
(e-mail address removed)
 
T

Tim Hitchcock

Chris said:
What version of Anti-virus software do you have? There was a problem
with Norton v7 or 8 that would cause this problem. There is a patch
available from Symantec.

Chris

[I already sent this, but I think I pushed the <Reply> button rather than
the <Reply Group> button]

I am using McAfee both at work and at home.

Tim Hitchcock
(e-mail address removed)
 

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

Top