Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Sequence to open a file
Message
De
28/01/2015 03:44:23
Lutz Scheffler
Lutz Scheffler Software Ingenieurbüro
Dresden, Allemagne
 
 
À
27/01/2015 16:49:28
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Versions des environnements
Visual FoxPro:
VFP 9 SP2
OS:
Windows 8.1
Network:
SAMBA Server
Database:
Visual FoxPro
Application:
Desktop
Divers
Thread ID:
01614359
Message ID:
01614438
Vues:
29
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]
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform