What about if you add a string field named ColourValue in your table that will keep the value of each colour as &HFFFFFF& for example???
I disagree with integer type... you can convert the type of the field if you need it in your code. You don't have to remove COLOR_DESC field because it makes...
Andrzerek, it's just a small change in my code. ;)
Here you are!!! Have fun :D
If RichTextBox1.SelectionFont.Bold = True Then
RichTextBox1.SelectionFont = New Font(RichTextBox1.Font, FontStyle.Regular)
ElseIf RichTextBox1.SelectionFont.Bold = False Then
RichTextBox1.SelectionFont =...
Simple!!!
If RichTextBox1.Font.Bold = True Then
RichTextBox1.SelectionFont = New Font(RichTextBox1.Font, FontStyle.Regular)
ElseIf RichTextBox1.Font.Bold = False Then
RichTextBox1.SelectionFont = New Font(RichTextBox1.Font, FontStyle.Bold)
End If
RichTextBox1.Font =...
I am glad that I helped you. I have faced many times problems like this. That's why I told you to look to the sub which form show event executed, because your code was correct without any problems!!! :)
I ran it once more, it's ok!!! and if the user click on yes the form closes. if the user clicks on no then exit sub, end sub without the form been closed.
If form show command is first block of code, then you have to look there. If you run it step by step before the user click on the cansel...
Your code is correct. I checked it.
After the exit sub, end sub is executed and then everything is ok.
Where is exactly the Form Show command??? I want a favour from you.
Please write us the piece of code of the event which the form show returns and executed.
First of all I want to ask you in which event is the form.show statement?
Secondly did you try to cut paste the code of the leave event to a sub created by you? and call this sub from the point that you want so that when the sub will finish to return to the next statement? I checked how it works...
You're getting this error because you have written in wrong way the condition. All the arguments must be an index as integer and not a string. for example
dschapters.Tables(0).Rows(0).item(0)
dschapters.Tables(0).Rows(0).item(1)
Your if statement must me like that
If...
I have writen a program that finds 92 solutions of 8 queens placed on a chessboard without attack each other.
I have found through a google search that 12 of these are unique from symmetry. So...
I thought to take totally 368 solutions of 92 x 4 because, if we turn the chessbord which is a...
Hello!!!
I have created an array of pictureboxes named pbs. Public pbs(8) As PictureBox
And the what I want to do is to assign a different specific value for Location.X and Location.Y programmatically for each element. x,y are variables that change their values for each element...
Hello everybody.
I have a class Queen with row, col properties and I am declaring variable Queens as a list of Queens because it represents 8 queens with their positions (row,col) Public Queens As New Collections.Generic.List(Of Queen)
So, I need an array that holds 92 solutions of the 8 Queens...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.