I want the rdbcorrect.forecolor=color.green but is not working out for me.
Public Sub VerifyAnswer(ByVal rdb As RadioButton)
If rdb.Text = rdbCorrect.Text Then
rdb.ForeColor = Color.Green
BtnGood.Show()
MyScore()
[Code] .....
I am trying to change every form title bar and border to green in my project. How do you change the all the forms title bar and border to green without changing other window applications title bar and border?
Playing with the visual basic express, usually I'm in notepad with asp, thought I'd try some of this out. So excuse me for the green question. Down at the last three lines of code, it will not give me an absolute value of the, in fact it does not recognize it as anything.. says I have a variable that isn't declared.
I have three HScrollBars(for the colors red, green, blue and maximum to 255), a picturebox(to see the output color) and a textbox which gives the color in HTML output. For example: 0xE60000FF >> This is a red color.I know I first should make a code and paste it here, but I really don't have any idea how.
In the following function I get the green squiqly line warning at the end of the function that when you hover the mouse over it, it reads: "Function 'AllQuotesDal' doesn't return a value on all code paths. A null reference exception could occur at run time when the result is used.". I've tried and tried to make it correct and safe but it won't compile the way I've tried playing around with the variable 'reader'. It seems to need to be the way I have it but I want that warning to go away.
Code: Public Function AllQuotesDal() As OleDb.OleDbDataReader Try Dim connection As OleDb.OleDbConnection = NewConnection()
I have a code to print in VB.net. I don't have any problem with the printing as it works, but there is a part which is underlined by green, a warning on "DialogResult = OK". Why the DialogResult = OK is underlined by green colour? The printing work only this underline is making me puzzled
I'm using VS 2008 and .NET 3.5. I'm in one of my programs and when I run the program to test it, I keep getting these errors... 'Exception occurred' And the line is highlighted green and there's a green arrow on the side line (where you can enter breakpoints). When the code stops at these exceptions, I can hit continue and the code still runs just fine even though there were a ton of exceptions. Now, I'm wondering if there is a way that I can skip over these or have them not show up because I know the files that this is happening have not been changed in several weeks and I've tested this program beginning of this week and it was working fine... no exceptions or anything. I'm not sure what would've changed. The only thing I did was install the newest versions of Telerik Rad Controls. That should have nothing to do with the exceptions I'm getting.why i'm getting these now all of a sudden or how I can just skip over these without having to hit continue after each time?
Using VS 2008 vb.net how can I change the color from green to yellow to red as my values decrease? Actually the logic is easy but my color isn't changing.
progressbar1.forecolor = color.red -- This is not working
Well I've finally decided to upgrade some of my vb6 applications. Anyway I have two forms that are very similar one is customers one is vehicles. One of them is working on form load and one of them isn't. The one that isn't working I've traced the point it stops down to where there is a green line left of the code on the left bar of the development environment. This green line doesn't exist on the form that works. What the green line in this photo means? [URL].
Bigger Picture [URL]. I found a page that says the green simply means the code was saved but it's only on the form that stops working right after the execution of the sql statement. For some reason while stepping through the code it returns to the show command that was called to originally open the form right before the form opens but it skips everything with the green line next to it. I went and disabled tracking and it went away.
I have one question related with MonthCalendar control in Visual Studio 2008.Is it possible to bold some dates, but with, for example green, or red color.url...
It seems when I change some code while working with practice files I get green veritcal lines in the left margin of the code page I am writing. What does it mean?
I am trying to get the green label box to show the correct coordinate after the box is scaled. The red box always shows the true coordinate of the mouse in the picturebox. So for example - after you click on [Scale x4], the 32x32 picturebox will be 128x128. The red box will now show from 0-127 x and y. I would like the green box to show 0-3 x and 0-3 y. Does anyone know how to do this? The code is ready to run, just cut and paste. [code]
How do I make VB.net console recognize the color red and green at XY-axis? I start up the program. The program check...if X450 and Y503 has a green pixel or something like that...do this. If X450 and Y503 has a red pixel or something lik that...goto line number. You know what I mean? I took the X450 and Y503 as random numbers.
After exporting data using a third party component the data in the excel sheet isn't type correctly. Excel thinks that some values are string while they are numbers and a little green triangle shows up.
We've coded the following to fix this:
For Each objCell As Microsoft.Office.Interop.Excel.Range In objWorkSheetReport.Range(objWorkSheetReport.Cells(1, 1), objWorkSheetReport.Cells(Me.RowCount + 10, Columns.Count + 10)).Cells
[Code].....
This removes all those little green triangles but is really slow.
Is there a faster way to convert a Range of data quickly so the green triangles don't show up?
I've got a simple little bit of code, to fill 33 Picture boxes with red, green, yellow, blue or system.control randomly. (System.Control should be more likely). Here is what I have at the moment:
I have a custom toolstrip renderer, which works perfect. But I want to change the forecolor of the toolstripmenuitems too. How can I achieve this?This code should be completed:
Public Class mymenu Inherits Windows.Forms.MenuStrip Public Sub New()[code]......
I have been experimenting with my windows form application(vb 2008/10) and made sure that the top part(glass part) extended to become a bit larger.
Now 1 problem occurs. Everything, like text, which is black, will become transparent so unreadable. With labels and pictures, I solved the problem, I just write a string(e.graphics.drawstring) and for labels / titles I use a long method(not important).
I am trying to chnage a listviews subitem forecolor but it not seem to be working I can set the text color of the first item but not the second here my code.
vbnet Dim Litem As ListViewItem Litem = New ListViewItem()
I don't understand why I can't change forecolor for my textbox. The code seems to me correct, is there any reasons why color won't change in a form this is sub procedure to change color[code]...