file io

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • =?Utf-8?B?QVZM?=

    file io

    Hi,
    I've a requirement wherein I need to close an opened file programatically .
    How can I acheive it/

    Thanks
    Vijaya

  • Mark Rae [MVP]

    #2
    Re: file io

    "AVL" <AVL@discussion s.microsoft.com wrote in message
    news:ECA30BFC-7D0C-4203-87C2-F997248E0A39@mi crosoft.com...
    I've a requirement wherein I need to close an opened file programatically .
    How can I acheive it/
    How did you open the file in the first place...?


    --
    Mark Rae
    ASP.NET MVP


    Comment

    • =?Utf-8?B?YnJ1Y2UgYmFya2Vy?=

      #3
      RE: file io

      see the handle utility from sysinternals:

      This handy command-line utility will show you what files are open by which processes, and much more.



      -- bruce (sqlwork.com)


      "AVL" wrote:
      Hi,
      I've a requirement wherein I need to close an opened file programatically .
      How can I acheive it/
      >
      Thanks
      Vijaya
      >

      Comment

      • =?Utf-8?B?QVZM?=

        #4
        Re: file io

        I did it thru the Process.Start() method

        "Mark Rae [MVP]" wrote:
        "AVL" <AVL@discussion s.microsoft.com wrote in message
        news:ECA30BFC-7D0C-4203-87C2-F997248E0A39@mi crosoft.com...
        >
        I've a requirement wherein I need to close an opened file programatically .
        How can I acheive it/
        >
        How did you open the file in the first place...?
        >
        >
        --
        Mark Rae
        ASP.NET MVP

        >
        >

        Comment

        • Mark Rae [MVP]

          #5
          Re: file io

          "AVL" <AVL@discussion s.microsoft.com wrote in message
          news:C147AF8E-140B-4623-8D05-2187F7623F6F@mi crosoft.com...
          I've a requirement wherein I need to close an opened file
          programatically .
          How can I acheive it/
          >>
          >How did you open the file in the first place...?
          >
          >I did it thru the Process.Start() method
          Please show your code...


          --
          Mark Rae
          ASP.NET MVP


          Comment

          Working...