Compile Error for Quantlib Framework

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

Compile Error for Quantlib Framework

Prabuddha Mitra
Dear Sir,
When I try to Invoke the QuantLib Framework by clicking :
QuantLibXL-0.9.0\framework\QuantLibXL.xla ,
The code fails to compile with the following error flag :
Method or Data Member not Found (highlighting Picture)

Set objPicture = LoadPicture(PICTURE_PATH)
    cmd.Picture = objPicture

Kindly provide a workaround.

Thanks and Regards
Prabuddha

-------------------------------------------------------------------------
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference
Don't miss this year's exciting event. There's still time to save $100.
Use priority code J8TL2D2.
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
_______________________________________________
QuantLib-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/quantlib-users
Reply | Threaded
Open this post in threaded view
|

Re: Compile Error for Quantlib Framework

Eric Ehlers-2
Hi Prabuddha,

On Thu, April 17, 2008 08:07, Prabuddha Mitra wrote:

> Dear Sir,
> When I try to Invoke the QuantLib Framework by clicking :
> QuantLibXL-0.9.0\framework\QuantLibXL.xla ,
> The code fails to compile with the following error flag :
> Method or Data Member not Found (highlighting Picture)
>
> Set objPicture = LoadPicture(PICTURE_PATH)
>     cmd.Picture = objPicture
>
> Kindly provide a workaround.

>From the VBA edit window, try going to Tools / References, and
selecting OLE Automation.  Then do Debug / Compile and see if
the problem is fixed.

The solution might be more complicated than that depending on
what version of Excel you're using and what other libraries you
have loaded.

The functionality in question isn't essential and you could
just comment out the offending lines.

Regards,
Eric



-------------------------------------------------------------------------
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference
Don't miss this year's exciting event. There's still time to save $100.
Use priority code J8TL2D2.
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
_______________________________________________
QuantLib-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/quantlib-users