Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Set default to issue
Message
 
 
To
03/12/2015 14:00:13
General information
Forum:
Visual FoxPro
Category:
Other
Environment versions
Visual FoxPro:
VFP 9 SP2
OS:
Windows 10
Network:
Windows 2008 Server
Database:
MS SQL Server
Application:
Web
Miscellaneous
Thread ID:
01628271
Message ID:
01628429
Views:
42
>>>>You are right about one thing, if I read your message correctly, that getfile() is not stable. In this case of the problem I noticed that getfile() - not always but often - "remembers" where the last time Open Dialog was opened. And the following time it may open in the same location (folder) even when the current folder is different. In the case I am dealing with there are 5 copies of my software installed; the same version of .EXE, the same data structure, just each one is in a different folder. But 2 copies do not seem to have the problem and 2 others have the problem (the resulting 1 I have not tested thoroughly). But in the case of the "problem" copies I noticed that "sticking" of the last folder to the getfile(). If I have time I may even start writing/creating my own getfile(); with VFP it can be done.
>>>
>>>And then this behavior may change between various versions of windowses. I've noticed that some of the apps that I use (Gimp, LibreOffice, and actually some versions of M$ Office) have their own file dialogs. One reason is to have their own MRU list of locations (per-app MRUs are sorely missing in file dialogs in windowses), another is that there are some options one may want to set when saving (different compression rates etc) and the standard dialogs are not a proper GUI for that.
>>
>>Thank you, again. I explained to the customer(s) that they should not rely on the getfile() to always open in the same place. They seem to have accepted this ok.
>
>It's nice to have customers who can accept such things.
>
>This reminds me of a true story which happened to a TV repairman many years ago. I know this since I knew the repairman in question. This was back in the black and white CRT time, probably late 60s.The deflection coil unit on a TV was defect and needed to be replaced. The repairman, who was self-taught, mixed up two of the wires, and the picture was mirrored. He didn't understand why this happened, and he didn't bother calling someone for help. Instead he persuaded the TV owners into accepting that the TV now had a brand new CRT, but although it wasn't 100% identical to the old one, it was a much improved one. So if they only bought a mirror and placed in an angle in front of the TV, they would have a much better picture than before. He even had a friend who sold such specially made mirrors cheap...! So they bought a mirror, and was very happy with the much improved picture!
>
>A few months later the TV repairman talked to some colleagues at a training seminar, and asked them why the picture was mirrored. They told him to simply switch two of the cables. Hearing this, he called the TV owners, and told them that the TV factory had come up with a modification which he could do for them at a very reasonable price, They accepted, and was even happier than before!

Interesting story. Although I don't understand what it is when the "picture is mirrored"; you see, I was born in the 20th century :)
"The creative process is nothing but a series of crises." Isaac Bashevis Singer
"My experience is that as soon as people are old enough to know better, they don't know anything at all." Oscar Wilde
"If a nation values anything more than freedom, it will lose its freedom; and the irony of it is that if it is comfort or money that it values more, it will lose that too." W.Somerset Maugham
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform