By the title you may be thinking of .Contains. But that will not work here. I need to define If the Path that I have leads to .Ink or directly to .Exe file. If I try Path.Contains(".Ink"), It wont work because it takes the name of the file and ads .Ink at the end. Example:
But this wont work, and I know why, but I dont know any other command how to do it.
Please help.
Code:
Path = "C:\Application.Ink"
If Path.Contains(".Ink") Then
Code...
End If
Please help.