Welcome To The Home Of The Visual FoxPro Experts  
home. signup. forum. archives. search. google. articles. downloads. faq. members. weblogs. sponsors. rss.
 From: vinod kabdal
  Where is vinod kabdal?
 Delhi
 India
 vinod kabdal
 To: Stefan Wuebbe
  Where is Stefan Wuebbe?
 Hamburg
 Germany
 Stefan Wuebbe
 Tags
Subject: RE: Shut Down all System in Network
Thread ID: 198256 Message ID: 198289 # Views: 34 # Ratings: 0
Version: Visual FoxPro 8 Category: Win32API programming
Date: Friday, October 10, 2008 11:25:15 AM         
   


> >
> >
> > Hi Stefan,
> > How each client.EXE closes itself automatically.
> > can you give me a exemple Or code.
>
> When there is a "Read Events" being active, issuing "Clear Events" should be enough.
> In addition, the QueryUnload() event of each active form will run, so that you can ask the user whether modified data shall be committed or reverted, and so on.
>
> Additionally, you can scan the _scren.Forms collection to see whether there any modal forms running, e.g. in pseudo code:
>
> Local loForm
> For Each loForm in _screen.Forms
>     If VarType(m.loForm) = 'O' And PemStatus(m.loForm,"YourShutdown",5)
>         loForm.yourShutdown()
>     Endif
> Next
> 

>
> In other words, from a client-app point-of-view, the situation would be similar to a user clicking the upper-right X close button of the VFP main window _screen. (Or the close button of the main top-level form, when you have _screen.Visile=.F., respectively.)
>
> hth
> -Stefan

Pls tell me what is funtion yourShutdown() in detail

Vinod Kabdal



COMPLETE THREAD
Shut Down all System in Network Posted by vinod kabdal @ 10/10/2008 8:10:01 AM
RE: Shut Down all System in Network Posted by Stefan Wuebbe @ 10/10/2008 8:18:35 AM
RE: Shut Down all System in Network Posted by vinod kabdal @ 10/10/2008 8:54:16 AM
RE: Shut Down all System in Network Posted by Stefan Wuebbe @ 10/10/2008 9:01:50 AM
RE: Shut Down all System in Network Posted by vinod kabdal @ 10/10/2008 9:13:17 AM
RE: Shut Down all System in Network Posted by Stefan Wuebbe @ 10/10/2008 9:17:31 AM
RE: Shut Down all System in Network Posted by vinod kabdal @ 10/10/2008 11:25:15 AM
RE: Shut Down all System in Network Posted by Stefan Wuebbe @ 10/10/2008 11:49:23 AM
RE: Shut Down all System in Network Posted by Stefan Wuebbe @ 10/10/2008 9:13:57 AM
RE: Shut Down all System in Network Posted by vinod kabdal @ 10/11/2008 1:45:25 PM
RE: Shut Down all System in Network Posted by tushar @ 10/10/2008 9:06:20 AM
RE: Shut Down all System in Network Posted by vinod kabdal @ 10/10/2008 11:20:57 AM
RE: Shut Down all System in Network Posted by tushar @ 10/10/2008 1:53:03 PM
RE: Shut Down all System in Network Posted by Kishore Kumar @ 10/10/2008 4:21:28 PM
RE: Shut Down all System in Network Posted by vinod kabdal @ 10/11/2008 9:29:57 AM
RE: Shut Down all System in Network Posted by tushar @ 10/11/2008 9:56:47 AM
RE: Shut Down all System in Network Posted by Jun Tangunan @ 10/11/2008 12:01:14 PM