/    Sign up×
Community /Pin to ProfileBookmark

java script can’t receive an event from MFC ActiveX control?

Hi all;

I’ve read “A Complete ActiveX Web Control Tutorial” article at here:

[CODE]http://www.codeproject.com/Articles/14533/A-Complete-ActiveX-Web-Control-Tutorial[/CODE]

I’ve done the all steps to create my own activex using MFC (C++).
I’m not familiar with java scripting!
When I run the downloaded “myactivex” project html files, everything is OK.
But when I create another html file exactly same as the downloaded project and use my own activex which is currently similar to the “myactivex.ocx”, I don’t see any event received by html code (java script)!

I mean, when pushing “submit” button, the other page containing “The parameter you entered is:” message is not displayed!!

I think the html code doesn’t get any event (ParameterLoaded) from activex!

Because I’ve not worked with java script, I can’t find the problem reason!

Or the problem is from activex or a specific setting miss in system… I don’t know?!!

Please help me about this problem…

I don’t think to be able to get the response on that article thread.

Thanks in Advance.

to post a comment
JavaScript

0Be the first to comment 😎

×

Success!

Help @creative22 spread the word by sharing this article on Twitter...

Tweet This
Sign in
Forgot password?
Sign in with TwitchSign in with GithubCreate Account
about: ({
version: 0.1.9 BETA 6.17,
whats_new: community page,
up_next: more Davinci•003 tasks,
coming_soon: events calendar,
social: @webDeveloperHQ
});

legal: ({
terms: of use,
privacy: policy
});
changelog: (
version: 0.1.9,
notes: added community page

version: 0.1.8,
notes: added Davinci•003

version: 0.1.7,
notes: upvote answers to bounties

version: 0.1.6,
notes: article editor refresh
)...
recent_tips: (
tipper: @nearjob,
tipped: article
amount: 1000 SATS,

tipper: @meenaratha,
tipped: article
amount: 1000 SATS,

tipper: @meenaratha,
tipped: article
amount: 1000 SATS,
)...