Click here to Skip to main content
15,899,475 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: Vc++ hardware control classes? Pin
Hamid_RT14-Jun-06 20:43
Hamid_RT14-Jun-06 20:43 
AnswerRe: Vc++ hardware control classes? Pin
John R. Shaw15-Jun-06 1:34
John R. Shaw15-Jun-06 1:34 
QuestionUsing ShellExecute Pin
<color>Aljechin 14-Jun-06 20:14
<color>Aljechin 14-Jun-06 20:14 
AnswerRe: Using ShellExecute Pin
NiceNaidu14-Jun-06 20:33
NiceNaidu14-Jun-06 20:33 
QuestionRe: Using ShellExecute Pin
David Crow15-Jun-06 3:00
David Crow15-Jun-06 3:00 
AnswerRe: Using ShellExecute Pin
Milton Karimbekallil14-Jun-06 21:36
Milton Karimbekallil14-Jun-06 21:36 
AnswerRe: Using ShellExecute Pin
Hamid_RT14-Jun-06 21:49
Hamid_RT14-Jun-06 21:49 
AnswerRe: Using ShellExecute Pin
David Crow15-Jun-06 3:05
David Crow15-Jun-06 3:05 
Aljechin wrote:

1. How do I use ShellExecute inside my MFC program to register an activex control, say MyControl.ocx located at D:\MyFolder?


While you can use ShellExecute() or CreateProcess() for this, you could also use LoadLibrary() and GetProcAddress() to call the exported DllRegisterServer() function.


"The largest fire starts but with the smallest spark." - David Crow

"Judge not by the eye but by the heart." - Native American Proverb


GeneralRe: Using ShellExecute Pin
<color>Aljechin 15-Jun-06 20:06
<color>Aljechin 15-Jun-06 20:06 
GeneralRe: Using ShellExecute Pin
David Crow16-Jun-06 2:37
David Crow16-Jun-06 2:37 
Questionhow to type cast from CString to int [modified] Pin
yogendra kaushik14-Jun-06 19:58
yogendra kaushik14-Jun-06 19:58 
AnswerRe: how to type cast from CString to int Pin
Laxman Auti14-Jun-06 20:02
Laxman Auti14-Jun-06 20:02 
GeneralRe: how to type cast from CString to int Pin
Stephen Hewitt14-Jun-06 20:54
Stephen Hewitt14-Jun-06 20:54 
GeneralRe: how to type cast from CString to int Pin
Laxman Auti14-Jun-06 22:43
Laxman Auti14-Jun-06 22:43 
AnswerRe: how to type cast from CString to int Pin
Amar Sutar14-Jun-06 20:03
Amar Sutar14-Jun-06 20:03 
AnswerRe: how to type cast from CString to int Pin
NiceNaidu14-Jun-06 20:10
NiceNaidu14-Jun-06 20:10 
AnswerRe: how to type cast from CString to int Pin
Hamid_RT14-Jun-06 20:28
Hamid_RT14-Jun-06 20:28 
AnswerRe: how to type cast from CString to int Pin
John R. Shaw15-Jun-06 1:56
John R. Shaw15-Jun-06 1:56 
QuestionWindows Service & CDatabase Pin
vikramlinux14-Jun-06 19:44
vikramlinux14-Jun-06 19:44 
AnswerRe: Windows Service & CDatabase Pin
NiceNaidu14-Jun-06 20:18
NiceNaidu14-Jun-06 20:18 
AnswerRe: Windows Service & CDatabase Pin
Milton Karimbekallil14-Jun-06 21:42
Milton Karimbekallil14-Jun-06 21:42 
GeneralRe: Windows Service & CDatabase Pin
vikramlinux14-Jun-06 22:55
vikramlinux14-Jun-06 22:55 
Questionflex and bison with visual c++ [modified] Pin
c0714-Jun-06 19:37
c0714-Jun-06 19:37 
AnswerRe: flex and bison with visual c++ Pin
Hamid_RT14-Jun-06 19:44
Hamid_RT14-Jun-06 19:44 
GeneralRe: flex and bison with visual c++ Pin
c0714-Jun-06 20:05
c0714-Jun-06 20:05 

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.