Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Shell Folder CopyHere Constant evaluation
Message
De
08/08/2008 13:30:57
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Versions des environnements
Visual FoxPro:
VFP 9 SP1
OS:
Windows XP SP2
Network:
Windows 2000 Server
Database:
Visual FoxPro
Divers
Thread ID:
01337593
Message ID:
01337596
Vues:
22
Many thanks!! I sure am glad it's Friday....Apparently my brain is already enjoying the weekend.......


>Youn should use VFP constans not VB
>
>#define	FOF_CREATEPROGRESSDLG 0x4
>
>>The below works fine except that the FOF_CREATEPROGRESSDLG doesn't appear to be evaluated....The &H4&
>>should stop the dialog box from being displayed....What am I missing??
>>
>>
>>#define FOF_CREATEPROGRESSDLG "&H4&"
>>
>>SELECT 0
>>USE backupfiles
>>
>>SCAN
>> lcSource=ALLTRIM(source)
>> lcDestination=ALLTRIM(destinat)
>> IF backupfiles.Overwrite=.t.
>> objShell=CREATEOBJECT('Shell.Application')
>> objFolder=objShell.NameSpace(lcDestination)
>> objFolder.CopyHere(lcSource, FOF_CREATEPROGRESSDLG)
>> ENDIF
>>ENDSCAN
>>
>>
>>CLOSE DATABASES
>>return
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform