How do you implement ActiveX Automation in MVP?

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

How do you implement ActiveX Automation in MVP?

Clay Pryor
Hi all,

I am new to SmallTalk but have some experience in other
(non-Object-Oriented) development environments (most recently VB6) and
would like to set up an MVP application that will interface with an
ActiveX Automation Server (similar to word.Application).

I have done this (easily) in VB and need to figure out how to do it in
Dolphin Smalltalk.  I have searched the Dolphin documentation and
newsgroups and found the Dolphin Smalltalk ActiveX Automation Support
(which allows me to work with ActiveX servers like I want) as well as
documentation and discussions on using the AXControlBrowser (which
presents ActiveX Controls in a View).

However, I have been unable to put the two together to present an
AxtiveX Server within a View (preferably using the MVP paradigm).

I have gone through the MVP tutorials and have set up a rudimentary
Model and Presenter that I think will work but I do not know what kind
of resource to use in the View for the ActiveX Server.

Specifically, I would like to put something like IDispatch class
example3 into an MVP framework.

Any suggestions would be greatly appreciated.  Examples would be best!
 A package that I could import into my image to see how to do this
would be ideal!

Sincerely,

Clay Pryor
Sandia National Labs
Albuquerque, New Mexico