Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Data of an open file
Message
From
07/02/2001 04:29:44
 
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00473051
Message ID:
00473344
Views:
19
Hi!

As far as I know, OpenFile() function with 0 as last parameter allow to open even file that opened elsewhere in VFP in exclusive mode (at least works for DBF files).

However, I'm wondered, because wontop() is not a file name, but just a name of the window. When you use filetostr(wontop()), this will try to read from a disk file with a name that matches to the topmost window name. Make no sense for me...

>Is the data in an open file available to a system variable or API call? For example, you cannot do a filetostr(wontop()) cause of a file acess denied. How does the Print function from File/Print work on an open file? Thanks
Vlad Grynchyshyn, Project Manager, MCP
vgryn@yahoo.com
ICQ #10709245
The professional level of programmer could be determined by level of stupidity of his/her bugs

It is not appropriate to say that question is "foolish". There could be only foolish answers. Everybody passed period of time when knows nothing about something.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform