My visual studio has been working fine for vb.net for months.
Now when I add a button with the following code:
Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As
System.EventArgs) Handles Button1.Click
MessageBox.Show("text", "caption", MessageBoxButtons.OKCancel)
End Sub
The word "caption" appears at the top of the messagebox, but the word "text"
is not visible and the words "OK" and "Cancel" are also not visible. The
buttons are there, but I can't see the words.
I first noticed the problem because I now can no longer see any of the items
in a listbox. I can add three items to a listbox, scroll up and down and
see that the three items are there, but they are invisible. I have tried
changing backcolor, forecolor and font, but the text is still invisible.
I also can't view the text in a listbox I created months ago in previous
vb.net projects.
Where should I start looking to solve this?
Thanks in advance for any help.
Ron Dahl 8 1912
Ron,
In your situation I would start with trying naming the messagebox
System.Windows.Forms.Messagebox.show(....)
To be shure you have the right messagebox
Cor My visual studio has been working fine for vb.net for months. Now when I add a button with the following code:
Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click MessageBox.Show("text", "caption", MessageBoxButtons.OKCancel) End Sub
The word "caption" appears at the top of the messagebox, but the word
"text" is not visible and the words "OK" and "Cancel" are also not visible. The buttons are there, but I can't see the words.
I first noticed the problem because I now can no longer see any of the
items in a listbox. I can add three items to a listbox, scroll up and down and see that the three items are there, but they are invisible. I have tried changing backcolor, forecolor and font, but the text is still invisible.
I also can't view the text in a listbox I created months ago in previous vb.net projects.
Did you recently change from Win2000 to XP or that is the first time you are
running the project on XP?... if so try changing your Control's ForeColor to
see difference. I have had this problem from moving from Win2k to XP
VJ
"Ron Dahl" <rd***@ghp.com> wrote in message
news:eN**************@TK2MSFTNGP15.phx.gbl... My visual studio has been working fine for vb.net for months. Now when I add a button with the following code:
Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click MessageBox.Show("text", "caption", MessageBoxButtons.OKCancel) End Sub
The word "caption" appears at the top of the messagebox, but the word
"text" is not visible and the words "OK" and "Cancel" are also not visible. The buttons are there, but I can't see the words.
I first noticed the problem because I now can no longer see any of the
items in a listbox. I can add three items to a listbox, scroll up and down and see that the three items are there, but they are invisible. I have tried changing backcolor, forecolor and font, but the text is still invisible.
I also can't view the text in a listbox I created months ago in previous vb.net projects.
Where should I start looking to solve this?
Thanks in advance for any help. Ron Dahl
I tried your suggestion, but putting the full path didn't make any
difference.
Thanks, Ron
"Cor Ligthert" <no**********@planet.nl> wrote in message
news:%2****************@TK2MSFTNGP11.phx.gbl... Ron,
In your situation I would start with trying naming the messagebox System.Windows.Forms.Messagebox.show(....)
To be shure you have the right messagebox
Cor
My visual studio has been working fine for vb.net for months. Now when I add a button with the following code:
Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click MessageBox.Show("text", "caption", MessageBoxButtons.OKCancel) End Sub
The word "caption" appears at the top of the messagebox, but the word "text" is not visible and the words "OK" and "Cancel" are also not visible. The buttons are there, but I can't see the words.
I first noticed the problem because I now can no longer see any of the items in a listbox. I can add three items to a listbox, scroll up and down and see that the three items are there, but they are invisible. I have tried changing backcolor, forecolor and font, but the text is still invisible.
I also can't view the text in a listbox I created months ago in previous vb.net projects.
Changing the forecolor of the button that calls the messagebox didn't make
any difference. About two weeks ago I upgraded to SP2 of Windows XP, but
I've been using Windows XP for quite awhile. It seems like if it were a SP2
problem, it would have showed up before now.
I had also downloaded Visual Basic 2005 Express Edition Beta about two weeks
ago. I can convert a project to 2005 Express Edition and they work fine. I
can also create a new project in 2005 Express Edition and it works fine.
Also seems to work fine in Excel VBA. It's just Visual Studio that is
messed up.
I guess I'll look for the Visual Studio disk tomorrow and try to reinstall
the product.
I really don't want to move my projects to 2005 Express Edition Beta, (since
it's still a Beta) but if a new install of Visual Studio doesn't work, I may
have to.
Ron
"VJ" <vi********@yahoo.com> wrote in message
news:%2****************@TK2MSFTNGP09.phx.gbl... Did you recently change from Win2000 to XP or that is the first time you are running the project on XP?... if so try changing your Control's ForeColor to see difference. I have had this problem from moving from Win2k to XP
VJ
"Ron Dahl" <rd***@ghp.com> wrote in message news:eN**************@TK2MSFTNGP15.phx.gbl... My visual studio has been working fine for vb.net for months. Now when I add a button with the following code:
Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click MessageBox.Show("text", "caption", MessageBoxButtons.OKCancel) End Sub
The word "caption" appears at the top of the messagebox, but the word "text" is not visible and the words "OK" and "Cancel" are also not visible. The buttons are there, but I can't see the words.
I first noticed the problem because I now can no longer see any of the items in a listbox. I can add three items to a listbox, scroll up and down and see that the three items are there, but they are invisible. I have tried changing backcolor, forecolor and font, but the text is still invisible.
I also can't view the text in a listbox I created months ago in previous vb.net projects.
Where should I start looking to solve this?
Thanks in advance for any help. Ron Dahl
Have you tried changing stuff in the Display Properties->Appearance tab in
your control panel?
Rgds,
Anand http://www.dotnetindia.com
"Ron Dahl" wrote: My visual studio has been working fine for vb.net for months. Now when I add a button with the following code:
Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click MessageBox.Show("text", "caption", MessageBoxButtons.OKCancel) End Sub
The word "caption" appears at the top of the messagebox, but the word "text" is not visible and the words "OK" and "Cancel" are also not visible. The buttons are there, but I can't see the words.
I first noticed the problem because I now can no longer see any of the items in a listbox. I can add three items to a listbox, scroll up and down and see that the three items are there, but they are invisible. I have tried changing backcolor, forecolor and font, but the text is still invisible.
I also can't view the text in a listbox I created months ago in previous vb.net projects.
Where should I start looking to solve this?
Thanks in advance for any help. Ron Dahl
I think you're on the right track.
The words "text", "OK", and "Cancel" are visible if I use Default
DesktopOnly or ServiceNotification as in:
MessageBox.Show("text", "caption", MessageBoxButtons.OKCancel,
MessageBoxIcon.Exclamation, MessageBoxDefaultButton.Button1,
MessageBoxOptions.DefaultDesktopOnly)
Or
MessageBox.Show("text", "caption", MessageBoxButtons.OKCancel,
MessageBoxIcon.Exclamation, MessageBoxDefaultButton.Button1,
MessageBoxOptions.ServiceNotification)
The words "text", "OK", and "Cancel" are visible are not visible if I use
RightAlign or RtlReading as in:
MessageBox.Show("text", "caption", MessageBoxButtons.OKCancel,
MessageBoxIcon.Exclamation, MessageBoxDefaultButton.Button1,
MessageBoxOptions.RightAlign)
Or
MessageBox.Show("text", "caption", MessageBoxButtons.OKCancel,
MessageBoxIcon.Exclamation, MessageBoxDefaultButton.Button1,
MessageBoxOptions.RtlReading)
Could you explain further how I should change stuff in Display
Properties->Appearance tab in my control panel? I'm not sure exactly how to
get to these properties.
I'll keep looking but more help would sure be appreciated.
Thanks, Ron
"Anand[MVP]" <An******@discussions.microsoft.com> wrote in message
news:28**********************************@microsof t.com... Have you tried changing stuff in the Display Properties->Appearance tab in your control panel?
Rgds, Anand http://www.dotnetindia.com
"Ron Dahl" wrote:
My visual studio has been working fine for vb.net for months. Now when I add a button with the following code:
Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click MessageBox.Show("text", "caption", MessageBoxButtons.OKCancel) End Sub
The word "caption" appears at the top of the messagebox, but the word "text" is not visible and the words "OK" and "Cancel" are also not visible. The buttons are there, but I can't see the words.
I first noticed the problem because I now can no longer see any of the items in a listbox. I can add three items to a listbox, scroll up and down and see that the three items are there, but they are invisible. I have tried changing backcolor, forecolor and font, but the text is still invisible.
I also can't view the text in a listbox I created months ago in previous vb.net projects.
Where should I start looking to solve this?
Thanks in advance for any help. Ron Dahl
Well I dont have SP2 on my machine and am not sure if that has changed
something. But you can always set the default theme and hope it resets
everything back to normal.
Rgds,
Anand http://www.dotnetindia.com
"Ron Dahl" wrote: I think you're on the right track. The words "text", "OK", and "Cancel" are visible if I use Default DesktopOnly or ServiceNotification as in:
MessageBox.Show("text", "caption", MessageBoxButtons.OKCancel, MessageBoxIcon.Exclamation, MessageBoxDefaultButton.Button1, MessageBoxOptions.DefaultDesktopOnly)
Or
MessageBox.Show("text", "caption", MessageBoxButtons.OKCancel, MessageBoxIcon.Exclamation, MessageBoxDefaultButton.Button1, MessageBoxOptions.ServiceNotification) The words "text", "OK", and "Cancel" are visible are not visible if I use RightAlign or RtlReading as in:
MessageBox.Show("text", "caption", MessageBoxButtons.OKCancel, MessageBoxIcon.Exclamation, MessageBoxDefaultButton.Button1, MessageBoxOptions.RightAlign)
Or
MessageBox.Show("text", "caption", MessageBoxButtons.OKCancel, MessageBoxIcon.Exclamation, MessageBoxDefaultButton.Button1, MessageBoxOptions.RtlReading) Could you explain further how I should change stuff in Display Properties->Appearance tab in my control panel? I'm not sure exactly how to get to these properties. I'll keep looking but more help would sure be appreciated.
Thanks, Ron
"Anand[MVP]" <An******@discussions.microsoft.com> wrote in message news:28**********************************@microsof t.com... Have you tried changing stuff in the Display Properties->Appearance tab in your control panel?
Rgds, Anand http://www.dotnetindia.com
"Ron Dahl" wrote:
My visual studio has been working fine for vb.net for months. Now when I add a button with the following code:
Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click MessageBox.Show("text", "caption", MessageBoxButtons.OKCancel) End Sub
The word "caption" appears at the top of the messagebox, but the word "text" is not visible and the words "OK" and "Cancel" are also not visible. The buttons are there, but I can't see the words.
I first noticed the problem because I now can no longer see any of the items in a listbox. I can add three items to a listbox, scroll up and down and see that the three items are there, but they are invisible. I have tried changing backcolor, forecolor and font, but the text is still invisible.
I also can't view the text in a listbox I created months ago in previous vb.net projects.
Where should I start looking to solve this?
Thanks in advance for any help. Ron Dahl
For anyone following this thread, it was McAfee Version 8 that caused the
problem. I went back to Version 7, and now everything is working as before.
I believe our IT Department reported it to McAfee, so I assume they'll issue
a patch soon.
Ron Dahl
"Ron Dahl" <rd***@ghp.com> wrote in message
news:eN**************@TK2MSFTNGP15.phx.gbl... My visual studio has been working fine for vb.net for months. Now when I add a button with the following code:
Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click MessageBox.Show("text", "caption", MessageBoxButtons.OKCancel) End Sub
The word "caption" appears at the top of the messagebox, but the word "text" is not visible and the words "OK" and "Cancel" are also not visible. The buttons are there, but I can't see the words.
I first noticed the problem because I now can no longer see any of the items in a listbox. I can add three items to a listbox, scroll up and down and see that the three items are there, but they are invisible. I have tried changing backcolor, forecolor and font, but the text is still invisible.
I also can't view the text in a listbox I created months ago in previous vb.net projects.
Where should I start looking to solve this?
Thanks in advance for any help. Ron Dahl This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics
by: Reed L. O'Brien |
last post by:
I see rotor was removed for 2.4 and the docs say use an AES module
provided separately... Is there a standard module that works alike or
an AES module that works alike but with better encryption?...
|
by: Sarah Tanembaum |
last post by:
Beside its an opensource and supported by community, what's the fundamental
differences between PostgreSQL and those high-price commercial database (and
some are bloated such as Oracle) from...
|
by: Mark Johnson |
last post by:
Oddly enough, I found it difficult, using Google, to find a list of
best-of sites based on the quality of their css packages.
So I'd ask. Does anyone know of particularly good sites which are in...
|
by: Jerzy Karczmarczuk |
last post by:
I thought that the following sequence
gl=0
def gen(x):
global gl
gl=x
yield x
s=gen(1)
|
by: typingcat |
last post by:
First of all, I'm an Asian and I need to input Japanese, Korean and so
on. I've tried many PHP IDEs today, but almost non of them supported
Unicode (UTF-8) file.
I've found that the only Unicode...
|
by: Servé Lau |
last post by:
in what fields of computing is C used the most nowadays?
embedded, scientific, applications? What?
|
by: Ross Reyes |
last post by:
HI -
Sorry for maybe a too simple a question but I googled and also checked my
reference O'Reilly Learning Python
book and I did not find a satisfactory answer.
When I use readlines, what...
|
by: Xah Lee |
last post by:
in March, i posted a essay “What is Expressiveness in a Computer
Languageâ€, archived at:
http://xahlee.org/perl-python/what_is_expresiveness.html
I was informed then that there is a academic...
|
by: jaso |
last post by:
Can you give any comments on this code?
I used one goto, is it bad?
#include <stdio.h>
#include <stdlib.h>
#include <ctype.h>
#include <string.h>
#include <assert.h>
#define NOT_NULL 1
|
by: dfound |
last post by:
#include<windows.h>
#include<dos.h>
#include<dir.h>
#include<fstream.h>
#include<stdio.h>
#include<process.h>
#include"resource.h" //resource header file
|
by: CloudSolutions |
last post by:
Introduction:
For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
|
by: Faith0G |
last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
|
by: isladogs |
last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 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 former...
|
by: ryjfgjl |
last post by:
In our work, we often need to import Excel data into databases (such as MySQL, SQL Server, Oracle) for data analysis and processing. Usually, we use database tools like Navicat or the Excel import...
|
by: aa123db |
last post by:
Variable and constants
Use var or let for variables and const fror constants.
Var foo ='bar';
Let foo ='bar';const baz ='bar';
Functions
function $name$ ($parameters$) {
}
...
|
by: emmanuelkatto |
last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud.
Please let me know.
Thanks!
Emmanuel
|
by: BarryA |
last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
|
by: Sonnysonu |
last post by:
This is the data of csv file
1 2 3
1 2 3
1 2 3
1 2 3
2 3
2 3
3
the lengths should be different i have to store the data by column-wise with in the specific length.
suppose the i have to...
|
by: Hystou |
last post by:
There are some requirements for setting up RAID:
1. The motherboard and BIOS support RAID configuration.
2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
| |