Talk About Network



Register and Login
Nick
Password
Register create new account Sign up is FREE and you can post replies, new topics, bookmark posts and more!
Recover lost password


Programming > Clipper > Re: XP and File...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 6 of 6 Topic 3812 of 3903
Post > Topic >>

Re: XP and File Functions (fClose, fOpen etc.)

by dlzc <dlzc1@[EMAIL PROTECTED] > Jan 4, 2008 at 08:19 AM

Hello Reece:

On Jan 4, 7:58=A0am, Reece <x...@[EMAIL PROTECTED]
> wrote:
> David - Thanks for the response.
>
> I have now tested further with the exe in one folder
> and the data in another (as before), What is
> happening is that most file fuctions look at the
> "remote" (non-exe) folder,

Yes, as described in the literature for "SET DEFAULT"... it does not
affect low level file functions.  They look at the "DOS" directory,
and not Clipper's internal version of it.
http://www.itlnet.net/programming/program/Reference/c53g01c/ngecec7.html

> but fclose looks at the exe folder

This could probably be changed in WinDoze, if you or your customer
executes from a shortcut, by setting the "Working directory".  Could
also use "dirchange()" in code.
http://www.itlnet.net/programming/program/Reference/c53g01c/ng3861e.html
=2E.. say whenever you call "SET DEFAULT", maybe wrap both into a single
function call.

> and writes the report to it. I guess I will have to
> specify the path as well as the file name. This appears
> to be an inconsistency in Clipper.

Some people call it a "feature".  ;>)

> So, problem solved. Thanks for your help.

Sorry I was not more help.  Sometimes it is best to specify the
directory when a file is accessed, but it sure seems "cludgey"...

David A. Smith




 6 Posts in Topic:
XP and File Functions (fClose, fOpen etc.)
Reece <xxx@[EMAIL PROT  2008-01-02 08:50:33 
Re: XP and File Functions (fClose, fOpen etc.)
dlzc <dlzc1@[EMAIL PRO  2008-01-02 11:02:35 
Re: XP and File Functions (fClose, fOpen etc.)
Reece <xxx@[EMAIL PROT  2008-01-03 05:12:23 
Re: XP and File Functions (fClose, fOpen etc.)
"N:dlzc D:aol T:com   2008-01-03 06:26:10 
Re: XP and File Functions (fClose, fOpen etc.)
Reece <xxx@[EMAIL PROT  2008-01-04 06:58:09 
Re: XP and File Functions (fClose, fOpen etc.)
dlzc <dlzc1@[EMAIL PRO  2008-01-04 08:19:08 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
tan12V112 Sat May 17 1:24:59 CDT 2008.