473,840 Members | 1,617 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Setting Upper and Lower cases on control

Hi,
How can I programatically set Upper, Lower and Normal case on a label or text box controls?

Thanks
Nov 20 '05 #1
4 1800
Set the .CharacterCasin g property to either Upper or Lower

--

W.G. Ryan, eMVP

Have an opinion on the effectiveness of Microsoft Embedded newsgroups?
Let Microsoft know!
https://www.windowsembeddedeval.com/...ity/newsgroups
"Chris" <Ch***@discussi ons.microsoft.c om> wrote in message
news:C1******** *************** ***********@mic rosoft.com...
Hi,
How can I programatically set Upper, Lower and Normal case on a label or text box controls?
Thanks

Nov 20 '05 #2
Mr Ryan,

To expound on this question a bit, can this also apply to a label? There
are certain label controls that I use to display information pulled from a
database and some of that information is in ALL CAPS. What I want to do is
present mixed-casing.

Thanks for the information.

Brad
"William Ryan eMVP" <do********@com cast.nospam.net > wrote in message
news:%2******** *******@tk2msft ngp13.phx.gbl.. .
Set the .CharacterCasin g property to either Upper or Lower

--

W.G. Ryan, eMVP

Have an opinion on the effectiveness of Microsoft Embedded newsgroups?
Let Microsoft know!
https://www.windowsembeddedeval.com/...ity/newsgroups
"Chris" <Ch***@discussi ons.microsoft.c om> wrote in message
news:C1******** *************** ***********@mic rosoft.com...
Hi,
How can I programatically set Upper, Lower and Normal case on a label or

text box controls?

Thanks


Nov 20 '05 #3
With Deft Fingers, "Chris" <Ch***@discussi ons.microsoft.c om> wrote:
How can I programatically set Upper, Lower and Normal case on a label or text box controls?


Not sure if this is of any help... but the following will 'force' the first
character of each word to Capital (lower case for all other characters):

Dim CCDstrName As String = cmbCCUsrDescrip tion.Text
' Ensure CC Description Case is Correct. First Letter is Capitalized!
CCDstrName = StrConv(CCDstrN ame, VbStrConv.Prope rCase)

While I've not checked it out, there is a few other options instead of
..ProperCase (ie force all to Upper or Lower Case, etc).

Regards,

Bruce
Nov 20 '05 #4
Hi,
This is exactly the same issue I have.

"Brad Allison" wrote:
Mr Ryan,

To expound on this question a bit, can this also apply to a label? There
are certain label controls that I use to display information pulled from a
database and some of that information is in ALL CAPS. What I want to do is
present mixed-casing.

Thanks for the information.

Brad
"William Ryan eMVP" <do********@com cast.nospam.net > wrote in message
news:%2******** *******@tk2msft ngp13.phx.gbl.. .
Set the .CharacterCasin g property to either Upper or Lower

--

W.G. Ryan, eMVP

Have an opinion on the effectiveness of Microsoft Embedded newsgroups?
Let Microsoft know!
https://www.windowsembeddedeval.com/...ity/newsgroups
"Chris" <Ch***@discussi ons.microsoft.c om> wrote in message
news:C1******** *************** ***********@mic rosoft.com...
Hi,
How can I programatically set Upper, Lower and Normal case on a label or

text box controls?

Thanks



Nov 20 '05 #5

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

Similar topics

8
15213
by: kchengso | last post by:
One of my printers in my printer.devicename call returns in lower case. Is it possible for me to change it to upper case? I am also wondering how, in the first place, this particular printer devicename is coded in lower case? Is there a way to change it back using VB6? Thanks
4
1993
by: Werner Merkl | last post by:
Hi, my problem is, I try to use a py2exe compiled python script from a CD-ROM. This should work, BUT the tool I use (or have to use) generates only upper case file names on the CD-ROM. For py2exe 0.4.1 and python 2.2 this worked fine... but the current releases do not.
17
11241
by: Janice | last post by:
char* line = "abcd"; How to convert the line to upper case and print? Any option for printf to do this? Thanx
7
17498
by: Randy Vande Hei | last post by:
Does anyone know how to change the the GDI+ coordinate system like you used to be able to do in VB6 with the picturebox.scale method. The picturebox.scale method took an x,y point defining the upper left corner and a second x,y point defining the lower right corner. In VB6 the 0,0 location was the upper left like in GDI+, but I could at least reset it so I could use it with lat/lons. Basically all I want to do is be able to use the...
3
4238
by: Weiping | last post by:
Hi, while upgrade to 8.0 (beta3) we got some problem: we have a database which encoding is UNICODE, when we do queries like: select upper('ÖÐÎÄ'); --select some multibyte character, then postgresql response: ERROR: invalid multibyte character for locale
19
26457
by: Eric Lindsay | last post by:
Should HTML 4.01 Strict markup be done in upper case or in lower case? I understand that HTML allows either upper or lower case. I also notice that XHTML apparently requires lower case. However I saw some mention that the HTML DOM uses upper case for markup elements. So, should I worry about what this means? I am inclined to go with lower case, for two reasons. Easier to change if I subsequently want to use XHTML.
14
4040
by: Roger Withnell | last post by:
How to I find out what size text the browser is set to? Thanks in anticipation.
1
2523
by: Curious | last post by:
I'm working on a word replacement program in .NET. I have a list of words spelt in American English and need to replace them with translated British spelling while keeping the upper or lower cases of each letter in these words. For instance, I have a dictionary below: theater theatre center centre annualized annualised
2
2889
Thekid
by: Thekid | last post by:
I had made a post about making a loop using letters instead of numbers and dshimer gave me this solution: for i in range(65,70): for j in range(65,70): for k in range(65,70): print chr(i),chr(j),chr(k) which used an example I had posted using numbers. That code works (thanks dshimer) but after toying with it I see that I am going about it in a method that takes a long time to run through and I also need uppers in...
0
9699
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
10924
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...
1
10665
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,...
0
10301
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
9444
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
0
7023
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5874
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
4498
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
3
3139
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.