home bbs files messages ]

Forums before death by AOL, social media and spammers... "We can't have nice things"

   comp.databases.paradox      To crash or not to crash, asks Borland      9,834 messages   

[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]

   Message 9,298 of 9,834   
   Robert Wiltshire to All   
   Re: Preventing a form from opening a sec   
   26 Jul 08 12:52:28   
   
   From: nomail@nospam.com   
      
   > third possible solution.. when you open the form, create a companion text   
   > file.. if the text file exists, don't open the form.. should be way less   
   > code..   
      
   Interesting idea, thank you.   
   This would certainly need something in the close event to whack the file.   
      
   I suppose games could be played with environment strings too.   
      
   The only thing that bothers at me at first   
   with either the file technique ( or environment string) ,   
   is ..........what if form does not clean up after itself for some unusual   
   reason.   
      
   I had the same concerns with solution #2   
   where I modified the form title after opening.   
      
   Issue might be similar to a ".lck" file being left stray.   
   It is not usual that it happens, but if it did,   
   figuring out why the form is not opening,   
   and then finding the file to delete might prove to be difficult.   
      
   Thank you for suggestion.   
      
   --- SoupGate-Win32 v1.05   
    * Origin: you cannot sedate... all the things you hate (1:229/2)   

[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]


(c) 1994,  bbs@darkrealms.ca