Click here to Skip to main content
15,907,231 members
Home / Discussions / COM
   

COM

 
GeneralGetting information about remote COM client Pin
Bash17-Feb-04 1:37
Bash17-Feb-04 1:37 
GeneralRe: Getting information about remote COM client Pin
Anonymous19-Feb-04 12:59
Anonymous19-Feb-04 12:59 
Questionhow to automate internet explorer ? Pin
name_or_alias16-Feb-04 10:38
name_or_alias16-Feb-04 10:38 
Generaltypecat varenum to string Pin
Inam15-Feb-04 20:35
Inam15-Feb-04 20:35 
QuestionI want to use vc or vb to insert a picture into the word document at a given screen point. how to do? Pin
cuixiutao15-Feb-04 3:41
cuixiutao15-Feb-04 3:41 
QuestionHow to insert table in richtextbox control Pin
Sumit Kapoor15-Feb-04 0:19
Sumit Kapoor15-Feb-04 0:19 
Generalcustomize script debugger Pin
alan.net13-Feb-04 22:53
alan.net13-Feb-04 22:53 
GeneralNot getting submit event... Pin
Avya13-Feb-04 19:02
Avya13-Feb-04 19:02 
Hi everybody,
I’m developing an MFC application. I‘ve created an event sink for IHTMLFormElement, using BEGIN_DISPATCH_MAP-END_DISPATCH_MAP macros.
In this event sink, I’m catching submit event of the form. For most of the sites it’s working fine. But for some of the SSL sites like bankofamerica.com, the form sink does not get submit event. How to get submit event for such sites?
I tried put_onsubmit, but it is also not working. I might be making some mistake doing it. The code I tried is:

hr = m_pUnkSinkForm->QueryInterface (IID_IDispatch, (void **)&pSelfDisp);

VariantInit(&vargID);
vargID.vt = VT_DISPATCH;
vargID.pdispVal = pSelfDisp;

IHTMLFormElement *pIHTMLFormElement = NULL;
hr = m_pUnkSrcForm->QueryInterface(IID_IHTMLFormElement, (void**)&pIHTMLFormElement);
if(SUCCEEDED(hr))
{
hr = pIHTMLFormElement->put_onsubmit(vargID);

If there is any other workaround except put_onsubmit, please mention, I’ll try it out.
Thanks in advance…
Confused | :confused:

Avya.

GeneralCom Interop Pin
Anonymous12-Feb-04 23:47
Anonymous12-Feb-04 23:47 
GeneralWrapping Outlook's database... Pin
profoundwhispers12-Feb-04 10:52
profoundwhispers12-Feb-04 10:52 
GeneralRe: Wrapping Outlook's database... Pin
Steve S13-Feb-04 2:00
Steve S13-Feb-04 2:00 
Generalhoe to access mulrtiple Documents in Window Pin
Avya10-Feb-04 22:42
Avya10-Feb-04 22:42 
GeneralEJB-COM or calling Java from C++ Pin
Blue_Aqua10-Feb-04 19:23
Blue_Aqua10-Feb-04 19:23 
Generalinteract 2 way Pin
Blue_Aqua10-Feb-04 19:05
Blue_Aqua10-Feb-04 19:05 
GeneralDLL/Exe name from CLSID Pin
Anonymous10-Feb-04 2:03
Anonymous10-Feb-04 2:03 
GeneralRe: DLL/Exe name from CLSID Pin
Anonymous10-Feb-04 7:35
Anonymous10-Feb-04 7:35 
GeneralLoading a DER Encoded File into a _bstr_t Object Pin
iffi99210-Feb-04 1:47
iffi99210-Feb-04 1:47 
QuestionHow to get IID from ClsID Pin
Inam9-Feb-04 20:35
Inam9-Feb-04 20:35 
AnswerRe: How to get IID from ClsID Pin
Anonymous10-Feb-04 2:06
Anonymous10-Feb-04 2:06 
Questionhow to find classID?? Pin
Member 8719049-Feb-04 19:32
Member 8719049-Feb-04 19:32 
GeneralDesparately Seeking Dino Esposito Pin
Dave Midgley9-Feb-04 8:57
Dave Midgley9-Feb-04 8:57 
GeneralRe: Desparately Seeking Dino Esposito Pin
Killerluke9-Feb-04 20:48
Killerluke9-Feb-04 20:48 
GeneralRe: Desparately Seeking Dino Esposito Pin
Dave Midgley10-Feb-04 8:50
Dave Midgley10-Feb-04 8:50 
Generalhelp ambiguous call to overloaded function Pin
jackalwisdom9-Feb-04 4:51
jackalwisdom9-Feb-04 4:51 
GeneralRe: help ambiguous call to overloaded function Pin
Jörgen Sigvardsson9-Feb-04 9:55
Jörgen Sigvardsson9-Feb-04 9:55 

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.