Mac Preferences folder location - finding from VBA

G

Gary Hillerson

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
 
J

Jonathan West

Gary Hillerson said:
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
 
G

Gary Hillerson

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

gary
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top