473,883 Members | 2,116 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Inserting Check mark into RichTexBox

Al
Hello,
Sorry for the silly question: How do I insert Check Mark into RichTextBox? I
can’t find the ascii code for it.
Thanks
Alex
Nov 21 '05 #1
3 32366
The checkmark symbol is found in the Font Wingdings, char code 252.

Rgds,
Anand M
http://www.dotnetindia.com

"Al" wrote:
Hello,
Sorry for the silly question: How do I insert Check Mark into RichTextBox? I
can’t find the ascii code for it.
Thanks
Alex

Nov 21 '05 #2
Al,
ASCII only has 127 characters in it, you could try either an ANSI or Unicode
character set to get a Check Mark.

As Anand suggests you can use Windings & many other symbol fonts have
plethora of check mark symbols in them.

Remember that .NET uses Unicode, You can use Character Map under "Start -
Programs - Accessories - System Tools" to search for characters (enable
Advance view first).

Searching for "Check" revels three potential Unicode characters from the
Arial Unicode MS font.
U+2611 - Ballot Box With Check
U+2713 - Check Mark
U+2714 - Heavy Check Mark

The "problem" with the Unicode characters is that not all fonts support all
Unicode code points... For example Arial Unicode MS font may not be
installed on your target system...

When I want to use one of the Unicode code points I normally use ChrW &
define a constant, something like:

Const BallotBoxWithCh eck As Char = ChrW(&H2611)
Const CheckMark As Char = ChrW(&H2713)
Const HeavyCheckMark As Char = ChrW(&H2714)

Then I use one of the above constants where I want to use that character...

Hope this helps
Jay
"Al" <Al@discussions .microsoft.com> wrote in message
news:B0******** *************** ***********@mic rosoft.com...
Hello,
Sorry for the silly question: How do I insert Check Mark into RichTextBox?
I
can't find the ascii code for it.
Thanks
Alex

Nov 21 '05 #3
Al
Thanks Jay and Anand. Great info.

"Jay B. Harlow [MVP - Outlook]" wrote:
Al,
ASCII only has 127 characters in it, you could try either an ANSI or Unicode
character set to get a Check Mark.

As Anand suggests you can use Windings & many other symbol fonts have
plethora of check mark symbols in them.

Remember that .NET uses Unicode, You can use Character Map under "Start -
Programs - Accessories - System Tools" to search for characters (enable
Advance view first).

Searching for "Check" revels three potential Unicode characters from the
Arial Unicode MS font.
U+2611 - Ballot Box With Check
U+2713 - Check Mark
U+2714 - Heavy Check Mark

The "problem" with the Unicode characters is that not all fonts support all
Unicode code points... For example Arial Unicode MS font may not be
installed on your target system...

When I want to use one of the Unicode code points I normally use ChrW &
define a constant, something like:

Const BallotBoxWithCh eck As Char = ChrW(&H2611)
Const CheckMark As Char = ChrW(&H2713)
Const HeavyCheckMark As Char = ChrW(&H2714)

Then I use one of the above constants where I want to use that character...

Hope this helps
Jay
"Al" <Al@discussions .microsoft.com> wrote in message
news:B0******** *************** ***********@mic rosoft.com...
Hello,
Sorry for the silly question: How do I insert Check Mark into RichTextBox?
I
can't find the ascii code for it.
Thanks
Alex


Nov 21 '05 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

11
1389
by: Thomas Guettler | last post by:
Hi, Simple excerise: You have a sorted list of integers: l= and you should fill all gaps: result ==
7
3441
by: Jared Evans | last post by:
I developed a console application that will continually check a message queue to watch for any incoming data that needs to be inserted into MS SQL database. What would be a low-cost method I could use inside this console application to make sure the MS SQL database is operational before I perform the insert?
6
1756
by: sam | last post by:
I have to import data into a empty database, that has many tables. some tables have to be inserted first than others due to the foreign keys. How do I find out the order of the tables that I have to insert data into? Thanks in advance! Sam
3
6938
by: Joachim Klassen | last post by:
Hi all, first apologies if this question looks the same as another one I recently posted - its a different thing but for the same szenario:-). We are having performance problems when inserting/deleting rows from a large table. My scenario: Table (lets call it FACT1) with 1000 million rows distributed on 12
4
3288
by: Terry | last post by:
Hello, I am designing a form from scratch and need to know how to get a Check Box(PASS)to automatically update when the data in a Text Box (MARK), in the same form, is >=24. Using the Event dialogue box for the Check Box, AfterUpdate, I have tried: IIf(>=24,True,False) Also: IIf(>=24,1,0)
8
1185
by: MA P | last post by:
Hi! Need help. I want to insert values from textbox-based input and upon clicking the Create button, these command lines will run. It didn't work! It points to the "test.Insert()" line that indicates that "Keyword not supported: 'provider'". See the code behind below: Protected Sub btnCreate_Click(ByVal sender As Object, ByVal e As System.EventArgs) Handles btnCreate.Click Dim test As SqlDataSource = New SqlDataSource()
12
3536
by: Marcus Kwok | last post by:
I am not sure if this is something that is covered by the Standard, or if it's an implementation detail of my Standard Library. I am reading in a large amount of data into a std::set. There is an overload for std::set::insert() that takes in an iterator as a hint as to where the new value should be inserted, and my implementation (Dinkumware) says that if the hint is good (meaning the iterator points immediately before or after where...
1
1964
by: Eng Teng | last post by:
How to control size of length in richtexbox per line ? Regards, Tee
6
1903
by: Bunty | last post by:
I want to insert values in the database.If i insert values one by one then it works till 4 or 5 fields then after it gives error.In my database there are more than 20 field.Pls help me.
0
9798
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
11160
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
10766
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
10863
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
1
7978
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 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 a new presenter, Adolph Dupr who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
5807
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
1
4622
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
4230
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
3241
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.