> -----Original Message-----
> From: Laurent ROCHER [mailto:rocherl@...]
> Sent: Monday, March 25, 2002 5:54 PM
> To: perl-win32-gui-users@...
> Subject: Re: [perl-win32-gui-users] Add ActiveX Hosting to Win32::GUI
> I have put a new release with some improvement, some doc=20
> and add a new
> method Release.
> See : http://perso.club-internet.fr/rocherl/Win32GUI.html
> The Release Method must be call before all the window was=20
> destroy. The
> best place is in the _Terminate handler. It's necessary for=20
> my container
> class to release all the interface on the control before the=20
> activex window
> was destroy. I don't know actualy how automaticly detect that.
> > I downloaded Laurent's AxWindow package, and I created a=20
> wrapper for a
> > WebBrowser object that acts like a regular=20
> Win32::GUI::Window (that is,
> > don't need to worry about the special conventions for=20
> calling methods and
> > registering events - you can call methods directly and if=20
> you define a sub
> > for an event, the event will automatically be registered.) =20
> I'll put it up
> > somewhere this week, but if anybody's interested and=20
> impatient, I'll send
> > to you by email.
> It's exactly what i have in mind.
> The goal of AxWindow package is to be a base class for=20
> derived package.
> I made one for DHTMD Edit control (see new samples in source zip).
> I have made an error in my sample with WebBrowser.
> I have put : -control =3D> "SHDocVw.WebBrowser",
> but the correct way is : -control =3D>
> Because, by default if the activex was not found, a=20
> webbrowser is open
> with a html error page.
> In this case SHDocVw.WebBrowser is understand as a=20
> ProgId, but not exist
> and not a webbrowser.
> The second way is the CLSID (ActiveX numeric identifier) and it's
> webbrowser object.
> For list all ActiveX informations and CLSID, it's better to use
> microsoft OleViewer utility.
> I think it's possible to donwload it from microsoft site=20
> if you don't
> have VC++.
I tested the MSFlexGrid and got it to display. I also tried Excel, but =
could not get any methods/properties(access violation errors). I assume =
that is because it is not a "real" active X control. =20
Anyway, even if I can't get the Excel to work(my big wish), thanks for =
this GREAT addition to Win32::GUI. Adding the ability to embed and IE =
control or DHTML editor is awesome indeed!