Support for calling Active X Objects
Moderator: Klaus
Support for calling Active X Objects
Hello,
I would like to call ActiveX component (which has been development in c++ ) from the rev program. But It seems revolution does not provide a way to do that.
Is there going to be any support for making a call to Active X objects from rev program in feature?
Best Regards
Pradeep
I would like to call ActiveX component (which has been development in c++ ) from the rev program. But It seems revolution does not provide a way to do that.
Is there going to be any support for making a call to Active X objects from rev program in feature?
Best Regards
Pradeep
ActiveX
One way to do this might be to write a small VBS script that can communicate with the object, and have your Revolution stack call the script with some parameters. To call the script you might use the shell or launch commands.
You could also write an external DLL.
You could also write an external DLL.
How to get response from VBScript
Hello,
Did you mean to say that we make a call to VBScript exe file by using shell commands. If yes, then how to pass the parameters (which may be around 50 lines of text) to exe file ? And how will VBScript program will send commmands to Rev program. ?
Do you have any examples of it?
Thanks for your insights.
Best Regards
Pradeep
Did you mean to say that we make a call to VBScript exe file by using shell commands. If yes, then how to pass the parameters (which may be around 50 lines of text) to exe file ? And how will VBScript program will send commmands to Rev program. ?
Do you have any examples of it?
Thanks for your insights.
Best Regards
Pradeep
Passing data
Yes, passing data between the two is a bit more difficult.
The best way is to create an external in C++, because that can put data directly into a Revolution variable. This works with even large amounts of binary data. I once wrote an image-processing external in C. There was
http://www.runrev.com/newsletter/novemb ... etter5.php
and
http://www.runrev.com/newsletter/novemb ... etter3.php
have information about externals.
You could also use environment variables, but the amount of data is limited to 8,192 bytes.
Temporary files are always an option.
The best way is to create an external in C++, because that can put data directly into a Revolution variable. This works with even large amounts of binary data. I once wrote an image-processing external in C. There was
http://www.runrev.com/newsletter/novemb ... etter5.php
and
http://www.runrev.com/newsletter/novemb ... etter3.php
have information about externals.
You could also use environment variables, but the amount of data is limited to 8,192 bytes.
Temporary files are always an option.
All of a sudden - and with the advent of Revolution 2.9 - I am also very much interested in genuine ActiveX support !
One possibility is using the revBrowser plugin for embedding an ActiveX component - this should at least work on Windows where revBrowser is based on IE ...
BUT: It would be great to have native Revolution support for ActiveX components, too ! Place them on Revolution cards much along the lines a QuickTime Player object is placed; and then treat them with all the Revolution goodness available ...
Is native Revolution support for ActiveX components already available at this time ? Or is an external in the works somewhere, for example ?
One possibility is using the revBrowser plugin for embedding an ActiveX component - this should at least work on Windows where revBrowser is based on IE ...
BUT: It would be great to have native Revolution support for ActiveX components, too ! Place them on Revolution cards much along the lines a QuickTime Player object is placed; and then treat them with all the Revolution goodness available ...

Is native Revolution support for ActiveX components already available at this time ? Or is an external in the works somewhere, for example ?
-
- VIP Livecode Opensource Backer
- Posts: 10043
- Joined: Sat Apr 08, 2006 7:05 am
- Contact:
You can add your votes to the request for ActiveX support here:
http://quality.runrev.com/qacenter/show_bug.cgi?id=3940
http://quality.runrev.com/qacenter/show_bug.cgi?id=3940
Richard Gaskin
LiveCode development, training, and consulting services: Fourth World Systems
LiveCode Group on Facebook
LiveCode Group on LinkedIn
LiveCode development, training, and consulting services: Fourth World Systems
LiveCode Group on Facebook
LiveCode Group on LinkedIn
This is for a ActiveX plug in for display of Revolution Projects within Web Browsers.FourthWorld wrote:You can add your votes to the request for ActiveX support here:
http://quality.runrev.com/qacenter/show_bug.cgi?id=3940
This topic is about using activex controls from Rev I believe, two different concepts.
-
- VIP Livecode Opensource Backer
- Posts: 10043
- Joined: Sat Apr 08, 2006 7:05 am
- Contact:
Sorry for the misunderstanding. That was the only request I could find for ActiveX there. You're welcome to create a new one.
Richard Gaskin
LiveCode development, training, and consulting services: Fourth World Systems
LiveCode Group on Facebook
LiveCode Group on LinkedIn
LiveCode development, training, and consulting services: Fourth World Systems
LiveCode Group on Facebook
LiveCode Group on LinkedIn
I have just created the following feature request:
Native Support for calling/embedding Active X Objects
http://quality.runrev.com/qacenter/show_bug.cgi?id=6456
Please praise it; spread the word for it; and last but not least VOTE for it
Native Support for calling/embedding Active X Objects
http://quality.runrev.com/qacenter/show_bug.cgi?id=6456
Please praise it; spread the word for it; and last but not least VOTE for it
