bb.donnay-software.com

Donnay Software Web Forums
It is currently Fri Aug 23, 2019 7:24 pm

All times are UTC - 7 hours




Post new topic Reply to topic  [ 1 post ] 
Author Message
PostPosted: Mon May 21, 2018 8:55 am 
Offline

Joined: Tue May 15, 2018 6:59 am
Posts: 3
Does anyone know how to launch an ActiveX XbpHtmlViewr or IE object inside a Xbase++ application and intercept a javascript event or window.external event from the web browser object? I've been trying to find a way to do this, and so far have been unsuccessful.

I tried attaching an addEventListener method the web browser document object, but that didn't seem to work.

I'm trying to integrate my application with a third-party website. My application launches the web site using a XbpHtmlViewer or IE object, then the user adds items to a shopping cart and selects a "Transfer" button. The transfer button calls a custom event named OnCopyToWo and passes in the contents the shopping cart. I'm supposed to intercept the OnCopyToWo event and retrieve the shopping cart data, but I can't find a way to do that. I tried creating a OnCopyToWo function, hoping that the web site would call it somehow, but that didn't work.

If anyone has an ideas regarding how this can be done, please let me know. Any help will be greatly appreciated! Thanks!

Chris Carmac
Freedomsoft


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 1 post ] 

All times are UTC - 7 hours


Who is online

Users browsing this forum: No registered users and 5 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron
Powered by phpBB® Forum Software © phpBB Group