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

Managed C++/CLI

 
QuestionBeforeNavigate2 webbrowser form control Pin
Xaria25-Jun-08 16:12
Xaria25-Jun-08 16:12 
QuestionHow do you reset StreamReader? There is no seek function. Pin
BuckBrown25-Jun-08 12:20
BuckBrown25-Jun-08 12:20 
AnswerRe: How do you reset StreamReader? There is no seek function. Pin
Robert.C.Cartaino25-Jun-08 12:44
Robert.C.Cartaino25-Jun-08 12:44 
GeneralRe: How do you reset StreamReader? There is no seek function. Pin
BuckBrown26-Jun-08 5:56
BuckBrown26-Jun-08 5:56 
QuestionExecuting a programm from my application Pin
Manfr3d25-Jun-08 8:29
Manfr3d25-Jun-08 8:29 
AnswerRe: Executing a programm from my application Pin
Luc Pattyn25-Jun-08 8:49
sitebuilderLuc Pattyn25-Jun-08 8:49 
AnswerRe: Executing a programm from my application Pin
Mark Salsbery25-Jun-08 9:55
Mark Salsbery25-Jun-08 9:55 
GeneralRe: Executing a programm from my application Pin
Manfr3d26-Jun-08 2:36
Manfr3d26-Jun-08 2:36 
Thanks, but you need windows.h in both cases.

I tried the ShellExecute() function with the included header and library, but nothing happens, the specified program didn't start.
<br />
#pragma once<br />
#pragma comment(lib, "shell32.lib")<br />
<br />
#include <windows.h><br />
#include <shellapi.h><br />
<br />
// ...<br />
<br />
char *pcOp = "open";<br />
char *pcPath = "calc.exe";<br />
ShellExecute(NULL, (LPCWSTR)pcOp, (LPCWSTR)pcPath, NULL, NULL, SW_SHOWNORMAL); <br />
</shellapi.h></windows.h>


As I run this code I didn't get any error messages but nothing happened.
What am I doing wrong?
GeneralRe: Executing a programm from my application Pin
led mike26-Jun-08 4:46
led mike26-Jun-08 4:46 
GeneralRe: Executing a programm from my application Pin
Mark Salsbery26-Jun-08 6:13
Mark Salsbery26-Jun-08 6:13 
QuestionDirectshow methods in VC++ Windows forms application Pin
bhanu_850925-Jun-08 5:04
bhanu_850925-Jun-08 5:04 
AnswerRe: Directshow methods in VC++ Windows forms application Pin
Mark Salsbery25-Jun-08 9:56
Mark Salsbery25-Jun-08 9:56 
GeneralRe: Directshow methods in VC++ Windows forms application Pin
bhanu_850925-Jun-08 23:19
bhanu_850925-Jun-08 23:19 
QuestionRe: Directshow methods in VC++ Windows forms application Pin
Mark Salsbery26-Jun-08 6:29
Mark Salsbery26-Jun-08 6:29 
AnswerRe: Directshow methods in VC++ Windows forms application [modified] Pin
bhanu_850926-Jun-08 20:43
bhanu_850926-Jun-08 20:43 
QuestionRe: Directshow methods in VC++ Windows forms application Pin
Mark Salsbery27-Jun-08 4:57
Mark Salsbery27-Jun-08 4:57 
AnswerRe: Directshow methods in VC++ Windows forms application Pin
bhanu_850927-Jun-08 5:43
bhanu_850927-Jun-08 5:43 
GeneralRe: Directshow methods in VC++ Windows forms application Pin
Mark Salsbery27-Jun-08 5:55
Mark Salsbery27-Jun-08 5:55 
GeneralRe: Directshow methods in VC++ Windows forms application Pin
bhanu_850927-Jun-08 6:04
bhanu_850927-Jun-08 6:04 
QuestionRe: Directshow methods in VC++ Windows forms application Pin
Mark Salsbery27-Jun-08 6:13
Mark Salsbery27-Jun-08 6:13 
AnswerRe: Directshow methods in VC++ Windows forms application Pin
bhanu_850927-Jun-08 6:31
bhanu_850927-Jun-08 6:31 
GeneralRe: Directshow methods in VC++ Windows forms application Pin
led mike27-Jun-08 6:35
led mike27-Jun-08 6:35 
GeneralRe: Directshow methods in VC++ Windows forms application Pin
bhanu_850927-Jun-08 6:42
bhanu_850927-Jun-08 6:42 
QuestionRe: Directshow methods in VC++ Windows forms application Pin
bhanu_850927-Jun-08 6:47
bhanu_850927-Jun-08 6:47 
GeneralRe: Directshow methods in VC++ Windows forms application Pin
Mark Salsbery27-Jun-08 6:38
Mark Salsbery27-Jun-08 6:38 

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.