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

Managed C++/CLI

 
GeneralRe: trying to print a rtf file Pin
davesmith23410-Apr-10 15:49
davesmith23410-Apr-10 15:49 
QuestionDataGridView in Managed c++ Pin
VCsamir9-Apr-10 2:44
VCsamir9-Apr-10 2:44 
QuestionHow to call a method on another form Pin
KlaasVersteeg8-Apr-10 4:59
KlaasVersteeg8-Apr-10 4:59 
AnswerRe: How to call a method on another form Pin
Andreoli Carlo13-Apr-10 0:41
professionalAndreoli Carlo13-Apr-10 0:41 
GeneralRe: How to call a method on another form Pin
KlaasVersteeg13-Apr-10 1:31
KlaasVersteeg13-Apr-10 1:31 
GeneralRe: How to call a method on another form Pin
Andreoli Carlo13-Apr-10 2:22
professionalAndreoli Carlo13-Apr-10 2:22 
GeneralRe: How to call a method on another form Pin
KlaasVersteeg13-Apr-10 2:25
KlaasVersteeg13-Apr-10 2:25 
Questionobject to string (with 15 digit precision if decimal) [modified] Pin
T21028-Apr-10 4:49
T21028-Apr-10 4:49 
I want to convert an object to a string and if it is a float, double, etc,,, then I would want to set the precision like I can with a printf statement.
What would be an efficient way to test if a System::Object is some decimal type and then set the precision? Thanks

//I've tried the following, but it does not work properly
switch (System::Type::GetTypeCode(columnYValues[n]->GetType())) {
case System::TypeCode::Decimal:
case System::TypeCode::Double:
case System::TypeCode::Single:
X=System::String::Format( "{0:f15}", columnYValues[n]->ToString() );
break;
default:
X = columnYValues[n]->ToString();
}

I am trying to create pivot tables using decimal headers and half of the time it does not work because of C++ .NET or ADO .NET's string conversions and zero tolerance.
modified on Friday, April 9, 2010 2:38 AM

AnswerRe: object to string (with 15 digit precision if decimal) Pin
Andreoli Carlo13-Apr-10 0:39
professionalAndreoli Carlo13-Apr-10 0:39 
QuestionInvoking Event Handlers Programmatically? Pin
TheBerk7-Apr-10 11:18
TheBerk7-Apr-10 11:18 
AnswerRe: Invoking Event Handlers Programmatically? Pin
Andreoli Carlo7-Apr-10 23:04
professionalAndreoli Carlo7-Apr-10 23:04 
GeneralRe: Invoking Event Handlers Programmatically? Pin
TheBerk8-Apr-10 3:55
TheBerk8-Apr-10 3:55 
GeneralRe: Invoking Event Handlers Programmatically? Pin
Andreoli Carlo8-Apr-10 20:54
professionalAndreoli Carlo8-Apr-10 20:54 
AnswerRe: Invoking Event Handlers Programmatically? Pin
Luc Pattyn8-Apr-10 4:52
sitebuilderLuc Pattyn8-Apr-10 4:52 
GeneralRe: Invoking Event Handlers Programmatically? Pin
TheBerk8-Apr-10 5:05
TheBerk8-Apr-10 5:05 
GeneralRe: Invoking Event Handlers Programmatically? Pin
Luc Pattyn8-Apr-10 5:15
sitebuilderLuc Pattyn8-Apr-10 5:15 
QuestionHow to unload mixed-mode MFC assembly loaded in AppDomain Pin
catrill5-Apr-10 17:31
catrill5-Apr-10 17:31 
Questionunable to call function in CLI/C++ dll from native C++, when linked Explicitly Pin
Cherry_manju4-Apr-10 23:51
Cherry_manju4-Apr-10 23:51 
AnswerRe: unable to call function in CLI/C++ dll from native C++, when linked Explicitly Pin
N a v a n e e t h5-Apr-10 15:44
N a v a n e e t h5-Apr-10 15:44 
Questionglobal access to objects / instances Pin
KlaasVersteeg31-Mar-10 2:31
KlaasVersteeg31-Mar-10 2:31 
AnswerRe: global access to objects / instances Pin
Richard MacCutchan31-Mar-10 2:46
mveRichard MacCutchan31-Mar-10 2:46 
GeneralRe: global access to objects / instances Pin
KlaasVersteeg31-Mar-10 2:59
KlaasVersteeg31-Mar-10 2:59 
GeneralRe: global access to objects / instances Pin
Richard MacCutchan31-Mar-10 3:07
mveRichard MacCutchan31-Mar-10 3:07 
GeneralRe: global access to objects / instances Pin
KlaasVersteeg31-Mar-10 3:25
KlaasVersteeg31-Mar-10 3:25 
GeneralRe: global access to objects / instances Pin
Richard MacCutchan31-Mar-10 3:46
mveRichard MacCutchan31-Mar-10 3:46 

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.