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

Managed C++/CLI

 
QuestionCFileDialog doesn't update when I change the file type. Pin
IlanTal1-Apr-06 19:46
IlanTal1-Apr-06 19:46 
Questionconvert System::String to char Pin
leonelsr1-Apr-06 9:21
leonelsr1-Apr-06 9:21 
AnswerRe: convert System::String to char Pin
2bee 1-Apr-06 12:00
2bee 1-Apr-06 12:00 
Questionargs in the "new" main() Pin
leonelsr31-Mar-06 11:48
leonelsr31-Mar-06 11:48 
AnswerRe: args in the "new" main() Pin
2bee 31-Mar-06 23:00
2bee 31-Mar-06 23:00 
Questionlooping through strings C++ .NET Pin
richiebaby31-Mar-06 4:05
richiebaby31-Mar-06 4:05 
AnswerRe: looping through strings C++ .NET Pin
Saksida Bojan31-Mar-06 5:34
Saksida Bojan31-Mar-06 5:34 
GeneralRe: looping through strings C++ .NET Pin
richiebaby31-Mar-06 5:51
richiebaby31-Mar-06 5:51 
Hi
Thanks for your help, but I'm afraid that I need a little more guidance.

First the answer to your question: I am using .NET 2003.

Some more info: I started a new Windows form project, I then proceeded to create a RichTextBox on the form. So setting the text is easy but I am trying change the font of individual characters within the RichTextBox(don't know if the best solution is to use RichTextBox or not).
So I figured that I would go through each char within the string, apply a font and append to the contents of the RichTextBox (not even sure if possible).

The trouble is I can't seem to get to grips with the .NET framework, I find it harder than good old C++.

Straight away I am slightly lost with your sample code, how can I take your suggested code and import it into the code that .NET has produced for me. Bearing in mind I am not within the main method but within a new that I have created.

For instance, if I have an empty method called outputToScreen(), how can I even start to use your suggested code.

<br />
private: System::Void outputToScreen()<br />
{<br />
<br />
}<br />


If I write:
<br />
private: System::Void outputToScreen(array ^args)<br />
{<br />
}<br />


Then I get "error C6201: syntax error : identifier 'array'"

These are probably dumb question but i am trying to learn, so...

Thank you.
GeneralRe: looping through strings C++ .NET Pin
Saksida Bojan31-Mar-06 6:51
Saksida Bojan31-Mar-06 6:51 
GeneralRe: looping through strings C++ .NET - Figured it out Pin
richiebaby31-Mar-06 6:54
richiebaby31-Mar-06 6:54 
QuestionVery strange error Pin
Joel Holdsworth30-Mar-06 11:58
Joel Holdsworth30-Mar-06 11:58 
AnswerRe: Very strange error Pin
George L. Jackson30-Mar-06 17:10
George L. Jackson30-Mar-06 17:10 
GeneralRe: Very strange error Pin
Saksida Bojan30-Mar-06 18:11
Saksida Bojan30-Mar-06 18:11 
GeneralRe: Very strange error Pin
George L. Jackson31-Mar-06 1:01
George L. Jackson31-Mar-06 1:01 
AnswerRe: Very strange error Pin
John L. DeVito30-Mar-06 23:11
professionalJohn L. DeVito30-Mar-06 23:11 
QuestionTransfer Data from SQL Database to DataTable Pin
kevin12730-Mar-06 4:45
kevin12730-Mar-06 4:45 
GeneralRe: Transfer Data from SQL Database to DataTable Pin
George L. Jackson30-Mar-06 16:49
George L. Jackson30-Mar-06 16:49 
GeneralRe: Transfer Data from SQL Database to DataTable Pin
kevin12730-Mar-06 18:18
kevin12730-Mar-06 18:18 
QuestionCopying array values into a managed structure Pin
Sangeetha.R30-Mar-06 0:14
Sangeetha.R30-Mar-06 0:14 
AnswerRe: Copying array values into a managed structure Pin
2bee 30-Mar-06 1:45
2bee 30-Mar-06 1:45 
GeneralRe: Copying array values into a managed structure Pin
Sangeetha.R30-Mar-06 18:18
Sangeetha.R30-Mar-06 18:18 
AnswerRe: Copying array values into a managed structure Pin
2bee 30-Mar-06 19:31
2bee 30-Mar-06 19:31 
QuestionChecking For Null while rasing the events Pin
Sangeetha.R30-Mar-06 0:03
Sangeetha.R30-Mar-06 0:03 
AnswerRe: Checking For Null while rasing the events Pin
Milton Karimbekallil30-Mar-06 4:08
Milton Karimbekallil30-Mar-06 4:08 
GeneralRe: Checking For Null while rasing the events Pin
Sangeetha.R30-Mar-06 21:18
Sangeetha.R30-Mar-06 21:18 

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.