Click here to get back home

Question on Wx modules

 HomeNewsGroups | Search | About
 comp.lang.perl.modules    Post an article   get this group's latest topics as an RSS feed add this group's latest topics to your My MSN content add this group's latest topics to your My Yahoo content
Subject Author Date
Question on Wx modules Ash 08-08-2007
Posted by Ash on August 8, 2007, 5:36 pm
Please log in for more thread options


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. :).


Posted by Reinhard Pagitsch on August 9, 2007, 4:31 am
Please log in for more thread options




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


--

Posted by Ash on August 9, 2007, 10:41 am
Please log in for more thread options


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.



> 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
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
>
> --



Posted by Reinhard Pagitsch on August 10, 2007, 8:17 am
Please log in for more thread options


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.
>
>
>
>> 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
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
>>
>> --
>
>


--
PM Mails an rpirpag <at> gmx dot at

Posted by Ash on August 10, 2007, 9:24 am
Please log in for more thread options


O ya sure, I got the source from here:
http://sourceforge.net/project/showfiles.php?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-ActiveX-0.05/lib/Wx/ActiveX/Acrobat.pm
, they are same version 0.05 , this is where I saw the example.

I appreciate your effort.

> 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.
>
> >> 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
fromhttp://www.wxwindows.org/whichredirect 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
>
> >> --
>
> --
> PM Mails an rpirpag <at> gmx dot at



Similar ThreadsPosted
Question about building modules on W2K September 24, 2004, 7:09 am
Question about creating modules May 27, 2006, 4:50 pm
Namespace question for new SNMP modules January 18, 2006, 9:28 am
General question on CPAN perl modules March 13, 2005, 6:34 pm
download Modules from CPAN and then load into Perl Question October 15, 2004, 3:07 pm
DBI question November 5, 2004, 4:28 pm
Newbie Question January 3, 2005, 4:11 pm
LWP question on windows98 October 7, 2004, 8:19 pm
Question to WIN32::OLE October 14, 2004, 11:34 am
Simple question September 15, 2005, 4:17 am

Our other projects:

Art Dolls, Fairies and Mermaids - Sunnyfaces.net

Roy's Linux, Programming and Search Engines messages

1-Script XML SitemapXML Sitemap