Support for calling Active X Objects

Something you want to see in a LiveCode product? Want a new forum set up for a specific topic? Talk about it here.

Moderator: Klaus

Post Reply
pkmittal
Posts: 111
Joined: Thu Feb 08, 2007 11:27 am
Contact:

Support for calling Active X Objects

Post by pkmittal » Tue Feb 13, 2007 9:19 am

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

bfisher
Posts: 7
Joined: Mon Jan 22, 2007 7:39 pm

ActiveX

Post by bfisher » Sun Feb 18, 2007 8:46 pm

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.

pkmittal
Posts: 111
Joined: Thu Feb 08, 2007 11:27 am
Contact:

How to get response from VBScript

Post by pkmittal » Mon Feb 19, 2007 7:12 am

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

bfisher
Posts: 7
Joined: Mon Jan 22, 2007 7:39 pm

Passing data

Post by bfisher » Sat Feb 24, 2007 8:32 pm

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.

verlsnake
Posts: 22
Joined: Mon Jan 28, 2008 5:42 pm

Post by verlsnake » Tue Apr 22, 2008 12:44 pm

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 ?

FourthWorld
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 10043
Joined: Sat Apr 08, 2006 7:05 am
Contact:

Post by FourthWorld » Tue Apr 22, 2008 4:01 pm

You can add your votes to the request for ActiveX support here:
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

keyless
Posts: 211
Joined: Wed Dec 12, 2007 11:21 pm

Post by keyless » Tue Apr 22, 2008 8:08 pm

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 is for a ActiveX plug in for display of Revolution Projects within Web Browsers.

This topic is about using activex controls from Rev I believe, two different concepts.

FourthWorld
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 10043
Joined: Sat Apr 08, 2006 7:05 am
Contact:

Post by FourthWorld » Tue Apr 22, 2008 10:39 pm

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

verlsnake
Posts: 22
Joined: Mon Jan 28, 2008 5:42 pm

Post by verlsnake » Wed Apr 30, 2008 7:12 pm

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 :D

Post Reply