Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Long File Names
Message
 
To
15/11/2002 13:25:44
General information
Forum:
Visual FoxPro
Category:
Other
Title:
Miscellaneous
Thread ID:
00723279
Message ID:
00724793
Views:
22
I am sorry for the delay in replying (forgot to keep checking UT ).

I'm sorry, I have an include (.h) file with the following definitions that I forgot to include in what I sent you. Sorry about that.
* SHFileOperation constants -----------------
#DEFINE FO_COPY 				2
#DEFINE FO_DELETE 				3
#DEFINE FO_MOVE 				1
#DEFINE FO_RENAME 				4

#DEFINE FOF_ALLOWUNDO 			0x40
#DEFINE FOF_CONFIRMMOUSE 		0x2

* on *.*, do only files
#DEFINE FOF_FILESONLY 			0x80

* when copying multiple files to multiple destinations
#DEFINE FOF_MULTIDESTFILES 		0x1

* don't prompt the user
#DEFINE FOF_NOCONFIRMATION 		0x10

* don't confirm making any needed directories
#DEFINE FOF_NOCONFIRMMKDIR 		0x200

#DEFINE FOF_RENAMEONCOLLISION 	0x8

* don't create progress/report
#DEFINE FOF_SILENT 				0x4

* don't show names of files
#DEFINE FOF_SIMPLEPROGRESS 		0x100

* If FOF_RENAMEONCOLLISION is specified, the hNameMappings member will be filled in if any files were renamed. 
#DEFINE FOF_WANTMAPPINGHANDLE 	0x20
* -------------------------------------------
James

=====================================================================================

>I have placed this Folder_Copy procedure in my app and downloaded the CLSHEAP.prg. I have recompiled which added the CLSHEAP.prg to my project. However when I run the application I get an error at the following line:
>
>lnOptions = FOF_NOCONFIRMATION + FOF_NOCONFIRMMKDIR
>
>The error is variable 'FOF_NOCONFIRMATION' is not found.
>
>What am I missing?
=======================
J Robert Jernigan
Calabasas, CA USA
jrjernigan@hotmail.com

"To err is human ... I should know, I get to show my humanity everyday!" jrj

"I just love the internet - it takes this great big planet and makes it smaller. Now, why can't we all just get along?" jrj
Previous
Reply
Map
View

Click here to load this message in the networking platform