login about faq

Hi,

I'm trying to load a certificate from users certstore.

Dim certStore As New ChilkatCertStore
certStore.OpenCurrentUserStore (True)

Result of NumCertificates is 5 -> so 5 certs are found - ok!

But by doing the next step, I always get back an error:

Dim cert As New ChilkatCert
cert = certStore.GetCertificate(1)

(1) is just an example of course...

Error: Error (438) Object doesn't support this property or method

I'm using Chilkat v9.5

Maybe it is wrong how todo the cert load from the certificate store to the cert chilkat component...

Whats wrong here?

Thanks a lot and kr, Martin

asked Nov 24 '15 at 10:53

martl's gravatar image

martl
1


Just for info - I found a solution - my code was wrong.

instead of cert = certStore.GetCertificate(1) it should be set cert = certStore.GetCertificate(1)

Thats it.

KR, Martl

link

answered Nov 26 '15 at 06:09

martl's gravatar image

martl
1

Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or __italic__
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Tags:

×48

Asked: Nov 24 '15 at 10:53

Seen: 485 times

Last updated: Nov 26 '15 at 06:09

powered by OSQA