revMoveFolder on Windows

Knapp Martin martyknappster at gmail.com
Fri Jan 25 18:51:46 EST 2019


Well this turned out to be a default folder issue. So just before I move the folder, I set the default folder to something other than where the user stacks are stored and then the move works fine. It only seems to be an issue on Windows. Thanks to Ralph and Brian.

Marty

> On Jan 24, 2019, at 5:32 PM, Ralph DiMola via use-livecode <use-livecode at lists.runrev.com> wrote:
> 
> I've seen that with Excel with either the file or the folder(can't remember). I opened a spreadsheet and closed it but the file/folder was still locked until I closed Excel.
> 
> Ralph DiMola
> IT Director
> Evergreen Information Services
> rdimola at evergreeninfo.net
> 
> 
> -----Original Message-----
> From: use-livecode [mailto:use-livecode-bounces at lists.runrev.com] On Behalf Of Brian Milby via use-livecode
> Sent: Thursday, January 24, 2019 8:22 PM
> To: How to use LiveCode
> Cc: Brian Milby
> Subject: RE: revMoveFolder on Windows
> 
> I think programs can lock a folder by having it set as the default folder (or it could just be a side effect of them storing something there).  I’ve seen it every once in a while in other programs, but can’t remember the last time.  I have not tried to see if I could reproduce in LiveCode yet.  Ralph’s suggestion sounds like a good thing to try.
> 
> Thanks,
> Brian
> On Jan 24, 2019, 7:05 PM -0600, Ralph DiMola via use-livecode <use-livecode at lists.runrev.com>, wrote:
>> Beyond the obvious of having files open in the folder could it be that 
>> if you trying to move LC's current defaultfolder it causes a problem 
>> on Windows?
>> 
>> Ralph DiMola
>> IT Director
>> Evergreen Information Services
>> rdimola at evergreeninfo.net
>> 
>> 
>> -----Original Message-----
>> From: use-livecode [mailto:use-livecode-bounces at lists.runrev.com] On 
>> Behalf Of Knapp Martin via use-livecode
>> Sent: Thursday, January 24, 2019 7:21 PM
>> To: Use Livecode
>> Cc: Knapp Martin
>> Subject: revMoveFolder on Windows
>> 
>> I have an app that allows users to create documents and store then in 
>> a specified folder. Via a preference setting they can move the folder 
>> to a location of their choosing. I use revMoveFolder to do this. You 
>> can also move the folder where you want and then drag and drop it on 
>> the preference stack to establish the path to where it is.
>> 
>> This works fine on Mac but not on Windows - it fails. In fact when the 
>> app is open and I try to manually move the folder, Windows tells me 
>> "The action can't be completed because the folder is open in another program."
>> 
>> I understand that if a file was open by the app that this would come 
>> into play but how is a folder open to another program? Is there a way 
>> around this?
>> 
>> Marty
>> _______________________________________________
>> use-livecode mailing list
>> use-livecode at lists.runrev.com
>> Please visit this url to subscribe, unsubscribe and manage your 
>> subscription
>> preferences:
>> http://lists.runrev.com/mailman/listinfo/use-livecode
>> 
>> 
>> _______________________________________________
>> use-livecode mailing list
>> use-livecode at lists.runrev.com
>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
>> http://lists.runrev.com/mailman/listinfo/use-livecode
> _______________________________________________
> use-livecode mailing list
> use-livecode at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode
> 
> 
> _______________________________________________
> use-livecode mailing list
> use-livecode at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode





More information about the use-livecode mailing list