Jump to content


This is a ready-only archive of the InstallSite Forum. You cannot post any new content here. / Dies ist ein Archiv des InstallSite Forums. Hier können keine neuen Beiträge veröffentlicht werden.
Photo

Windows icon is shown instead of pdf.


1 reply to this topic

Ravishankar

Ravishankar
  • Members
  • 36 posts

Posted 22 November 2001 - 11:48

Hi,
 I have a common folder in programs menu to which i create subfolders using different setups(one for each setup to be precise) Under these subfolders I have assigned shortcuts using AddFolderIcon.

Now my problem is that these shortcuts have the correct link to their respective pdf files. but the PDF icon is not shown.

Only windows Icon is shown for the shortcuts. Does anyone know why this is happening.

I have given null for the parameter szIconpath.(which may be the reason why windows icon is shown)

But the defect is quite visible and i need to fix this.

Thanks in anticipation,
Ravi


Perotin

Perotin
  • Full Members
  • 407 posts

Posted 23 November 2001 - 09:43

What happens if you refresh the folder/desktop?
Workaround could be to get HKEY_CLASSES_ROOT\AcroExch.Document\DefaultIcon and use this as szIconpath ...