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

Managed C++/CLI

 
GeneralRe: Sizeof out of scope? Pin
Michel Godfroid8-May-10 20:15
Michel Godfroid8-May-10 20:15 
GeneralRe: Sizeof out of scope? Pin
Xpnctoc9-May-10 12:18
Xpnctoc9-May-10 12:18 
GeneralRe: Sizeof out of scope? Pin
Richard MacCutchan9-May-10 22:12
mveRichard MacCutchan9-May-10 22:12 
GeneralRe: Sizeof out of scope? Pin
Xpnctoc10-May-10 4:30
Xpnctoc10-May-10 4:30 
GeneralRe: Sizeof out of scope? Pin
Richard MacCutchan10-May-10 5:15
mveRichard MacCutchan10-May-10 5:15 
GeneralRe: Sizeof out of scope? Pin
Xpnctoc10-May-10 5:47
Xpnctoc10-May-10 5:47 
GeneralRe: Sizeof out of scope? Pin
Richard MacCutchan10-May-10 6:13
mveRichard MacCutchan10-May-10 6:13 
QuestionIncorporating a jpg image in .exe file Pin
Invinci5-May-10 1:31
Invinci5-May-10 1:31 
Hi all, could any one help me out of thisD'Oh! | :doh:

I just want to include a logo.jpg file in my .exe file. I have tried using Image Class (System.Drawing) in Visual C++, but after opening the .exe, and when tried to print, an error is popping up indicating the logo.jpg is missing, it is successful only after including the logo.jpg in the folder.

private: System::Void printDocument_PrintPage(System::Object^  sender, System::Drawing::Printing::PrintPageEventArgs^  e)<br />
{<br />
Image^ newImage = Image::FromFile( "logo.jpg" );<br />
//int x = 605; int y = 70; int width = 150; int height = 100;<br />
e->Graphics->DrawImage( newImage, 605, 70, 150, 100 );<br />
}



I want to know, is there any other method of including the logo to my print page, which doesn't need a logo.jpg file to be included in the respective folder

Any help is appreciated...Thanks Smile | :)
AnswerRe: Incorporating a jpg image in .exe file Pin
Andreoli Carlo5-May-10 5:04
professionalAndreoli Carlo5-May-10 5:04 
QuestionBasic memory management problem Pin
randomVariable30-Apr-10 4:31
randomVariable30-Apr-10 4:31 
QuestionMessage Removed Pin
29-Apr-10 23:56
arun_pk29-Apr-10 23:56 
AnswerRe: List View Column delete Pin
Andreoli Carlo30-Apr-10 4:34
professionalAndreoli Carlo30-Apr-10 4:34 
QuestionProblems creating Native C++ object from within C++/CLI [modified] Pin
smea29-Apr-10 8:56
smea29-Apr-10 8:56 
AnswerRe: Problems creating Native C++ object from within C++/CLI Pin
Michel Godfroid30-Apr-10 0:14
Michel Godfroid30-Apr-10 0:14 
GeneralRe: Problems creating Native C++ object from within C++/CLI Pin
smea5-May-10 3:21
smea5-May-10 3:21 
AnswerRe: Problems creating Native C++ object from within C++/CLI Pin
Michel Godfroid5-May-10 3:23
Michel Godfroid5-May-10 3:23 
Questionrun , show and application in my project and handle its forms Pin
iman_kh28-Apr-10 3:45
iman_kh28-Apr-10 3:45 
AnswerRe: run , show and application in my project and handle its forms Pin
Xeqtr28-Apr-10 7:14
Xeqtr28-Apr-10 7:14 
QuestionDynamic label text? Pin
Lucidation26-Apr-10 9:52
Lucidation26-Apr-10 9:52 
AnswerRe: Dynamic label text? Pin
Richard MacCutchan26-Apr-10 11:38
mveRichard MacCutchan26-Apr-10 11:38 
QuestionHow to calculate MPEG1/2 Video RTP Packet Timestamp field Pin
vijaysinh.vansadia22-Apr-10 22:57
vijaysinh.vansadia22-Apr-10 22:57 
QuestionBinaryWriter writes empty file Pin
KlaasVersteeg20-Apr-10 21:43
KlaasVersteeg20-Apr-10 21:43 
AnswerRe: BinaryWriter writes empty file Pin
KlaasVersteeg20-Apr-10 21:46
KlaasVersteeg20-Apr-10 21:46 
AnswerRe: BinaryWriter writes empty file Pin
Richard MacCutchan21-Apr-10 1:41
mveRichard MacCutchan21-Apr-10 1:41 
GeneralRe: BinaryWriter writes empty file Pin
KlaasVersteeg21-Apr-10 2:18
KlaasVersteeg21-Apr-10 2: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.