Deleting all files inside a folder

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

    Deleting all files inside a folder

    Hey All,

    Could somebody please tell me how to delete all files inside a folder using
    Visual Basic .NET 2003?
    (I know this may be basic, but forgive me, im newbie)
    Thanks in advance,

    'Meshuggah'


  • Randy Birch

    #2
    Re: Deleting all files inside a folder


    --
    You have posted your question to a newsgroup supporting Visual Basic 6 and
    earlier ("VB Classic in the parlance of the locals"). While you may be
    lucky enough to get a response to your .net question, Microsoft has
    established are newsgroups specifically for this purpose. Take a look on the
    msnews.microsof t.com server for the newsgroups devoted exclusively to .net
    programming, such as:

    news://msnews.microsoft.com/microsof...dotnet.general
    news://msnews.microsoft.com/microsof...t.languages.vb
    news://msnews.microsoft.com/microsof....vsnet.general
    .... etc.


    --

    Randy Birch
    MS MVP Visual Basic


    Please reply to the newsgroups so all can participate.




    "Meshuggah" <noemail@please .thanks> wrote in message
    news:43f76aba$0 $62915$dbd49001 @news.wanadoo.n l...
    : Hey All,
    :
    : Could somebody please tell me how to delete all files inside a folder
    using
    : Visual Basic .NET 2003?
    : (I know this may be basic, but forgive me, im newbie)
    : Thanks in advance,
    :
    : 'Meshuggah'
    :
    :

    Comment

    • Keen
      New Member
      • Feb 2006
      • 6

      #3
      Originally posted by Meshuggah
      Hey All,

      Could somebody please tell me how to delete all files inside a folder using
      Visual Basic .NET 2003?
      (I know this may be basic, but forgive me, im newbie)
      Thanks in advance,

      'Meshuggah'
      This could easily be done by making your code press keys to select and deltet the files.

      For example

      Ctrl + A (That selects all the files)
      And delete would delete the files

      But just put that into your vb.net code
      (I would have done it by I only progrmmed in vb6 and have no idea what vb.net is like, sorry :(

      Comment

      Working...