read laccdb file

Started by MDLines, December 23, 2013, 04:38:53 AM

Previous topic - Next topic

MDLines

I am trying to read the MS access 2010 database lockfile [dbname].laccdb in order to see who is still logged on.  I tried binary functions but I cant open the file.  I notice that you can open it in the windows 7 native binary browser and notepad from the right click 'open other'  menu.  Is there a way I can read it with winbatch ?

Martin Lines

Deana

The IntControl 39 function allows the definition of required access rights. Try using it to open the file with the most flexible file sharing mode:

Code (winbatch) Select
IntControl (39, 3, 0, 0, 0) ;allow other open operations for read and write access
data = FileGet( 'c:\temp\test.laccdb' )

Deana F.
Technical Support
Wilson WindowWare Inc.

MDLines

Thank you Deana , it worked a treat.

Martin Lines