How to check the application is installed or not on Windows ?
-
Hi all,
actually i want get data from the .mdb (database file) file of another application installed on Windows machine.
So firstly i have to check, is that application is installed or not and if yes then I have to read the content from it's
table.
Can i do this is Qt or it requires the windows native API.
Any example of windows registry.Thanks.
-
You can use [[doc:QSettings]] to access registry directly. Read "here":http://doc.qt.digia.com/4.7/qsettings.html#accessing-the-windows-registry-directly
-
Thanks Rahul,
Okay from QSettings class I'll get the application is installed or not.
but how can i get the data from database of that application. -
Once you locate the *.mdb file, you can access the data using [[doc:qsqldatabase]] . Use the ODBC driver.
-
Okay Rahul thanks.
I'll look in to these classes.