in reply to When not logged in, using Win32::OLE for Excel fails
You cannot launched Excel without a connected desktop and other things.
You have two possible approaches. Either have your service start up its own login session, mount the appropriate registry hive and set up everything as it should be. Or, use Spreadsheet::ParseExcel, which does not need Excel to read a spreadsheet.
Update: Also, maybe use Spreadsheet::Read, which can read more than just Excel files.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: When not logged in, using Win32::OLE for Excel fails
by gdolph (Novice) on Mar 31, 2010 at 09:59 UTC |