I'm porting a large VBA project to the Mac, and most things seem to be
working just fine.

In my Windows project, i use a .INI file to store settings. My
installer creates that file in the Windows folder, calling a system
function to retrieve the location of the Windows folder.

On the Mac, I want to store the same file as a settings file in the
System Preferences folder. How do I call into the Mac OS to find the
path to use for the preferences folder?

Thanks in advance
g

Re: Mac Preferences folder location - finding from VBA by Jonathan

Jonathan
Tue Jan 17 06:46:22 CST 2006


"Gary Hillerson" <garyh@hillysun.net> wrote in message
news:ic0ps15ohcgs51drcmaul4jaapq7ib32br@4ax.com...
> I'm porting a large VBA project to the Mac, and most things seem to be
> working just fine.
>
> In my Windows project, i use a .INI file to store settings. My
> installer creates that file in the Windows folder, calling a system
> function to retrieve the location of the Windows folder.
>
> On the Mac, I want to store the same file as a settings file in the
> System Preferences folder. How do I call into the Mac OS to find the
> path to use for the preferences folder?
>
> Thanks in advance
> g

Hi Gary,

The MacWord experts hang out at microsoft.public.mac.office.word. I suspect
that you will have more chance of an authoritative answer if you re-post
there.


--
Regards
Jonathan West - Word MVP
www.intelligentdocuments.co.uk
Please reply to the newsgroup
Keep your VBA code safe, sign the ClassicVB petition www.classicvb.org


Thanks by Gary

Gary
Tue Jan 17 11:54:51 CST 2006

Thanks, Jonathan. I found some pointers, and maybe the right
consultant to help me with porting.

gary

On Tue, 17 Jan 2006 12:46:22 -0000, "Jonathan West" <jwest@mvps.org>
wrote:

>
>"Gary Hillerson" <garyh@hillysun.net> wrote in message
>news:ic0ps15ohcgs51drcmaul4jaapq7ib32br@4ax.com...
>> I'm porting a large VBA project to the Mac, and most things seem to be
>> working just fine.
>>
>> In my Windows project, i use a .INI file to store settings. My
>> installer creates that file in the Windows folder, calling a system
>> function to retrieve the location of the Windows folder.
>>
>> On the Mac, I want to store the same file as a settings file in the
>> System Preferences folder. How do I call into the Mac OS to find the
>> path to use for the preferences folder?
>>
>> Thanks in advance
>> g
>
>Hi Gary,
>
>The MacWord experts hang out at microsoft.public.mac.office.word. I suspect
>that you will have more chance of an authoritative answer if you re-post
>there.