Click here to Skip to main content
16,004,833 members
Home / Discussions / COM
   

COM

 
GeneralPlease ! Pin
andy_cn14-Sep-04 22:12
andy_cn14-Sep-04 22:12 
Generalhelp! ! Pin
andy_cn14-Sep-04 22:05
andy_cn14-Sep-04 22:05 
GeneralRe: help! ! Pin
Balkrishna Talele16-Sep-04 18:38
Balkrishna Talele16-Sep-04 18:38 
GeneralRe: help! ! Pin
Anonymous19-Sep-04 15:48
Anonymous19-Sep-04 15:48 
GeneralRe: help! ! Pin
andy_cn19-Sep-04 15:54
andy_cn19-Sep-04 15:54 
GeneralRe: help! ! Pin
andy_cn19-Sep-04 15:56
andy_cn19-Sep-04 15:56 
GeneralComunicate with IE Pin
mebmer 12345678914-Sep-04 22:00
mebmer 12345678914-Sep-04 22:00 
GeneralRe: Comunicate with IE Pin
Antti Keskinen15-Sep-04 3:05
Antti Keskinen15-Sep-04 3:05 
For a C++ implementation, see this[^] article here on CodeProject.

It shows you how to use the IHTMLDocument2 interface to enumerate and execute JavaScript functions coded on a HTML page. As it uses a lot of COM, it may be difficult to port this to C#. The process how to call JS functions is precisely the same, though. The required functions and variables differ, though.

But reading the article will give you an idea how to execute JS functions by using COM. Next step is to implement this approach using C#.

Happy coding

-Antti Keskinen

----------------------------------------------
The definition of impossible is strictly dependant
on what we think is possible.
GeneralCOM and Multiple Inheritance Pin
User 21559714-Sep-04 20:37
User 21559714-Sep-04 20:37 
GeneralGlobal Interface Table issue Pin
.Suchit14-Sep-04 3:18
.Suchit14-Sep-04 3:18 
GeneralRe: Global Interface Table issue Pin
geo_m14-Oct-04 1:46
geo_m14-Oct-04 1:46 
GeneralCOM Design Change Issue Pin
DeepakSharma14-Sep-04 1:54
DeepakSharma14-Sep-04 1:54 
GeneralActiveX problem Pin
archetype14-Sep-04 1:36
archetype14-Sep-04 1:36 
Generalplease help Pin
ThatsAlok14-Sep-04 1:02
ThatsAlok14-Sep-04 1:02 
QuestionDestructor in coclass? Pin
Anonymous13-Sep-04 23:49
Anonymous13-Sep-04 23:49 
AnswerRe: Destructor in coclass? Pin
thowra15-Sep-04 1:23
thowra15-Sep-04 1:23 
GeneralRe: the Invoke() method ? Pin
necroleak13-Sep-04 20:58
sussnecroleak13-Sep-04 20:58 
GeneralRe: the Invoke() method ? Pin
Jörgen Sigvardsson14-Sep-04 2:06
Jörgen Sigvardsson14-Sep-04 2:06 
GeneralRe: the Invoke() method ? Pin
necroleak14-Sep-04 20:25
sussnecroleak14-Sep-04 20:25 
GeneralRe: the Invoke() method ? Pin
necroleak14-Sep-04 21:19
sussnecroleak14-Sep-04 21:19 
Generalqweqe Pin
Kanagu_INDIAN13-Sep-04 18:55
Kanagu_INDIAN13-Sep-04 18:55 
GeneralRe: qweqe Pin
ThatsAlok3-Nov-04 17:49
ThatsAlok3-Nov-04 17:49 
Questionhow can i add the button? Pin
wywyongwei13-Sep-04 17:04
wywyongwei13-Sep-04 17:04 
AnswerRe: how can i add the button? Pin
ThatsAlok3-Nov-04 17:53
ThatsAlok3-Nov-04 17:53 
QuestionHowto make basic ActiveX component in c++ with...? Pin
H.F13-Sep-04 14:08
H.F13-Sep-04 14:08 

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.