How to Open MyStore of Certificates
-
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))
-
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))
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. :-)
-
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. :-)
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
-
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
i think you need to do some settings in the control panel to use your store database. btw are you using MFC?
-
i think you need to do some settings in the control panel to use your store database. btw are you using MFC?
yes I'm using mfc, atleast learning about it as I go along with this