Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. C / C++ / MFC
  4. How to Open MyStore of Certificates

How to Open MyStore of Certificates

Scheduled Pinned Locked Moved C / C++ / MFC
questioncsharpc++databasevisual-studio
5 Posts 2 Posters 0 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.
  • U Offline
    U Offline
    UserNameless
    wrote on last edited by
    #1

    Hi again. trying to design a gui which would access certain certificate information and display it in the interface under appropriate columns. when I designed the code to display the information in the console I used pIStore->Open(CAPICOM_CURRENT_USER_STORE,bstrName,CAPICOM_STORE_OPEN_READ_ONLY) where pIStore is a IStorePtr and bstrName is defiend as: _bstr_t bstrName = _T("My"); how can i access the certificate store now if i wish to get information from it and display it in rows using ListBox? (I am guiding myself on the sample code for opening and displaying a database, provided by Visual Studio 8.0 MFC examples (project is called DBVList))

    C 1 Reply Last reply
    0
    • U UserNameless

      Hi again. trying to design a gui which would access certain certificate information and display it in the interface under appropriate columns. when I designed the code to display the information in the console I used pIStore->Open(CAPICOM_CURRENT_USER_STORE,bstrName,CAPICOM_STORE_OPEN_READ_ONLY) where pIStore is a IStorePtr and bstrName is defiend as: _bstr_t bstrName = _T("My"); how can i access the certificate store now if i wish to get information from it and display it in rows using ListBox? (I am guiding myself on the sample code for opening and displaying a database, provided by Visual Studio 8.0 MFC examples (project is called DBVList))

      C Offline
      C Offline
      Chandrasekharan P
      wrote on last edited by
      #2

      i am sure that there are lots of examples which displays the values in listbox from a database in Codeproject. Please do a google search. you will go bonkers on the number of search results that you will get. :-)

      U 1 Reply Last reply
      0
      • C Chandrasekharan P

        i am sure that there are lots of examples which displays the values in listbox from a database in Codeproject. Please do a google search. you will go bonkers on the number of search results that you will get. :-)

        U Offline
        U Offline
        UserNameless
        wrote on last edited by
        #3

        well the c++ example given by Visual Studio samples opened a Microsoft Access database, and it opened it by calling its file name and passing it as a string: return _T("filename.mdb"); i tried doing that with the Store, and I think I managed to do something lol. but I will search for the keywords of displaying values in listbox from database. thanks

        C 1 Reply Last reply
        0
        • U UserNameless

          well the c++ example given by Visual Studio samples opened a Microsoft Access database, and it opened it by calling its file name and passing it as a string: return _T("filename.mdb"); i tried doing that with the Store, and I think I managed to do something lol. but I will search for the keywords of displaying values in listbox from database. thanks

          C Offline
          C Offline
          Chandrasekharan P
          wrote on last edited by
          #4

          i think you need to do some settings in the control panel to use your store database. btw are you using MFC?

          U 1 Reply Last reply
          0
          • C Chandrasekharan P

            i think you need to do some settings in the control panel to use your store database. btw are you using MFC?

            U Offline
            U Offline
            UserNameless
            wrote on last edited by
            #5

            yes I'm using mfc, atleast learning about it as I go along with this

            1 Reply Last reply
            0
            Reply
            • Reply as topic
            Log in to reply
            • Oldest to Newest
            • Newest to Oldest
            • Most Votes


            • Login

            • Don't have an account? Register

            • Login or register to search.
            • First post
              Last post
            0
            • Categories
            • Recent
            • Tags
            • Popular
            • World
            • Users
            • Groups