RE: Phantom process?

2002-02-08 Thread Moulder, Glen
]] Sent: Thursday, February 07, 2002 7:06 PM To: 'Moulder, Glen' Subject: RE: Phantom process? have you tried $obj = Win32::OLE-new('Access.Application',{$_[0]-Quit();}) or $obj = Win32::OLE-new('Access.Application',{$_[0]-Exit();}) regards Steve -Original Message

Re: Phantom process?

2002-02-08 Thread Jan Dubois
On Fri, 08 Feb 2002 08:47:57 -0500, Moulder, Glen [EMAIL PROTECTED] wrote: Hi Steve, I hadn't tried these, but when I did $obj = Win32::OLE-new('Access.Application',{$_[0]-Quit();}) I got syntax errors, like this: syntax error at somescript.pl line nnn, near ;} That is definitely

RE: Phantom process?

2002-02-08 Thread Moulder, Glen
That is definitely incorrect syntax. You are missing the sub keyword: $obj = Win32::OLE-new('Access.Application', sub {$_[0]-Quit();}); But for this simple case it is much easier to write: $obj = Win32::OLE-new('Access.Application', 'Quit'); As to the Access object itself

Re: Phantom process?

2002-02-08 Thread Jeffrey
--- Jan Dubois [EMAIL PROTECTED] wrote: As to the Access object itself not going away, I have no idea. Does it go away when you close the application? You may have to go spelunking in the object model description if there is anything else needed to terminate Access. I haven't used