VB COM in Revolution?

Viktoras Didziulis viktoras at ekoinf.net
Fri Jul 28 16:52:52 EDT 2006


JScript also can be used as a "mediator". You can access any ActiveX/COM
object like this: 
MyObject = new ActiveXObject("[here goes your com/ActiveX object]") 
 
 
Viktoras 
 
 
-------Original Message------- 
 
From: Alex Tweedly 
Date: 07/28/06 23:17:49 
To: How to use Revolution 
Subject: Re: VB COM in Revolution? 
 
Mark Wieder wrote: 
 
> 
>Well, I meant to say "without creating an external library", but it 
>looks like Alex even managed to come up with Yet Another Way To Do It. 
>While you can probably count on vbscript being available on target 
>systems, while Python is something that needs to be installed, so 
>unless you're just writing something for yourself, this is something 
>that needs to be taken into account. 
> 
>The communication model is probably 
> 
>rev <--> (something.else.that.can.talk.to.COM.objects) <--> COM 
> 
>For some projects you need to decide whether it's worth continuing in 
>rev or whether the proper model is simply 
> 
>(something.else.that.can.talk.to.COM.objects) <--> COM 
> 
> 
I agree, I would probably have switched to simply 
"(something.that.talks.to.COM) <---> COM" except for two things 
- rev Player objects are far easier and better than the Python equivalent 
- I actually run it remote as well as local, so I have a (Python) 
server, and talk to it from remote Rev clients 
 
So I keep a single iTunes database on my main desktop server, and can 
access the iTunes database, playlists, and tracks from the variety of 
laptops and desktops scattered around the house, which saves me trying 
to synchronize updates to podcasts (and new CDs) between multiple machines. 
 
-- 
Alex Tweedly http://www.tweedly.net 
 
 
 
-- 
No virus found in this outgoing message. 
Checked by AVG Free Edition. 
Version: 7.1.394 / Virus Database: 268.10.4/399 - Release Date: 25/07/2006 
 
_______________________________________________ 
use-revolution mailing list 
use-revolution at lists.runrev.com 
Please visit this url to subscribe, unsubscribe and manage your subscription
preferences: 
http://lists.runrev.com/mailman/listinfo/use-revolution



More information about the use-livecode mailing list