Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Send signals to each user using same system
Message
From
21/02/2008 12:52:53
 
 
To
21/02/2008 09:58:19
Hilmar Zonneveld
Independent Consultant
Cochabamba, Bolivia
General information
Forum:
Visual FoxPro
Category:
Other
Environment versions
Visual FoxPro:
VFP 9 SP2
OS:
Windows XP SP2
Network:
Windows 2003 Server
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01293566
Message ID:
01294851
Views:
31
>>Hilmar:
>>
>>As they say, there are many ways to skin the cat. Alt+F4 seems a bit extreme to me, though. If you use transactions and have clean transaction boundaries, you could use the option I use: rollback open transactions before shutting down the application. If you are NOT using transactions, however, "the cat" gets a lot nastier and hairier...
>
>Well, I just use goProgram.OnQuit(), which does a clean exit, but is not guaranteed to quit in any case.
>
>When I say it is the same as if the user presses Alt-F4, then I should clarify that Alt-F4 also invokes goProgram.OnQuit(), and may, or may not, actually quit. In other words, if the user presses Alt-F4 and there are pending changes, he will be asked whether he wants to save or not. If he presses "Cancel", the application won't quit at all. The same if the user presses the "x" in the upper-right corner.

Just curious: Do you have a timer on the message box that eventually closes things down if the user doesn't respond in a timely manner? What happens to the pending changes at that point?

>
>This is done through a ON SHUTDOWN command.
>
>>BTW, how do the Columbians feel about (North) Americans these days. I watched "Cocalero" (about the rise of Evo Morales) the other day, and couldn't help noticing that part of the standard political slogans was "Death to the Yankees" or some such silliness (by which I assume they meant U.S. citizens, not the baseball team <g>). I understand that this maybe just something people say without thinking much about it. However, I am planning to come to Columbia (maybe actually Cochabamba) on a Habitat for Humanity/Global Village -build this summer, and although I am not a North American, my wife and children are, and they will be coming with me. Should I worry about Columbians' attitudes towards my family?
>
>Well, first, to clarify, the country you seem to mean is spelled "Colombia"; I live in Cochabamba, Bolivia. This is another country, we don't even have a border with Colombia.
>
>Evo Morales is the current president of Bolivia.
>
>Frankly, I don't know much about Colombia, except for some things I pick up in the news. I would suggest to search a little on the Internet, since this will give you more information than I can give you.

My mistake (brain freeze!) -- I meant Bolivia & Bolivians all along. And yes, Columbia is a university, Colombia is a different country altogether. Sorry about that.

My questions had to do with Bolivia, since that's where I will be this summer. Documentaries and the Internet are one source of information, sure, but an even better source in my experience is a person who actually lives in the place of interest. Hence my questions.
Pertti Karjalainen
Product Manager
Northern Lights Software
Fairfax, CA USA
www.northernlightssoftware.com
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform