I am glad to hear this a known 'behaviour'. Thanks for the solution AND the 
many other calls listed on that page.

Very helpful!

Thanks, Tracy.

Henry



-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Tracy Pearson
Sent: 2007-07-05 10:47 AM
To: [EMAIL PROTECTED]
Subject: RE: COPY FILE insists on using included file


I've not been able to get the VFP copy command to ignore compiled in files:
I'll use the API, or Shell object to handle the copy

API can be found here: http://www.news2news.com/vfp/?group=-1&function=14

Shell Object is:

   LOCAL oShell as Shell.Application.1
   oShell = CREATEOBJECT("Shell.Application")
   oShell.NameSpace(cTo).CopyHere(oShell.NameSpace(cFrom).Items(),16+256)


HTH,

Tracy


-----Original Message-----
From: [EMAIL PROTECTED]
Sent: Tuesday, July 03, 2007 3:24 PM

Hi,

Does anyone know you can force VFP9 to respect a fullpathed COPY FILE
command instead of ignoring the path and insisting on copying from an
included file?

e.g.

Copy File (lcDatSet + lcCurDir + laFiles[I,1]) To (lcPathNet + lcCurDir +
laFiles[I,1])

is ignoring an ico file found in lcDatSet + lcCurDir and instead says file
not found (C:\vfp\appname\Graphics\appname.ico) just because the ico is
included in the exe. Appname.ico is in the lcDatSet + lcCurDir folder and
needs to be copied.

Thanks,

Henry



[excessive quoting removed by server]

_______________________________________________
Post Messages to: [email protected]
Subscription Maintenance: http://leafe.com/mailman/listinfo/profox
OT-free version of this list: http://leafe.com/mailman/listinfo/profoxtech
Searchable Archive: http://leafe.com/archives/search/profox
This message: http://leafe.com/archives/byMID/profox/[EMAIL PROTECTED]
** All postings, unless explicitly stated otherwise, are the opinions of the 
author, and do not constitute legal or medical advice. This statement is added 
to the messages for those lawyers who are too stupid to see the obvious.

Reply via email to