Code Comments

Programming Forum and web based access to our favorite programming groups.
For Programmers: Free Programming Magazines | New: Database administration forum
Registration is free! Edit your profileCalendarFind other membersFrequently Asked QuestionsSearch -> 
Post New Thread











Thread
Author

Re: what module is the windows message box in?
corn29@ no_spam excite.com wrote:
> Hello,
>
> I have a barebones release of Perl 5.8.  I need to use Win32::MsgBox
> in the body of the script.  From CPAN I downloaded libwin32-0.191.zip
> and installed it.  The problem is installing that module loads all the
> Win libraries.  I only need to use the MsgBox and nothing else.
>
> By themselves, I tried getting just Win32::OLE and that doesn't appear
> to have MsgBox in it and I couldn't get Win23::GUI to build at all!
>
> Is there a more abbreviated module I can get or is the entire
> collection of Windows libraries as "low" as I can go?
>

You just need to install the Win32 module which is one of the modules
that makes up libwin ....  umm .... that may not be quite correct -
Win32 *used* to be part of libwin, but it is now (with perl 5.8.5) part
of perl core. If you have perl5.8.5 you'll already have it - otherwiae
you'll need to install it, and the simplest way of doing that is to
install libwin.

use warnings;
use Win32;

Win32::MsgBox("Hello World");

__END__

See 'perldoc Win32' for more information regarding that function.

Cheers,
Rob

--
To reply by email u have to take out the u in kalinaubears.


Report this thread to moderator Post Follow-up to this message
Old Post
Sisyphus
09-28-04 08:57 AM


Sponsored Links




Last Thread Next Thread Next
Search this forum -> 
Post New Thread

PERL Modules archive

Show a Printable Version Send to friend Email This Page to Someone! subscribe to this thread Receive updates to this thread
Computer Consultants
Programming Jobs
Visual Basic Controls
SQL Server Programming
Webservices
Java Security
Visual Studio
C# Programming
Visual J++
Software engineering
Open source Software
Perl Programming
PHP Programming
ASP Programming
ASP .NET Programming
Visual Basic Programming
Windows Scripting Host
Java Programming
Java Help
Java Beans
VBScript
Cobol
MAC Applications
Unix Programming
Forum Jump:
All times are GMT. The time now is 05:34 PM.

 
Free MCSE Braindumps | Real Estate Topics

Programming forum archive

Copyrights CodeComments.com 2004 - 2006

Powered by vBulletin Copyright 2000-2006 Jelsoft Enterprises Limited.