Click here to Skip to main content
15,910,118 members
Home / Discussions / Managed C++/CLI
   

Managed C++/CLI

 
AnswerRe: Two problems - (a) HOW TO: pointer to an EXISTING user-defined type (b)HOW: lost form design window Pin
N a v a n e e t h16-Feb-09 19:43
N a v a n e e t h16-Feb-09 19:43 
GeneralRe: Two problems - (a) HOW TO: pointer to an EXISTING user-defined type (b)HOW: lost form design window Pin
regnwald17-Feb-09 13:10
regnwald17-Feb-09 13:10 
GeneralRe: Two problems - (a) HOW TO: pointer to an EXISTING user-defined type (b)HOW: lost form design window Pin
N a v a n e e t h17-Feb-09 14:45
N a v a n e e t h17-Feb-09 14:45 
GeneralRe: Two problems - (a) HOW TO: pointer to an EXISTING user-defined type (b)HOW: lost form design window Pin
regnwald17-Feb-09 19:00
regnwald17-Feb-09 19:00 
QuestionMysql Remote login Pin
Thilek16-Feb-09 1:57
Thilek16-Feb-09 1:57 
AnswerRe: Mysql Remote login Pin
ky_rerun24-Feb-09 15:06
ky_rerun24-Feb-09 15:06 
QuestionToUpper and ToLower part of a string in .net C++? Pin
TabascoSauce14-Feb-09 15:28
TabascoSauce14-Feb-09 15:28 
AnswerRe: ToUpper and ToLower part of a string in .net C++? Pin
N a v a n e e t h14-Feb-09 18:18
N a v a n e e t h14-Feb-09 18:18 
TabascoSauce wrote:
with only the first letter capitalized.


Sentence case? You can write code using SubString(), ToUpper() and ToLower(). Here it is.
String^ ConvertToSentenceCase(String^ input)
{
     return (input->Length > 0) ? String::Concat(input->Substring(0,1)->ToUpper(),input->Substring(1)->ToLower()) 
         : String::Empty;
}
Other methid is to use TextInfo class and work with ToTitleCase method. Here it is
String^ ConvertToSentenceCase(String^ input)
{
     using namespace System::Threading;
     return Thread::CurrentThread->CurrentCulture->TextInfo->ToTitleCase(input);
}
Hope that helps Smile | :)


GeneralRe: ToUpper and ToLower part of a string in .net C++? [modified] Pin
TabascoSauce15-Feb-09 11:41
TabascoSauce15-Feb-09 11:41 
GeneralRe: ToUpper and ToLower part of a string in .net C++? Pin
N a v a n e e t h15-Feb-09 16:32
N a v a n e e t h15-Feb-09 16:32 
GeneralRe: ToUpper and ToLower part of a string in .net C++? Pin
TabascoSauce16-Feb-09 12:25
TabascoSauce16-Feb-09 12:25 
QuestionFinding and mapping audio devices in windows Pin
gurindersm12-Feb-09 18:15
gurindersm12-Feb-09 18:15 
QuestionExposing a property of a nested class to .Net VB, C# etc. Pin
stempsoft12-Feb-09 12:23
stempsoft12-Feb-09 12:23 
AnswerRe: Exposing a property of a nested class to .Net VB, C# etc. Pin
N a v a n e e t h12-Feb-09 14:03
N a v a n e e t h12-Feb-09 14:03 
GeneralRe: Exposing a property of a nested class to .Net VB, C# etc. Pin
stempsoft12-Feb-09 15:20
stempsoft12-Feb-09 15:20 
GeneralRe: Exposing a property of a nested class to .Net VB, C# etc. Pin
N a v a n e e t h12-Feb-09 16:27
N a v a n e e t h12-Feb-09 16:27 
Questionwhich is the best method to send data to clients, without a request from client Pin
naveen_bij11-Feb-09 22:36
naveen_bij11-Feb-09 22:36 
AnswerRe: which is the best method to send data to clients, without a request from client Pin
led mike12-Feb-09 4:41
led mike12-Feb-09 4:41 
GeneralRe: which is the best method to send data to clients, without a request from client Pin
naveen_bij12-Feb-09 18:05
naveen_bij12-Feb-09 18:05 
GeneralRe: which is the best method to send data to clients, without a request from client Pin
Luc Pattyn12-Feb-09 4:47
sitebuilderLuc Pattyn12-Feb-09 4:47 
GeneralRe: which is the best method to send data to clients, without a request from client Pin
naveen_bij12-Feb-09 18:31
naveen_bij12-Feb-09 18:31 
GeneralRe: which is the best method to send data to clients, without a request from client Pin
Luc Pattyn13-Feb-09 9:00
sitebuilderLuc Pattyn13-Feb-09 9:00 
AnswerRe: which is the best method to send data to clients, without a request from client Pin
tyr200023-Feb-09 1:20
tyr200023-Feb-09 1:20 
GeneralRe: which is the best method to send data to clients, without a request from client Pin
naveen_bij23-Feb-09 20:09
naveen_bij23-Feb-09 20:09 
GeneralRe: which is the best method to send data to clients, without a request from client Pin
tyr200025-Feb-09 1:21
tyr200025-Feb-09 1:21 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.