Skip to content
David Kittell
David Kittell

Application & System: Development / Integration / Orchestration

  • Services
    • Application Development
    • Online Application Integration
  • Code
  • Online Tools
  • Tech Support
David Kittell

Application & System: Development / Integration / Orchestration

File Exists

Posted on December 14, 2013October 26, 2015 By David Kittell
Public Function FileExists(ByVal FileFullPath As String) _
          As Boolean

        Dim f As New IO.FileInfo(FileFullPath)
        Return f.Exists

    End Function
Originally Posted on December 14, 2013
Last Updated on October 26, 2015
All information on this site is shared with the intention to help. Before any source code or program is ran on a production (non-development) system it is suggested you test it and fully understand what it is doing not just what it appears it is doing. I accept no responsibility for any damage you may do with this code.

Related

Code VB.NET

Post navigation

Previous post
Next post

Related Posts

Clear Most Recently Used – Remote Desktop

Posted on July 18, 2013October 26, 2015

‘ Script: ClearRDMRU.vbs ‘Purpose: Clears the Most Recently Used list of computers in the Remote ‘Desktop Client Computer drop down box ‘ Author: Brian Heil ‘ Date: 15 March 2004 ‘Version: V1.2 ‘History: ‘ V1.0 – first script. used WMI to delete registry entries. ‘ V1.1 – added deletion of…

Read More

PowerShell – Get Network Statistics

Posted on November 9, 2015November 9, 2015

function Get-NetworkStatistics { [OutputType(‘System.Management.Automation.PSObject’)] [CmdletBinding(DefaultParameterSetName=’name’)] param( [Parameter(Position=0,ValueFromPipeline=$true,ParameterSetName=’port’)] [System.String]$Port=’*’, [Parameter(Position=0,ValueFromPipeline=$true,ParameterSetName=’name’)] [System.String]$ProcessName=’*’, [Parameter(Position=0,ValueFromPipeline=$true,ParameterSetName=’address’)] [System.String]$Address=’*’, [Parameter()] [ValidateSet(‘*’,’tcp’,’udp’)] [System.String]$Protocol=’*’, [Parameter()] [ValidateSet(‘*’,’Closed’,’CloseWait’,’Closing’,’DeleteTcb’,’Established’,’FinWait1′,’FinWait2′,’LastAck’,’Listen’,’SynReceived’,’SynSent’,’TimeWait’,’Unknown’)] [System.String]$State=’*’ ) begin { $properties = ‘Protocol’,’LocalAddress’,’LocalPort’ $properties += ‘RemoteAddress’,’RemotePort’,’State’,’ProcessName’,’PID’ } process { netstat -ano | Select-String -Pattern ‘\s+(TCP|UDP)’ | ForEach-Object { $item = $_.line.split(‘ ‘,[System.StringSplitOptions]::RemoveEmptyEntries) if($item[1] -notmatch ‘^\[::’) { if (($la =…

Read More

Drop Function If Exists

Posted on August 6, 2013October 26, 2015

IF OBJECT_ID(N’dbo.RegexReplace’) IS NOT NULL DROP FUNCTION dbo.RegexReplace GO Source: https://www.simple-talk.com/sql/t-sql-programming/tsql-regular-expression-workbench/ Originally Posted on August 6, 2013Last Updated on October 26, 2015 All information on this site is shared with the intention to help. Before any source code or program is ran on a production (non-development) system it is suggested…

Read More

Code

Top Posts & Pages

  • PowerShell - Rename Pictures to Image Taken
  • Front Page
  • C# - Start/Stop/Restart Services
  • MacPorts / HomeBrew - Rip CD tracks from terminal
  • PowerShell - Show File Extensions

Recent Posts

  • Javascript – Digital Clock with Style
  • BASH – Web Ping Log
  • BASH – Picture / Video File Name Manipulation
  • Mac OSX Terminal – Create SSH Key
  • Bash – Rename Picture

Top Posts

  • PowerShell - Rename Pictures to Image Taken
  • C# - Start/Stop/Restart Services
  • MacPorts / HomeBrew - Rip CD tracks from terminal
  • PowerShell - Show File Extensions
  • Open On Screen Keyboard (OSK)
  • SQLite - Auto-Increment / Auto Generate GUID
©2025 David Kittell | WordPress Theme by SuperbThemes