dbTalk Databases Forums  

File REGFN does not exist

comp.databases.xbase.fox comp.databases.xbase.fox


Discuss File REGFN does not exist in the comp.databases.xbase.fox forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
Jenny
 
Posts: n/a

Default File REGFN does not exist - 12-03-2003 , 05:52 PM






I know REGFN() is from foxtools library. However, I got "File REGFN
does not exist" error message, sometimes when I log in to the
Foxpro2.6 application. In order to get rid of this message, I have to
delete my user.vue file(it's created when log in). Can anyone tell me
there is any relation between .vue and REGFN() and how to solve this
problem?

Thanks alot.

Reply With Quote
  #2  
Old   
Rick Bean
 
Posts: n/a

Default Re: File REGFN does not exist - 12-04-2003 , 08:39 AM






Jenny,
For FoxTools functions to be available, you must first do something like:
lctoollib = "FOXTOOLS.FLL"
IF !(lctoollib $ SET("LIBRARY"))
lcfptfll = SYS(2004)+lctoollib && assume it's where it should have been installed !
lcfptfll = LOCFILE(lcfptfll, "FLL", "Where is " + lctoollib + "?")
IF EMPTY(lcfptfll)
Messagebox("May have problems running without "+lctoollib, ;
d_nOKButton+d_nExclamation, "Please Note")
ELSE
SET LIBRARY TO (lcfptfll) ADDITIVE
ENDIF
RELEASE lcfptfll
ENDIF
RELEASE lctoollib

However if the code does an explicit:
SET LIBRARY TO && releases all libraries
* or
RELEASE LIBRARY "foxtolls.fll"

Then any FoxTools founction won't be available (again)!

Rick

"Jenny" <qhuy_nguyen (AT) hotmail (DOT) com> wrote

Quote:
I know REGFN() is from foxtools library. However, I got "File REGFN
does not exist" error message, sometimes when I log in to the
Foxpro2.6 application. In order to get rid of this message, I have to
delete my user.vue file(it's created when log in). Can anyone tell me
there is any relation between .vue and REGFN() and how to solve this
problem?

Thanks alot.

Reply With Quote
  #3  
Old   
Jenny
 
Posts: n/a

Default Re: File REGFN does not exist - 12-05-2003 , 12:10 PM



Rich Bean,
I really appreciate your reply.
Let me add some more info. from my previous post.
I do have:
SET LIBRARY TO (Set('directory')+"\libs\foxtools") ADDITIVE
and
RELEASE LIBRARY (Set('directory')+"\libs\foxtools")

I do not get the error message "File REGFN() does not exist" every
single time login, but one a while. I guess some how the library
couldn't be opened at that movement, and I don't why. Please help me
on this. Does it cause by low memory or networking setting, so
on......
This application has no problem before, just happen recently but on
and off.
Any inputs are welcome!
Jeny

"Rick Bean" <rgbean (AT) NOSPAMmelange-inc (DOT) com> wrote

Quote:
Jenny,
For FoxTools functions to be available, you must first do something
like:
lctoollib = "FOXTOOLS.FLL"
IF !(lctoollib $ SET("LIBRARY"))
lcfptfll = SYS(2004)+lctoollib && assume it's where it should have
been installed !
lcfptfll = LOCFILE(lcfptfll, "FLL", "Where is " + lctoollib + "?")
IF EMPTY(lcfptfll)
Messagebox("May have problems running without "+lctoollib, ;
d nOKButton+d nExclamation, "Please Note")
ELSE
SET LIBRARY TO (lcfptfll) ADDITIVE
ENDIF
RELEASE lcfptfll
ENDIF
RELEASE lctoollib

However if the code does an explicit:
SET LIBRARY TO && releases all libraries
* or
RELEASE LIBRARY "foxtolls.fll"

Then any FoxTools founction won't be available (again)!

Rick

"Jenny" <qhuy nguyen (AT) hotmail (DOT) com> wrote in message
news:8d8bc221.0312031552.7a092ea4 (AT) posting (DOT) google.com...
I know REGFN() is from foxtools library. However, I got "File REGFN
does not exist" error message, sometimes when I log in to the
Foxpro2.6 application. In order to get rid of this message, I have to
delete my user.vue file(it's created when log in). Can anyone tell me
there is any relation between .vue and REGFN() and how to solve this
problem?

Thanks alot.

Reply With Quote
  #4  
Old   
Rick Bean
 
Posts: n/a

Default Re: File REGFN does not exist - 12-05-2003 , 12:39 PM



Jenny,
I'd first check to see if the file attributes on (Set('directory')+"\libs\foxtools") are normal (not hidden or system) and make sure that the user has the proper security to access this directory. Also, it's usually a good idea to include the .FLL in the file name (it can't hurt!). Last, make sure the version of FoxTools.FLL is appropriate for the version of FoxPro you are using - some are incompatible with certain versions of FoxPro.

Rick

"Jenny" <qhuy_nguyen (AT) hotmail (DOT) com> wrote

Quote:
Rich Bean,
I really appreciate your reply.
Let me add some more info. from my previous post.
I do have:
SET LIBRARY TO (Set('directory')+"\libs\foxtools") ADDITIVE
and
RELEASE LIBRARY (Set('directory')+"\libs\foxtools")

I do not get the error message "File REGFN() does not exist" every
single time login, but one a while. I guess some how the library
couldn't be opened at that movement, and I don't why. Please help me
on this. Does it cause by low memory or networking setting, so
on......
This application has no problem before, just happen recently but on
and off.
Any inputs are welcome!
Jeny

"Rick Bean" <rgbean (AT) NOSPAMmelange-inc (DOT) com> wrote

Jenny,
For FoxTools functions to be available, you must first do something
like:
lctoollib = "FOXTOOLS.FLL"
IF !(lctoollib $ SET("LIBRARY"))
lcfptfll = SYS(2004)+lctoollib && assume it's where it should have
been installed !
lcfptfll = LOCFILE(lcfptfll, "FLL", "Where is " + lctoollib + "?")
IF EMPTY(lcfptfll)
Messagebox("May have problems running without "+lctoollib, ;
d nOKButton+d nExclamation, "Please Note")
ELSE
SET LIBRARY TO (lcfptfll) ADDITIVE
ENDIF
RELEASE lcfptfll
ENDIF
RELEASE lctoollib

However if the code does an explicit:
SET LIBRARY TO && releases all libraries
* or
RELEASE LIBRARY "foxtolls.fll"

Then any FoxTools founction won't be available (again)!

Rick

"Jenny" <qhuy nguyen (AT) hotmail (DOT) com> wrote in message
news:8d8bc221.0312031552.7a092ea4 (AT) posting (DOT) google.com...
I know REGFN() is from foxtools library. However, I got "File REGFN
does not exist" error message, sometimes when I log in to the
Foxpro2.6 application. In order to get rid of this message, I have to
delete my user.vue file(it's created when log in). Can anyone tell me
there is any relation between .vue and REGFN() and how to solve this
problem?

Thanks alot.

Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.