Folder From File Name/File Name Only from Full Path (VB.NET)
Category:
C#, VB.NET, ASP.NETType:
ApplicationsDifficulty:
BeginningAuthor:
Intelligent Solutions Inc.Version Compatibility: Visual Basic.NET, ASP.NET
More information:
Although you can use instr and instrrev in VB.NET for these functions and thereby use the same code in VB6 and VB.NET, doing it this way illustrates some of the new string functions in .NET. See the comments for example usage.
Instructions: Copy the declarations and code below and paste directly into your VB project.
Declarations: