File Deleting

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • bruno

    File Deleting

    In VB.NET 2005 application stmt:
    "File.Delet e (file-name)"
    does not delete files with size=0. Can you give me any suggestions?
    Thanks
    --
    bruno
  • Fredrik Johansson

    #2
    RE: File Deleting

    After testing this, I still can't reproduce your problem. Make sure that the
    file isn't open by another process and the you've closed the file properly if
    you've previously opened the file.

    "bruno" wrote:
    [color=blue]
    > In VB.NET 2005 application stmt:
    > "File.Delet e (file-name)"
    > does not delete files with size=0. Can you give me any suggestions?
    > Thanks
    > --
    > bruno[/color]

    Comment

    • bruno

      #3
      RE: File Deleting

      Opps...! It was open by another process!
      Thanks
      --
      bruno


      "Fredrik Johansson" wrote:
      [color=blue]
      > After testing this, I still can't reproduce your problem. Make sure that the
      > file isn't open by another process and the you've closed the file properly if
      > you've previously opened the file.
      >
      > "bruno" wrote:
      >[color=green]
      > > In VB.NET 2005 application stmt:
      > > "File.Delet e (file-name)"
      > > does not delete files with size=0. Can you give me any suggestions?
      > > Thanks
      > > --
      > > bruno[/color][/color]

      Comment

      • TerryFei

        #4
        RE: File Deleting

        Hi Bruno,

        I am glad to know that the problem is resolved now. Thanks for your
        participating in Newsgroup!

        Best Regards,

        Terry Fei[MSFT]
        Microsoft Community Support
        Get Secure! www.microsoft.com/security
        (This posting is provided "AS IS", with no warranties, and confers no
        rights.)

        Comment

        Working...