• Recent Posts

  • Meta

  • Tags

    autocomplete benchmark data cpu cycles directory exists disable beep on enter doevents ebook excel file exists getinputstate gzip high cpu usage intensive task left edge linq mcisendstring microsoft msdn no doevents office open webpage play mp3 play wave right edge scroll textbox shell show icon show notify icon source stop beep on enter system tray text tar textbox text in system tray time consuming tutorials vb.net vb 2008 video visual basic visual basic.net visual basic 2005 visual studio visual studio 2005 ehancements windows mci
  • Check if a File or Directory Exists using Visual Basic 6.0

    Tuesday, April 8th, 2008

     

     
      There could be a time when you need to check if files or folders/directories exists or not. There are actually a few different ways to accomplish this task. Some ways is by messing around with the Dir Function located in the FileSystem Class, the Windows API or using the FileSystemObject located in the Windows Scripting [...]

    Popularity: 57% [?]

    Check if a Specified File or Directory Exists in VB 2005/2008

    Monday, June 18th, 2007

     

     
    'Check whether a File or Directory/Folder exists using MY with Visual Basic .NET 2005 or .NET 2008.

       

    MsgBox(My.Computer.FileSystem.FileExists("c:\theFile.txt"))
       
    MsgBox(My.Computer.FileSystem.DirectoryExists("c:\"))

       
     

     
    Popularity: 25% [?]

    Popularity: 25% [?]

    Check if File/Folder/Directory Exists in VB.NET

    Sunday, June 17th, 2007

    Check if a File or Directory/Folder Exists using VB.NET
       
    Check File...
       
    MessageBox.Show(IO.File.Exists("d:\someFileName.txt"))
       
    Check Folder / Directory
       
    MessageBox.Show(IO.Directory.Exists("c:\myFolder"))

    Popularity: 15% [?]

    Popularity: 15% [?]