Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
CreateObject() vs. NewObject() functions
Message
General information
Forum:
Visual FoxPro
Category:
Classes - VCX
Environment versions
Visual FoxPro:
VFP 9 SP1
Miscellaneous
Thread ID:
01367158
Message ID:
01367894
Views:
9
This message has been marked as the solution to the initial question of the thread.
>Hi Naomi
>
>>Ok, one more experiment.
>
>
lcPath = set('path')
>set path to C:\VSO3\COMMON\LIBS\
>
>MESSAGEBOX(FILE('cvsonoscnonvisualutilities.vcx'))
>MESSAGEBOX(SYS(2000,'cvsonoscnonvisualutilities.vcx'))
>MESSAGEBOX(FILE('cVSONoSCNonVisualUtilities.vcx'))
>MESSAGEBOX(SYS(2000,'cVSONoSCNonVisualUtilities.vcx'))
>
>set path to (lcPath)
>
>.T.
>< blank >
>.T.
>< blank >

sys(2000) as well as adir() requires full path. Still if originally FILE() returned .F. and now it returns .T. it tells us the path is not correctly set up.
If it's not broken, fix it until it is.


My Blog
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform