Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. How to check the application is installed or not on Windows ?
Forum Updated to NodeBB v4.3 + New Features

How to check the application is installed or not on Windows ?

Scheduled Pinned Locked Moved General and Desktop
5 Posts 2 Posters 2.7k Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • J Offline
    J Offline
    jack smith
    wrote on last edited by
    #1

    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.

    1 Reply Last reply
    0
    • R Offline
      R Offline
      Rahul Das
      wrote on last edited by
      #2

      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


      Declaration of (Platform) independence.

      1 Reply Last reply
      0
      • J Offline
        J Offline
        jack smith
        wrote on last edited by
        #3

        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.

        1 Reply Last reply
        0
        • R Offline
          R Offline
          Rahul Das
          wrote on last edited by
          #4

          Once you locate the *.mdb file, you can access the data using [[doc:qsqldatabase]] . Use the ODBC driver.


          Declaration of (Platform) independence.

          1 Reply Last reply
          0
          • J Offline
            J Offline
            jack smith
            wrote on last edited by
            #5

            Okay Rahul thanks.
            I'll look in to these classes.

            1 Reply Last reply
            0

            • Login

            • Login or register to search.
            • First post
              Last post
            0
            • Categories
            • Recent
            • Tags
            • Popular
            • Users
            • Groups
            • Search
            • Get Qt Extensions
            • Unsolved