revDeleteFolder and revCopyFolder with Vista

Riccardo Linzitto tekne at gruppoparentesi.it
Tue Jun 26 14:25:09 EDT 2007


Thanks Ken,
this is a very good suggestion.
revDeleteFolder is now ok. revCopyfolder needs same investigations
-- 
Riccardo Linzitto
TEKNE informatica & comunicazione
www.gruppoparentesi.it/tekne


> Da: Ken Ray <kray at sonsothunder.com>
> Organizzazione: Sons of Thunder Software
> Risposta: How to use Revolution <use-revolution at lists.runrev.com>
> Data: Tue, 26 Jun 2007 12:28:22 -0500
> A: How to use Revolution <use-revolution at lists.runrev.com>
> Oggetto: Re: revDeleteFolder and revCopyFolder with Vista
> 
> On Tue, 26 Jun 2007 18:56:10 +0200, Riccardo Linzitto wrote:
> 
>> Hi
>> I am testing my applications with Vista UE.
>> I obtain execution errors with revDeleteFolder and revCopyFolder commands.
>> I leave the user account control turned off and I try these commands from
>> the message box, but the result is 1 and 4:
>> If I try with delete folder command the result is ok.
>> Do you have any suggestions?
> 
> Yes, apparently these commands have a faulty version check; for example
> in revDeleteFolder, the code runs "deltree" at the command line instead
> of "rmdir". You can edit the script of the 'revCommon' backscript (open
> the message box, click on the backscripts icon (2nd from right) on the
> toolbar, double-click on 'button "revCommon"'), and go to the
> revDeleteFolder and revCopyFolder handlers, and then change this line:
> 
>    if char 1 of word 2 of the systemVersion is "5" then
> 
> to:
> 
>    if char 1 of word 2 of the systemVersion >= 5 then
> 
> ... and it should work.
> 
> 
> Ken Ray
> Sons of Thunder Software, Inc.
> Email: kray at sonsothunder.com
> Web Site: http://www.sonsothunder.com/
> _______________________________________________
> use-revolution mailing list
> use-revolution at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription
> preferences:
> http://lists.runrev.com/mailman/listinfo/use-revolution




More information about the use-livecode mailing list