I have a quick question about WinForms text boxes interacting with SQL Data.
Is it possible to have rich text inside a text box that displays data from a database?
I am talking about the ability to highlight text, change the font to bold, etc.
Thank you!
Absolutely! Thank you. In this case it is not a user input but rather something calculated already. User only inputs a decimal Value. "Now that statement could be confusing" LOL This app calculates nearest fraction in 64ths, 32nds, 16ths, 8ths,4ths and 2nds and displays the result in a text...
Almost made me mad for you to post a reply like that. Old Dog and new tricks related LOL. But I stand corrected! I actually way over thought that code and since you really made me mad(LOL) I found the solution to be way more easy.
In case someone looks at this. Here you go.
Dim str =...
Hi, I have a small SQLite Database that is buggy and needs to be fixed and some functions added. It would also be great if someone could translate this project into VB.net. This is NOT a Corporation or Established Business I am an individual person that is willing to pay a fair amount for a...
Having reviwed it with a frech set of eyes "so to speak" I'm almost embarrest
but anyway just in case someone else needs this.
'Start Selection in front of last 2 numbers
tbNumbers.SelectionStart = tbNumbers.TextLength - 8
'If desired, Scroll to caret...
Ok I found a partial solution
tbNumbers.ScrollToCaret()
tbNumbers.SelectionStart = tbNumbers.TextLength = -1
tbNumbers.SelectionLength = 2
tbNumbers.SelectionColor = Color.Red
But I soon realized that the ScrollToCaret in a RichTextBox goes to...
OK! Let me try to explain There may be a better solution to what I'm trying to accomplish if so, I'm very open for suggestions.
As you know the App. that I'm working on generates numbers into a Text Box
they are supposed to be lottery Numbers. I'm not interested in Changing the BackColor of the...
I do have one more Question
I'm displaying the Numbers in a Text Box and was wondering if there would be any way to change the Last Numbers Fore color to Blue instead of Black.
Thanks!
Thank you so much!!
Sometimes it's the little things that make a big differance
In case someone else is looking for this here is the Modification I made for my App.
Private Sub ShowRandomNumbersInARange()
Randomize()
Dim Min = Min1.Value
Dim Max = Max1.Value...
Thanks for the reply!
Biggest problem here is that I'm overstepping my boundaries.
I have tried a number of different approaches but with no success.
Maybe I'll try again some other time.
Hi all,
I'm trying to create a Lotto Number Generator.
My Form has a 3 numeric up down's
2 for the Range "Min & Max"
1 for the Nuber of Numbers that are supposed to be displayed in my TextBox "Mumber"
1 TextBox"tbNumbers"
2 Buttons
The first just generates a single Number in the Range.
Dim...
Hi,
I did a search when I came across this older post and was wondering if anyone could help get this resolved.
I did not find a lot on this subject when I goggled it.
Any help would be appreciated.
Thanks!
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.