logo       
Google Custom Search
    AddThis Social Bookmark Button

Re: Wx::ActiveX and my own ActiveX: msg#00089

Subject: Re: Wx::ActiveX and my own ActiveX
On Thu, 22 Jan 2004 12:28:20 -0000, James Lavery wrote
> Hi everyone,
>  
> I'm using Wx::ActiveX to embed my own ActiveX control in my Wx app.
>  
> However, I'm getting a problem with setting properties.
[snip]
>      my $p = "J:\\P4_ws\\klinozoisite\\projects\\config\\";
>      $rp->PropSet("serverConfigPath",$p);

You could try setting the properties with GetOLE(). Something like this might
show up some errors from the control:

      use Win32::OLE;
      Win32::OLE->Option(Warn => 2);  # always Carp::carp
      $rp->GetOLE()->{serverConfigPath} = $p;

But the fact that PropVal('serverConfigPath') returns $p ok is curious.
GetOLE() returns a Win32::Object for the control which you might find more
flexible/powerful than the built in methods for setting properties and calling
methods.

What is the output of ActivexInfos() for your activex control?

--simonflk


-------------------------------------------------------
The SF.Net email is sponsored by EclipseCon 2004
Premiere Conference on Open Tools Development and Integration
See the breadth of Eclipse activity. February 3-5 in Anaheim, CA.
http://www.eclipsecon.org/osdn



Try Searching:
servers, voip, java, networking, microsoft ...
<Prev in Thread] Current Thread [Next in Thread>