how to read Registry and get "Standard" if exist

General Help regarding HMG, Compilation, Linking, Samples

Moderator: Rathinagiri

Post Reply
User avatar
AUGE_OHR
Posts: 2064
Joined: Sun Aug 25, 2019 3:12 pm
DBs Used: DBF, PostgreSQL, MySQL, SQLite
Location: Hamburg, Germany

how to read Registry and get "Standard" if exist

Post by AUGE_OHR »

hi,

i want to get Office Outlook PST File from Registry with this Code

Code: Select all

LOCAL cStart := "HKEY_CURRENT_USER\Software\Microsoft\Office\"

   FOR i = 10 TO 99
      cKey := cStart + STRZERO( i, 2 ) + ".0\Outlook\Catalog
      IF Found_in_Registry(cKey)
Result if found
REG_BIN : C:\Users\YourName\AppData\Local\Microsoft\Outlook\Outlook.pst
! Note : when User have moved *.PST to other Location than there are more enrty like
REG_BIN : D:\MAIL\C\Outlook.pst
where last is valid so i need all Entry to check it, how :idea:
have fun
Jimmy
User avatar
AUGE_OHR
Posts: 2064
Joined: Sun Aug 25, 2019 3:12 pm
DBs Used: DBF, PostgreSQL, MySQL, SQLite
Location: Hamburg, Germany

Re: how to read Registry and get "Standard" if exist

Post by AUGE_OHR »

got Solution ... :)
look here viewtopic.php?f=5&t=6974
have fun
Jimmy
Post Reply