Home > Archive > PERL Modules > August 2007 > Question on Wx modules
You are viewing an archived Text-only version of the thread.
To view this thread in it's original format and/or if you want to reply to
this thread please [click here]
| Author |
Question on Wx modules
|
|
|
| Hi!
I'm using "Wx::ActiveX::Acrobat" module. It needs "WxPerl" and
"WxWindows". I found "WxPerl" in SF.net and I could also install it
using command line ppm.
But when I list the installed modules using ppm again, I see only "Wx"
module installed! So.. is this right?
I couldn't find "WxWindows" module and was redirected to "WxWidgets",
is "WxWindows" module same as "WxWidgets"?
Thank you very much for help. :).
| |
| Reinhard Pagitsch 2007-08-09, 4:00 am |
|
Ash wrote:
> Hi!
>
> I'm using "Wx::ActiveX::Acrobat" module. It needs "WxPerl" and
> "WxWindows". I found "WxPerl" in SF.net and I could also install it
> using command line ppm.
>
> But when I list the installed modules using ppm again, I see only "Wx"
> module installed! So.. is this right?
>
> I couldn't find "WxWindows" module and was redirected to "WxWidgets",
> is "WxWindows" module same as "WxWidgets"?
>
> Thank you very much for help. :).
>
Yes wxWidgets is the same as wxWindows. You can download the source from
http://www.wxwindows.org/ which redirect to http://www.wxwidgets.org/.
But if you used a ppm to install Wx::ActiveX::Acrobat than you do not
need it. It is only needed if you have to compile Wx::ActiveX::Acrobat
on your own.
regards,
Reinhard
--
| |
|
| Thank you for clarification. Unfortunately I got further problems.
I installed the modules but apparently my installed
Wx::ActiveX::Acrobat module doesn't have "LoadFile()" method. When I
run my script, I get following error:
method <LoadFile> not found at C:/Perl/site/lib/Wx/ActiveX.pm line 26.
I checked cpan and it distinctly states following code:
use Wx::ActiveX::Acrobat ;
my $acrobat = Wx::ActiveX::Acrobat->new( $parent , -1 ,
wxDefaultPosition , wxDefaultSize );
$acrobat->LoadFile("./test.pdf");
The version in cpan is Wx-ActiveX 0.05, the same version I got from
SF.net. So I'm baffled. Thanks in advance for any help.
On Aug 9, 4:31 am, Reinhard Pagitsch <r...@gmx.net> wrote:
> Ash wrote:
>
>
>
>
>
> Yes wxWidgets is the same as wxWindows. You can download the source fromhttp://www.wxwindows.org/which redirect tohttp://www.wxwidgets.org/.
>
> But if you used a ppm to install Wx::ActiveX::Acrobat than you do not
> need it. It is only needed if you have to compile Wx::ActiveX::Acrobat
> on your own.
>
> regards,
> Reinhard
>
> --
| |
| Reinhard Pagitsch 2007-08-10, 7:58 am |
| Can you give me a link where I can download the module?
thank you,
Reinhard
Ash wrote:
> Thank you for clarification. Unfortunately I got further problems.
>
> I installed the modules but apparently my installed
> Wx::ActiveX::Acrobat module doesn't have "LoadFile()" method. When I
> run my script, I get following error:
>
> method <LoadFile> not found at C:/Perl/site/lib/Wx/ActiveX.pm line 26.
>
> I checked cpan and it distinctly states following code:
>
> use Wx::ActiveX::Acrobat ;
> my $acrobat = Wx::ActiveX::Acrobat->new( $parent , -1 ,
> wxDefaultPosition , wxDefaultSize );
> $acrobat->LoadFile("./test.pdf");
>
> The version in cpan is Wx-ActiveX 0.05, the same version I got from
> SF.net. So I'm baffled. Thanks in advance for any help.
>
>
>
> On Aug 9, 4:31 am, Reinhard Pagitsch <r...@gmx.net> wrote:
>
>
--
PM Mails an rpirpag <at> gmx dot at
| |
|
| O ya sure, I got the source from here: http://sourceforge.net/project/show...?group_id=15655
, the module is Wx-ActiveX-0.059901-wxperl0.26-wxmsw2.6.2-5.8.6.zip
You can also get it from cpan: http://search.cpan.org/~gmpassos/Wx...iveX/Acrobat.pm
, they are same version 0.05 , this is where I saw the example.
I appreciate your effort.
On Aug 10, 8:17 am, Reinhard Pagitsch <r...@gmx.net> wrote:
> Can you give me a link where I can download the module?
>
> thank you,
> Reinhard
>
>
>
> Ash wrote:
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
> --
> PM Mails an rpirpag <at> gmx dot at
| |
| Reinhard Pagitsch 2007-08-10, 6:59 pm |
|
It seems there are no methods defined for the module Wx::ActiveX::Acrobat.
If I call the sample than I get commenting out the pdf->LoadFile(..):
<EVENTS>
</EVENTS>
<PROPS>
</PROPS>
<METHODS>
</METHODS>
On the other samples a list of methods will be displayed. I think the
best is to contact the author of the module.
I am sorry I can't help.
regards,
Reinhard
Ash wrote:
> O ya sure, I got the source from here: http://sourceforge.net/project/show...?group_id=15655
> , the module is Wx-ActiveX-0.059901-wxperl0.26-wxmsw2.6.2-5.8.6.zip
>
> You can also get it from cpan: http://search.cpan.org/~gmpassos/Wx...iveX/Acrobat.pm
> , they are same version 0.05 , this is where I saw the example.
>
> I appreciate your effort.
>
> On Aug 10, 8:17 am, Reinhard Pagitsch <r...@gmx.net> wrote:
>
>
--
PM Mails an rpirpag <at> gmx dot at
|
|
|
|
|