File Name without Full Path or Extension (VB.NET)

Category:
C#, VB.NET, ASP.NET
Type:
Snippets
Difficulty:
Beginning
Author:
Intelligent Solutions Inc.

Version Compatibility: Visual Basic.NET

More information:
Example: FileNameWithoutExtension("C:\winnt\system32\kernel.dll") returns "kernel"

Instructions: Copy the declarations and code below and paste directly into your VB project.

Declarations:

Code: