With VBA, find the version of the MySQL ODBC driver installed in Windows

后端 未结 3 758
独厮守ぢ
独厮守ぢ 2021-01-12 10:49

Using Visual Basic for Applications, how can I find out which version of the MySQL ODBC driver is installed in Windows on a user\'s machine?

I have

3条回答
  •  日久生厌
    2021-01-12 11:39

    Here are a few possible ideas:

    1 You may be able to check the registry and look for specific keys, like this for example: [HKEY_LOCAL_MACHINE\SOFTWARE\ODBC\ODBCINST.INI\MySQL ODBC 3.51 Driver]

    2.You could check their c:\windows\system32 folder for the myodbc.dll, and then check the version information. Here's a link on how to check the version: http://www.vb-helper.com/howto_file_version_info.html

提交回复
热议问题