Subject Re: Accessing a database that is stored in dropbox
From Buză Vasile <hsctm@rdslink.ro>
Date Thu, 19 Aug 2021 13:59:19 +0300
Newsgroups dbase.getting-started
Attachment(s) SysFolderPath.zip

>"Akshat Kapoor"  wrote in message news:0eRrkAOlXHA.1880@ip-AC1E04A7...

>Good Afternoon Matt,
>
> The database I am using needs only to be read-only by customers as I can
> access it locally to update data and reload to dropbox.
>
>
>This should not be causing issues.
>
>The only issue there is that each and every system has a different path to
>access dropbox files.
>The pattern is
>
>C:\Users\user name\Dropbox
>
>How will you get the exact path for each system.


To get the paths of the system directories in a system, call the function:
SHGetFolderPath  ( shfolder.dll )

Example in attachment.

?SysFolderPath(40)    // 40 == CSIDL_PROFILE

Vasile BUZA