Real Software Forums

The forum for Real Studio and other Real Software products.
[ REAL Software Website | Board Index ]
It is currently Sat Dec 07, 2019 6:03 am
xojo

All times are UTC - 5 hours




Post new topic Reply to topic  [ 4 posts ] 
Author Message
 Post subject: ActiveX and REALbasic
PostPosted: Mon Mar 15, 2010 9:47 am 
Offline
User avatar

Joined: Fri Sep 30, 2005 11:48 am
Posts: 3554
Location: Lenexa, KS
I'm looking at doing a tutorial or two on using ActiveX in REALbasic. Anyone have a list of ActiveX controls that they know to work in RB?

_________________
Bob K.

A blog about being a Real Studio/Xojo developer at http://www.bkeeneybriefs.com


Top
 Profile  
Reply with quote  
 Post subject: Re: ActiveX and REALbasic
PostPosted: Mon Mar 15, 2010 11:50 am 
Offline

Joined: Thu Feb 22, 2007 7:08 pm
Posts: 1384
I have work on an audio/sound project which use Active X. It is some time elapsed, but if you want I can later write some infos about it.
You can download the Active X control here
http://www.multimediasoft.com/
There are 3 different controls: Active Sound Editor, Active Sound Recorder and Active DJ Studio.


Top
 Profile  
Reply with quote  
 Post subject: Re: ActiveX and REALbasic
PostPosted: Sun May 30, 2010 3:49 pm 
Offline

Joined: Wed Jan 31, 2007 9:01 am
Posts: 273
Location: Saratoga Springs, NY area
Hi Bob,

I saw your posting about doing a tutorial on Active X and RB and thought you may be interested in this current posting on the forum:

http://forums.realsoftware.com/viewtopic.php?f=6&t=34013

This Active X works in as late as 2009 R 5, with some difficulties emerging in 2010 releases (could be my limited skills).

Take a look. Hope this helps.

_________________
writer

Windows 7 Home Premium 64 bit, Core i7, 8G RAM, ATI Radeon HD5770, Release 2011r3


Top
 Profile  
Reply with quote  
 Post subject: Re: ActiveX and REALbasic
PostPosted: Sun Jun 10, 2012 8:26 pm 
Offline
User avatar

Joined: Thu Dec 29, 2011 6:46 pm
Posts: 191
Location: Edmonton, AB, Canada
Take a look at this case: 20691

New versions of RB...
1) cannot pass parameter by name
2) cannot covert from COM.Idispatch to OLEObject


Refer to Feedback case 20691 (Rank: 106th)
William Yu - Tuesday, May 01, 2012 @ 2:01 PM
»» File(s) attached: TreeView.rbp

Here's a working copy (attached as TreeView.rbp)
The main issue is that passing parameters by name isn't support with the new COM generated classes (since they bypass OLEObject completely). I had to manually add a function called AddRootNode that passed a parameter by name. Ideally in the future we can provide a function to convert from COM.IDispatch to OLEObject. That way you can pass parameters by name using the OLEParameter and OLEObject.


This article from BKeeney explains some more of the limitations on using REALbasic ActiveX feature
http://www.bkeeneybriefs.com/Old_Posts/ ... 4a-12.html

Catalyst Development, reported some issues using REALbasic ActiveX feature as well
http://www.catalyst.com/cgi-bin/knowbase.cgi

_________________
Regards,
TomazVDaSilva


Clean Code: Robert C. Martin
It is not the language that makes programs appear simple.
It is the programmer that make the language appear simple!


Top
 Profile  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 4 posts ] 

All times are UTC - 5 hours


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

Search for:
Jump to:  
cron
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group