Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Sequence to open a file
Message
From
28/01/2015 03:44:23
Lutz Scheffler
Lutz Scheffler Software Ingenieurbüro
Dresden, Germany
 
 
To
27/01/2015 16:49:28
General information
Forum:
Visual FoxPro
Category:
Other
Environment versions
Visual FoxPro:
VFP 9 SP2
OS:
Windows 8.1
Network:
SAMBA Server
Database:
Visual FoxPro
Application:
Desktop
Miscellaneous
Thread ID:
01614359
Message ID:
01614438
Views:
30
Colud please somebody verify that SYS(2450) is doing anything?

Setup

A file in some folder "A", a copy of the same file in folder "B"


Add a property to _SCREEN, pic file from folder "B"
ADDPROPERTY(_SCREEN,'gcfile',GETFILE())
create a new project

add the file from folder "A" to the project, include to the project if needed

main.prg
CLEAR
?_SCREEN.gcfile
?SYS(2450)
?FULLPATH(_SCREEN.gcfile)
SYS(2450,0)
?SYS(2450)
?FULLPATH(_SCREEN.gcfile)
SYS(2450,1)
?SYS(2450)
?FULLPATH(_SCREEN.gcfile)
compile, run

/Setup


On my comps I see

[B]File
0
[A]File
0
[A]File
1
[A]File

What means FUILLPATH catches the one included to the file. If you rename folder "A" it will still work. USE will do the same as FULLPATH.

Thanks

Lutz
Words are given to man to enable him to conceal his true feelings.
Charles Maurice de Talleyrand-Périgord

Weeks of programming can save you hours of planning.

Off

There is no place like [::1]
Previous
Reply
Map
View

Click here to load this message in the networking platform