XPost: microsoft.public.vb.general.discussion, microsoft.public.vb   
   From: dsarvas@yahoo.com   
      
   On Sat, 13 Sep 2008 17:36:17 -0500, "Ralph"   
    wrote:   
      
   >   
   >"Don" wrote in message   
   >news:48cc3999.7497968@news.west.cox.net...   
   >> On Sat, 13 Sep 2008 16:55:08 -0500, "Ralph"   
   >> wrote:   
   >>   
   >> >   
   >> I saw that mentioned in the first response and although that would not   
   >> work, I took a look at it. It can certainly be a handy tool, but I   
   >> need to detect that the file is currently open to prevent another user   
   >> from using it which just can't be done. One possibility I might look   
   >> into is whether I can search all workstations to determine if that   
   >> particular file is open at any particular workstation on the network.   
   >> That would work, but I think I"m just dreaming here.   
   >> Don   
   >>   
   >   
   >Pretty much.    
   >   
   >I didn't follow exvb's link so wasn't aware he already mentioned it. It   
   >wouldn't help in the case where a User opened this file after you opened it,   
   >and then only closed it (with changes) after your app had closed.   
   >   
   >Here's what I would do in a situation like this, back up a step. Forget for   
   >the moment HOW to do something and re-think why I feel I need to do it.   
   >   
   >Maybe you need to provide your own 'editor' and otherwise protect the data?   
      
   And that's EXACTLY what I believe to be the answer. I think that's   
   where I stand and either place a Rich Text box in my app for that   
   purpose or create a detour so that if Notepad is detected as the   
   default app about to lanuch the file, I can instead launch an app I   
   know would work.   
   Don   
   >   
   >-ralph   
   >   
   >   
      
   --- SoupGate-Win32 v1.05   
    * Origin: you cannot sedate... all the things you hate (1:229/2)   
|