in reply to Re: How can make a consult from M$ Excel to a perl program?
in thread How can make a consult from M$ Excel to a perl program?
May I introduce you to the Win32 libraries which contain the OLE object? The code to access Excel looks something like so:
use Win32::OLE; $class = "Excel.Application"; $File = qq(c:\\temp\\Mytext.xls); $Excel = Win32::OLE->GetActiveObject($Class); $Excel->(Visible);
Now, the underlying mechanics of Win32 actually involve DLLs that are performing the low level calls to Windows resources, but why reinvent the wheel? Roth even offers you source code at his site. His book shows you how to extend Perl for Win32 as well.
For more information, look up Win32 at CPAN or buy Windows NT Win32 Perl Programming by Dave Roth.
Celebrate Intellectual Diversity
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: Re: How can make a consult from M$ Excel to a perl program?
by eLore (Hermit) on Mar 20, 2001 at 22:01 UTC | |
|
Re: Re: Re: How can make a consult from M$ Excel to a perl program?
by c-era (Curate) on Mar 21, 2001 at 00:24 UTC |