Keith,
       Thanks for the suggestion.  I've looked through that method of 
subclassing, but didn't understand it much.  I haven't done subclassing before. 
Currently I've gotten it to work by creating a VB ActiveX Control wrapper for 
the ESRI control. I'm thinking that the way ESRI made it might not be very 
compatible somehow.  This isn't ideal, but it's a start.
   
       I'm not able to pass a value to a method that had created, RB gives me 
an error about not being able to pass a string when it's "ByRef". As a 
workaround, I've setted the value to a public property and then run the method 
referencing it.
  
Keith Hutchison <[EMAIL PROTECTED]> wrote:
  G'day Ken


On 11/22/06, Ken Chung wrote:
> I'm trying to port over a VB example for ESRI MapObjects LT. I have added the 
> component as an OLEContainer and it appears to have exposed the properties 
> and method. I can call the "AboutBox" method for example. However, I'm unable 
> to set a value for the object.

Long ago Christian from MBS suggested to me to make a subclass and
base it one of the OLE classes.

>From memory the following project shows working source for controlling
an MS Explorer using OLE via subclasses.

http://realopen.org/projects/htmlviewer/

Hope that helps

-- 
Keith Hutchison
http://balance-infosystems.com http://realopen.org
http://www.kasamba.com/Keith-Hutchison
_______________________________________________
Unsubscribe or switch delivery mode:


Search the archives of this list here:



 
---------------------------------
Sponsored Link

Want a degree but can't afford to quit? Online degrees from top schools - in as 
fast as 1 year
_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>

Search the archives of this list here:
<http://support.realsoftware.com/listarchives/lists.html>

Reply via email to