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

Managed C++/CLI

 
GeneralRe: Wrapping MFC project to .net Pin
Fu Manchu22-May-08 4:56
Fu Manchu22-May-08 4:56 
GeneralRe: Wrapping MFC project to .net Pin
led mike22-May-08 10:15
led mike22-May-08 10:15 
GeneralRe: Wrapping MFC project to .net Pin
Fu Manchu22-May-08 10:31
Fu Manchu22-May-08 10:31 
GeneralRe: Wrapping MFC project to .net Pin
led mike23-May-08 5:21
led mike23-May-08 5:21 
AnswerRe: Wrapping MFC project to .net Pin
Joe Woodbury30-May-08 11:39
professionalJoe Woodbury30-May-08 11:39 
Questionsyntaxhighlighting Pin
rose19620-May-08 20:51
rose19620-May-08 20:51 
AnswerRe: syntaxhighlighting Pin
leonigah2-Jul-08 23:24
leonigah2-Jul-08 23:24 
QuestionCopied solution will nor recognize application icon Pin
BuckBrown20-May-08 11:21
BuckBrown20-May-08 11:21 
Hi, I'm using Visual Studio 2005 C++/CLI. I guess my previous question on the autoscroll was a real stumper, so I'll try something else. When writing an application I will get quite a ways into the development when, at the insistance of my boss, I need to create a new version that I can continue development on. So I will go through the tedious process of creating a new folder and copying 'mySolution1 Version 1' to 'mySolution1 Version2' and then renaming the individual solution and project files (that isn't why I am posting but if someone knows an easier way to do that I would love to know). On to the question. While working on an app I did this through a 'mySolution1 Version5' at which time I added an icon of our company logo to appear on the forms and everything was good. Then I needed to use a copy of 'mySolution1 Version5 to begin a new and different application called 'mySolution2 Version1' again renaming the solution and project files accordingly. It compiled fine but crashed with a 'MissingManifestResourceException' on the 'Windows Form Designer' generated code "this->Icon = (cli::safe_cast<System::Drawing::Icon^ >(resources->GetObject(L"$this.Icon")));". If I remark out the line the app compiles and runs fine using the default icon. If I go into the 'Forms Designer' and change the Icon property the way I did before then the app crashes. The syntax of the line is the same. Anyone see what I am doing wrong?

Thanks,

Buck
AnswerRe: Copied solution will nor recognize application icon Pin
led mike20-May-08 11:52
led mike20-May-08 11:52 
GeneralRe: Copied solution will nor recognize application icon Pin
BuckBrown21-May-08 7:03
BuckBrown21-May-08 7:03 
GeneralRe: Copied solution will nor recognize application icon Pin
led mike21-May-08 7:32
led mike21-May-08 7:32 
GeneralRe: Copied solution will nor recognize application icon Pin
BuckBrown22-May-08 6:18
BuckBrown22-May-08 6:18 
GeneralRe: Copied solution will nor recognize application icon Pin
led mike22-May-08 9:27
led mike22-May-08 9:27 
GeneralRe: Copied solution will nor recognize application icon Pin
BuckBrown22-May-08 10:34
BuckBrown22-May-08 10:34 
Questionkeyeventargs Pin
rose19619-May-08 20:57
rose19619-May-08 20:57 
AnswerRe: keyeventargs Pin
Christian Graus19-May-08 21:55
protectorChristian Graus19-May-08 21:55 
GeneralRe: keyeventargs Pin
rose19619-May-08 23:32
rose19619-May-08 23:32 
GeneralRe: keyeventargs Pin
rose19620-May-08 0:38
rose19620-May-08 0:38 
Questioncreate an Event to a TreeView Pin
sabeeshcs19-May-08 2:42
sabeeshcs19-May-08 2:42 
AnswerRe: create an Event to a TreeView Pin
led mike19-May-08 4:31
led mike19-May-08 4:31 
QuestionHow to expose mixed class as COM class [modified typo rectified] Pin
jayart18-May-08 23:50
jayart18-May-08 23:50 
AnswerRe: How to expose mixed class as COM class [modified typo rectified] Pin
jayart19-May-08 0:15
jayart19-May-08 0:15 
Questionkeyword color change Pin
rose19618-May-08 23:38
rose19618-May-08 23:38 
Questionproblem using Standard Template Libarary List using eclipse Pin
cronos4d16-May-08 14:42
cronos4d16-May-08 14:42 
AnswerRe: problem using Standard Template Libarary List using eclipse Pin
Christian Graus19-May-08 21:56
protectorChristian Graus19-May-08 21:56 

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.