var sidebar_align = 'right';
var content_container_margin = parseInt('290px');
var sidebar_width = parseInt('270px');
How do I determine, through code(VB/VC++), what version of MS-Access (97/2000) am i opening?
Msgbox SysCmd(7) ' returns the Access version
8.0 is Access 97, 9.0 is Access 2000, and 10.0 is Access 2002
I have to give credit for this to another member of DB forums who posted this solution a couple of weeks ago. I usually retain useful code in a ....... database.
It seems that syscmd() can be used only through VB, but I need the above thing in Visual C++. Is there any other method to find the version of the current database? (ie., Using ADO's Connection or Recordset Collection properties)
I don't think so. C++ should be able to check the registry files or something.
Log in with your username and password
Forgot your password?
Subscribe to dBforums Brief to receive special offers from dBforums partners and sponsors