No "bugs" that I know of, aside from pilot error in misunderstanding the UAC and limited user issues. As long as you're careful about where you chose to place user-created files you shouldn't have any problems, but perhaps you could explain what your projector does and if it interacts with the local file system at all.
I create a folder and copy files into this folder either in Program Files for PC or Applications for Mac. Works well for Windows 2000 to XP and Mac OSX.
A client using Vista is having difficulty but is unclear as to exactly what is happening. I'm thinking it may simply be permissions.
This is code I use to detect the platform and create the folder:
if the platform contains "Mac" then
filePath = baSysFolder("apps") & gFolder
if the platform contains "Windows" then
filePath = baSysFolder("program files") & gFolder
This is the code I use to save files into the folder:
CDdrive = (the moviePath) & "FileDir"
set copyFrom = CDdrive
set copyTo = field ("SaveTo")
set checkStatus = baXCopy(copyFrom, copyTo, "*.*", "Always", false)
if checkStatus = 0 then
delete line 1 of member "ExField"
1 person found this helpful
Scotty T.H. wrote:
I'm thinking it may simply be permissions.
I think you're probably right. You can test with Buddy API whether you are running on Vista (and thence if your user is limited and virtualised) and decide what to do based on this. You can also embed a manifest file into your projector that is supposed to elevate its privileges.
How do I test for Vista and how do I embed a manifest file to elevate the projectors privileges? This would be a great help!
Thanks a bunch. You've been very helpful.
Just make sure that if your app has any preference files, etc. that you write to for your program that you copy/save those files to the AppData folder for Vista. It will be the one associated to the current user, ie. C:\Users\<User Name>\AppData\ either in the 'Local' or 'Roaming' folder... the newest version of buddyAPI can probably get that folder for you.