• Recent Posts

  • Meta

  • Tags

    #ziplib .net getfilename .net no titlebar 7-zip adding a splash screen in visual basic.net adding textbox autocomplete addition adjusttokenprivileges adware application filename application position applications path audio library autocomplete autocomplete combobox avi mpg basic math bass.dll bass sound system beep benchmark data calculator cdrom tray change unix to windows directory exists disable beep on enter doevents excel file exists getinputstate high cpu usage linq mcisendstring no doevents open webpage pinging play mp3 play wave scroll textbox shell stop beep on enter textbox vb ping visual studio windows mci
  • Check if Directory Exist

    Monday, September 3rd, 2007

        'vb5+ Dim f As String f = "C:\WINDOWS" dirFolder = Dir(f, vbDirectory) If dirFolder <> "" Then     MsgBox("This folder already exists.", vbCritical)     'directory exists action here End If    

    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"))