get specialFolderpath(26)

Ken Ray kray at sonsothunder.com
Tue Oct 15 10:01:00 CDT 2002


The support for different versions of Windows OS'es (along with different
versions of IEs) are described along with a complete list of these
specialFolderPath codes at my site:

  http://www.sonsothunder.com/devres/revolution/revolution.htm?_win003

And this shows, for example, that Windows NT does not support code 26,
although it should after IE 4 or higher has been installed. Take a look and
let me know if you have any other questions...

Ken Ray
Sons of Thunder Software
Email: kray at sonsothunder.com
Web Site: http://www.sonsothunder.com/

----- Original Message -----
From: "sims" <sims at ezpzapps.com>
To: <use-revolution at lists.runrev.com>
Sent: Tuesday, October 15, 2002 2:38 AM
Subject: get specialFolderpath(26)


> Can anyone tell me if the function:
>
>   get specialFolderpath(26) -- user's Application Data folder
>
> works on all versions of Windows?  I can use it here with my Mac
> running VirtualPC Windows 98 but have no PC to test with otherwise...
>
> Does it work with 95 - 98 - etc.? Is there a problem using it with NT as
> suggested by Dave Cragg below?
>
> atb
>
> sims
>
> >There is an "all users" Applications Data folder for data that is
> >application-specific, and also a folder for each user that can be
> >used for user-specific data.
> >
> >You can get the path to these folders using the  specialfolderpath
> >function. Tuv Snyder revealed on the list some time back how this
> >function can be extended beyond the default "special folders" by
> >passing an integer that corresponds to the Windows API
> >SHGetFolderPath  value/constant. The values for the "Applications
> >Data" folders are:
> >
> >get specialFolderPath(35) -- common Application Data folder
> >
> >get specialFolderpath(26) -- user's Application Data folder
> >
> >I think the idea is that you should make a folder for your own
> >application in these places.
> >
> >Warning:  This works fine for me on XP. But I just tested the
> >function with these values on NT 4.0 and Metacard crashed. This may
> >be my machine as my NT installation has been acting up recently.
> >Perhaps someone can confirm whether this is working reliably on other
> >Windows versions.
> >
> >Cheers
> >Dave Cragg
>
> _______________________________________________
> use-revolution mailing list
> use-revolution at lists.runrev.com
> http://lists.runrev.com/mailman/listinfo/use-revolution
>




More information about the use-livecode mailing list