Force a file to be closed. Is it possible?

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • nightowlky@yahoo.com

    Force a file to be closed. Is it possible?

    Is it possible to force a file (opened on a local drive of a machine)
    to be closed in order that it may be written to with updates?

  • Herfried K. Wagner [MVP]

    #2
    Re: Force a file to be closed. Is it possible?

    <nightowlky@yah oo.com> schrieb:[color=blue]
    > Is it possible to force a file (opened on a local drive of a machine)
    > to be closed in order that it may be written to with updates?[/color]

    You could close the applications keeping the files open
    ('System.Diagno stics.Process' class provides 'CloseMainWindo w' and 'Kill'
    methods).

    --
    M S Herfried K. Wagner
    M V P <URL:http://dotnet.mvps.org/>
    V B <URL:http://classicvb.org/petition/>

    Comment

    Working...