Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Shell Folder CopyHere Constant evaluation
Message
From
08/08/2008 13:30:57
 
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Environment versions
Visual FoxPro:
VFP 9 SP1
OS:
Windows XP SP2
Network:
Windows 2000 Server
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01337593
Message ID:
01337596
Views:
23
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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform