Click here to Skip to main content
16,017,015 members
Home / Discussions / COM
   

COM

 
GeneralCD Burning Pin
TekProfessional7-May-03 13:30
TekProfessional7-May-03 13:30 
GeneralRe: CD Burning Pin
Michael Dunn7-May-03 15:12
sitebuilderMichael Dunn7-May-03 15:12 
GeneralAPI/Control -> AuthenTec FingerLogic USB Scanner Pin
Kramins7-May-03 10:35
Kramins7-May-03 10:35 
GeneralEmbedding word documents in OLE Container Pin
rajandpayal4-May-03 17:52
rajandpayal4-May-03 17:52 
GeneralPleas help me with IConnectionPoint::Advise() Pin
faberge3-May-03 2:01
faberge3-May-03 2:01 
QuestionAdd toolbar to IE? Pin
Jim Howard30-Apr-03 8:50
Jim Howard30-Apr-03 8:50 
AnswerRe: Add toolbar to IE? Pin
J. Dunlap3-May-03 8:09
J. Dunlap3-May-03 8:09 
GeneralGetActiveObject fails with IE Pin
rdautel30-Apr-03 5:15
rdautel30-Apr-03 5:15 
Hi all,

My applicaiton needs to look for and use a currently open IE (Using IE 6) and if there's not one, then start one. The problem I'm having is that GetActiveObject will see other programs such as Excel and Word, but it always fails to see IE running. I've tried both the CLSID_InternetExplorer and using the CLSIDFromProgID function. Neither seen to work. I've also read that some Office programs need to loose focus before they register running objects, but that does not seem to help in this case either. Any ideas? Is there something with IE that I'm not setting? Can CoCreateInstance or CoGetClassObject be used to detect? Thanks for any info. -rob.

HRESULT hr;

hr = ::CLSIDFromProgID(L"IExplorer.Application",&prog_clsid);

assert(SUCCEEDED(hr));

hr = ::GetActiveObject(prog_clsid, NULL, &pUnk);
// hr = ::GetActiveObject(CLSID_InternetExplorer, NULL, &pUnk);
assert(SUCCEEDED(hr));

GeneralRe: GetActiveObject fails with IE Pin
Stephane Rodriguez.3-May-03 19:54
Stephane Rodriguez.3-May-03 19:54 
GeneralCO_E_SERVER_EXEC_FAILURE Pin
Jamie Hale29-Apr-03 5:07
Jamie Hale29-Apr-03 5:07 
GeneralError reading key Pin
GWENJi29-Apr-03 4:09
GWENJi29-Apr-03 4:09 
GeneralGet [source] interface DISPID (id) Pin
Abebe28-Apr-03 22:47
Abebe28-Apr-03 22:47 
GeneralRe: Get [source] interface DISPID (id) Pin
Abebe29-Apr-03 1:30
Abebe29-Apr-03 1:30 
QuestionWhats the use for DECLARE_DISPATCH_MAP and DECLARE_OLECREATE_EX?? Pin
safee ullah28-Apr-03 22:35
safee ullah28-Apr-03 22:35 
GeneralCOM Voodoo Pin
vlvl28-Apr-03 21:06
vlvl28-Apr-03 21:06 
GeneralRe: COM Voodoo Pin
safee ullah29-Apr-03 0:56
safee ullah29-Apr-03 0:56 
GeneralRe: COM Voodoo Pin
Stephane Rodriguez.7-May-03 20:49
Stephane Rodriguez.7-May-03 20:49 
QuestionADO events biased to COM memory model? Pin
Chopper28-Apr-03 9:31
Chopper28-Apr-03 9:31 
GeneralCOM interop to Outlook -- BeforeFolderSwitch Pin
rkiesler27-Apr-03 3:57
rkiesler27-Apr-03 3:57 
GeneralRe: COM interop to Outlook -- BeforeFolderSwitch Pin
Stephane Rodriguez.7-May-03 20:52
Stephane Rodriguez.7-May-03 20:52 
GeneralRe: COM interop to Outlook -- BeforeFolderSwitch Pin
rkiesler9-May-03 5:32
rkiesler9-May-03 5:32 
General2-D SafeArray Pin
tomercagan26-Apr-03 10:10
tomercagan26-Apr-03 10:10 
GeneralRe: 2-D SafeArray Pin
Hans Ruck30-Apr-03 1:13
Hans Ruck30-Apr-03 1:13 
GeneralOLE DB problem in VC++ COM when used in ASP Pin
Mahesh Perumal26-Apr-03 2:20
Mahesh Perumal26-Apr-03 2:20 
Generalne One Heard of CAutomationObject Pin
safee ullah23-Apr-03 21:40
safee ullah23-Apr-03 21:40 

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.