Registry key difference

Hello,

I’m creating PDF-files from my program.
The customer want to set the path from by program.
So, before printing I change re registry-settings from my program.

The problem is that the registry-key is not always the same.

On my PC the key is: (PDF-Creator version 2.0)
HKEY_CURRENT_USER\SOFTWARE\PDFCreator.net\Settings\ConversionProfiles\0

But on a customer’s PC it is (PDF-Creator version 2.3)
HKEY_CURRENT_USER\SOFTWARE\pdfforge\PDFCreator\Settings\ConversionProfiles\0

How Can I know the KEY that PDF-Creator is using?

Thanks,
Marc

Hi Marc,

only 1 of both keys should exist so you could check for both and use the exisiting one.
If for some unknown reason both keys exist, the one containing “pdfforge” is always the more recent one. It is unlikely that this will get changed again any time soon.

Best regards,

Robin