in reply to Problems with Win32::OLE and different Office versions

$Excel = Win32::OLE->GetActiveObject ('Excel.Application')|| Win32::OL +E->new('Excel.Application', 'Quit') || die "EEEEEEEEEEEEEK: Can't create Excel.Application : Do you have M +icrosoft Excel installed? : $! : $^E";

MJD says "you can't just make shit up and expect the computer to know what you mean, retardo!"
I run a Win32 PPM repository for perl 5.6.x and 5.8.x -- I take requests (README).
** The third rule of perl club is a statement of fact: pod is sexy.

Replies are listed 'Best First'.
Re^2: Problems with Win32::OLE and different Office versions
by sashac88 (Beadle) on Jul 07, 2004 at 08:37 UTC
    Thanks PodMaster-it doesn't help.The application doesn't die here.
    If I append "die" to the next line of code:
    $Book = $Excel->Workbooks->Open($restrictfile)|| die "EEEEEEEEEEEEEK: +Can't create Excel.Application : Do you have M +icrosoft Excel installed? : $! : $^E"; ;
    it dies only on computer with office 2000 and says "No such file or directory" , although if office 2003 installed -everything works fine.