|
-
Oct 15th, 2000, 02:41 PM
#1
Thread Starter
Member
Hi!
Which is the quickest way to capitalize a string in my VB6-app? I need a function that capitalizes also scands and special characters (ä,ö,å, ...).
e.g. "this is åke and he has programs in c:\hassu\öklö pöklö" --> "This Is Åke And He Has Programs In C:\Hassu\Öklö Pöklö"
Thanks,
LK
-
Oct 15th, 2000, 02:43 PM
#2
Hyperactive Member
Visual Basic 6 SP4 on win98se
QUIT THE RAT RACE BECAUSE YOUR MESSING THE WORLD UP !!!!!
-
Oct 15th, 2000, 03:36 PM
#3
Thread Starter
Member
Thanks.. but could some one tell me about this a little bit more?
-
Oct 15th, 2000, 03:37 PM
#4
Fanatic Member
For doing something like "this is a test" into "This Is A Test", you can use this:
Code:
Text1.Text = StrConv(Text1.Text, vbProperCase)
It does work on special characters too like the ones you mentioned. As for capitalizing the letters in your example path, I think you'll have to make up something to do that yourself using UCase.
I'm baaaack...
VB5 Professional Edition, VC++ 6
Using a 1 gHz Thunderbird, 256 mb RAM, 40 gb HD system with Win98se
I feel special because I finally figured out how to loop midis: Post link
I'm a fanatic too 
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|