Click here to Skip to main content
15,908,175 members
Home / Discussions / COM
   

COM

 
AnswerRe: What interface to implement to be a datasource to VB data bound control? Pin
Jörgen Sigvardsson24-Dec-02 12:46
Jörgen Sigvardsson24-Dec-02 12:46 
Questionhow to debug visual com dll ?? Pin
Leesen13-Dec-02 5:08
Leesen13-Dec-02 5:08 
AnswerRe: how to debug visual com dll ?? Pin
geo_m13-Dec-02 11:29
geo_m13-Dec-02 11:29 
GeneralRe: how to debug visual com dll ?? Pin
Leesen13-Dec-02 16:08
Leesen13-Dec-02 16:08 
GeneralRe: how to debug visual com dll ?? Pin
geo_m14-Dec-02 4:13
geo_m14-Dec-02 4:13 
GeneralRe: how to debug visual com dll ?? Pin
Leesen17-Dec-02 13:22
Leesen17-Dec-02 13:22 
GeneralRe: how to debug visual com dll ?? Pin
geo_m19-Dec-02 2:20
geo_m19-Dec-02 2:20 
GeneralWebBrowser text is not updated after Replaying Keypress event Pin
p_khasnis12-Dec-02 15:53
p_khasnis12-Dec-02 15:53 
Hello,

I am trying to replay a set of recorded events in WebBrowser. I am able to record and replay the events like keypress and click events on the html page displayed in the browser.

However, when i am replaying events like keypress into a text box and then a click on submit button, the application does play the events but i am not able to see the text entered inthe text box on the HTMl page.

Similarly if there more text boxes and events are replayed on them then the text is seen only after the function for replaying of events returns.

for e.g. Google's page has a textbox and Google search button. If i just record events in the text box without clicking on search and replay them back i am able to see the text in the textbox after the replaying is complete. However if i also press click on the search button and try to replay these two events then the app puts the text and clicks the button and navigates to result page and thus the events are replayed properly, but the text is not seen in textbox before navigation.

Further info:
I am using WebBrowser in VC++ and IHTMLDocument2 pointer. With this i am able to get the HTML of the element and compare it with the recorded event's HTML. When i find the element(IHTMLElement) i use either a click() or put_innexText() api's depending on whether it was a click or a keypress event.

I have tried to run the function which replays events in OnDocumentComplete(), directly and then again inside a thread so as not to interfere with the documentcomplete process. I have also tried to use sleep in OnBeforeNavigate().

Secondly, I have tried to use PostMessage and SendMessage and keybd_event() apis to see if they make any difference. All this has failed.

Please somebody help me with this. Thanks in advance.

Regds,
Prasad.



Prasad
Thanks again
GeneralRe: WebBrowser text is not updated after Replaying Keypress event Pin
geo_m12-Dec-02 23:49
geo_m12-Dec-02 23:49 
GeneralRe: WebBrowser text is not updated after Replaying Keypress event Pin
p_khasnis13-Dec-02 2:17
p_khasnis13-Dec-02 2:17 
GeneralCOM+ and SetUnhandledExceptionFilter Pin
AboMalek10-Dec-02 3:06
AboMalek10-Dec-02 3:06 
Questionhow to save the ppt to html?? Pin
zhaosd9-Dec-02 0:11
zhaosd9-Dec-02 0:11 
Generalplugins in vc++ or com Pin
xxhimanshu5-Dec-02 19:55
xxhimanshu5-Dec-02 19:55 
GeneralRe: plugins in vc++ or com Pin
geo_m6-Dec-02 2:34
geo_m6-Dec-02 2:34 
GeneralRe: plugins in vc++ or com Pin
xxhimanshu6-Dec-02 19:13
xxhimanshu6-Dec-02 19:13 
GeneralRe: plugins in vc++ or com Pin
geo_m6-Dec-02 22:59
geo_m6-Dec-02 22:59 
GeneralRe: plugins in vc++ or com Pin
xxhimanshu8-Dec-02 17:46
xxhimanshu8-Dec-02 17:46 
GeneralCOM+ architecture question Pin
Omer S.2-Dec-02 22:40
Omer S.2-Dec-02 22:40 
GeneralRe: COM+ architecture question Pin
Daniel Turini2-Dec-02 22:46
Daniel Turini2-Dec-02 22:46 
GeneralRe: COM+ architecture question Pin
Omer S.3-Dec-02 1:04
Omer S.3-Dec-02 1:04 
GeneralRe: COM+ architecture question Pin
AboMalek10-Dec-02 3:34
AboMalek10-Dec-02 3:34 
QuestionHow to implement a schedule in VC++ Pin
Anonymous29-Nov-02 21:45
Anonymous29-Nov-02 21:45 
AnswerRe: How to implement a schedule in VC++ Pin
Jörgen Sigvardsson30-Nov-02 13:49
Jörgen Sigvardsson30-Nov-02 13:49 
GeneralLinking Pin
Anthony988728-Nov-02 11:04
Anthony988728-Nov-02 11:04 
GeneralDLL or COM component to attach template to word document Pin
Jude27-Nov-02 17:49
Jude27-Nov-02 17:49 

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.