Click here to Skip to main content
14,578,180 members

Managed C++/CLI

 
QuestionHow to model endless-loop with states in UML-state-diagram Pin
Frygreen26-Jan-14 0:24
MemberFrygreen26-Jan-14 0:24 
AnswerRe: How do model endless-loop in UML Pin
Richard MacCutchan26-Jan-14 1:11
mveRichard MacCutchan26-Jan-14 1:11 
AnswerRe: How to model endless-loop with states in UML-state-diagram Pin
jschell26-Jan-14 12:37
Memberjschell26-Jan-14 12:37 
AnswerRe: How to model endless-loop with states in UML-state-diagram Pin
Stefan_Lang23-Feb-14 23:59
mveStefan_Lang23-Feb-14 23:59 
QuestionI'm learning dev C++ later to make an application any advice please? Pin
Member 1053353119-Jan-14 7:29
MemberMember 1053353119-Jan-14 7:29 
AnswerRe: I'm learning dev C++ later to make an application any advice please? Pin
Richard MacCutchan19-Jan-14 22:37
mveRichard MacCutchan19-Jan-14 22:37 
AnswerRe: I'm learning dev C++ later to make an application any advice please? Pin
Ger Hayden2-Feb-14 2:03
MemberGer Hayden2-Feb-14 2:03 
QuestionShellExecute Pin
Jerrick70079-Jan-14 10:38
MemberJerrick70079-Jan-14 10:38 
Hi,
I am using Sumatra in my Visual Basic 6.0 like this
Dim cmdline as string
Dim ret as integer
Dim hwnd As Long
Dim gstrPathAndFilename as string

gstrPathAndFilename="C:\test.pdf"
hwnd = Picture1.hwnd
cmdline = "C:\Program Files\SumatraPDF\SumatraPDF.exe -plugin " & hwnd & " " & gstrPathAndFilename
ret = Shell(cmdline)
The above code works perfectly in VB6.


Now I am trying to convert the above code to Visual C/C++ 6.0 like this
static HWND hwndPicture ;
hwndPicture = GetDlgItem (hwnd, IDC_PIC) ;

ShellExecute(
hwndPicture,
TEXT("open"),
TEXT("C:\\Program Files\\SumatraPDF\\SumatraPDF.exe"),
"d:\\Test\\test.pdf",
TEXT(" d:\\ "),
SW_SHOWNORMAL);

It works but not inside the form and picture box, it opens a new window.
Can someone help me, I new in Visual C++

Thanks,
Russell
AnswerRe: ShellExecute Pin
Richard Andrew x649-Jan-14 11:13
professionalRichard Andrew x649-Jan-14 11:13 
QuestionWhat is difference between A2W and MutiByteToWideChar? Pin
WuRunZhe22-Nov-13 1:32
MemberWuRunZhe22-Nov-13 1:32 
AnswerRe: What is difference between A2W and MutiByteToWideChar? Pin
Richard MacCutchan22-Nov-13 4:00
mveRichard MacCutchan22-Nov-13 4:00 
GeneralRe: What is difference between A2W and MutiByteToWideChar? Pin
WuRunZhe22-Nov-13 15:12
MemberWuRunZhe22-Nov-13 15:12 
QuestionIcon color resolution Pin
nasrin198421-Nov-13 22:50
Membernasrin198421-Nov-13 22:50 
AnswerRe: Icon color resolution Pin
Richard MacCutchan21-Nov-13 23:00
mveRichard MacCutchan21-Nov-13 23:00 
AnswerRe: Icon color resolution Pin
WuRunZhe22-Nov-13 2:43
MemberWuRunZhe22-Nov-13 2:43 
QuestionStatic Analysis code reqired for C++ Pin
GauranG Shah19-Nov-13 22:48
MemberGauranG Shah19-Nov-13 22:48 
AnswerRe: Static Analysis code reqired for C++ Pin
John Schroedl20-Nov-13 2:31
professionalJohn Schroedl20-Nov-13 2:31 
AnswerRe: Static Analysis code reqired for C++ Pin
Stefan_Lang24-Feb-14 0:07
mveStefan_Lang24-Feb-14 0:07 
QuestionStuck in Delegates and Events concept, what are the differences and when do we use them? Pin
atoi_powered16-Nov-13 10:02
Memberatoi_powered16-Nov-13 10:02 
AnswerRe: Stuck in Delegates and Events concept, what are the differences and when do we use them? Pin
Richard Andrew x6416-Nov-13 10:53
professionalRichard Andrew x6416-Nov-13 10:53 
QuestionI'm learning C++/CLI by reading MS VC++/CLI Step by Step, any advice guys? Pin
atoi_powered14-Nov-13 4:03
Memberatoi_powered14-Nov-13 4:03 
SuggestionRe: I'm learning C++/CLI by reading MS VC++/CLI Step by Step, any advice guys? Pin
Richard MacCutchan14-Nov-13 6:11
mveRichard MacCutchan14-Nov-13 6:11 
AnswerRe: I'm learning C++/CLI by reading MS VC++/CLI Step by Step, any advice guys? Pin
John Schroedl15-Nov-13 2:55
professionalJohn Schroedl15-Nov-13 2:55 
Questionhaching with MD5 Pin
Member 102601559-Nov-13 1:04
MemberMember 102601559-Nov-13 1:04 
AnswerRe: haching with MD5 Pin
Richard MacCutchan9-Nov-13 2:17
mveRichard MacCutchan9-Nov-13 2:17 

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.