in reply to Re: Perl for OLE & OCX
in thread Perl for OLE & OCX

Is it possible to use Win32::GUI::AxWindow to embed the OCX (perhaps through IE) and reference it?

Replies are listed 'Best First'.
Re^3: Perl for OLE & OCX
by Ninthwave (Chaplain) on Jun 16, 2004 at 17:10 UTC

    It would depend on how the OCX was written. My guess is from the above description, this is just a control set meant to be embedded in a VB app.

    "No matter where you go, there you are." BB
      I think you're right. Unless AxWindow can host it somehow, I am dead in the water and will have to change to VB to accomplish my goals.

      If any AxWindow expert can show me a way to do this, I will give it a try. I am looking over the docs now. But I think it highly likely I will be forced to admit defeat and get out the credit card and buy VB.

      My Gawd I hate to do that.... ;)

      Nathan

        You say you can use OLE with Word and Excel, so I'm assuming you have those Apps. Why not try to host the OCX control in VBA in one of those apps? (Been awhile since I worried about this sort of thing and I may have forgotten the obvious "that won't work, silly!") Still, it's worth trying before spending money.

        However, I recommend going to a VB forum and asking the questions this path will lead to.

        --Solo
        --
        You said you wanted to be around when I made a mistake; well, this could be it, sweetheart.
Re^3: Perl for OLE & OCX
by wa4otj (Beadle) on Jun 16, 2004 at 17:11 UTC
    I dunno. Is it???

    I guess I will look into it, but I am becoming convinced that Perl is the wrong tool for this job, I guess. Unless some kind soul can show me a way......

    Nathan