]]
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
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
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
--- 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