http://qs321.pair.com?node_id=142409


in reply to Opening files in MS Access

Hm, I am not sure want you want here:

  1. Open a file with MS Access after you have found it somehow in a perl process - easy, just launch MS Access with the filename as argument by way of the system() function - or even just launch the file name by way of system("start $filename"), which should work if the extension for MS Access is configured normally on the machine in question.
  2. Open an MS Access file by OLE - last time I did this (long time ago), I used my ($obj) = Win32::OLE->GetObject($file); to get an OLE object in Perl.

Hope to have helped ...

Christian Lemburg
Brainbench MVP for Perl
http://www.brainbench.com