G
Guest
Hi.
I have a utility program that has a form that allows a user to select a file.
I'm then using the LEFT Function to get some information.
sNewFilePathName = Left(sFilePathName, iCnt)
I'm getting this following error message when I compile:
C:\VB.NET\AppendCRLF\AppendCRLF\Form1.vb(106): 'Public Property Left() As
Integer' has no parameters and its return type cannot be indexed.
When I use the following I don't get the error message:
sNewFilePathName = Microsoft.VisualBasic.Left(sFilePathName, iCnt)
I'm confused. I shouldn't have to use "Microsoft.VisualBasic" as when I
checked the properties for the solution, I see Microsoft.VisualBasic as a
project import under the "Imports" section.
Any suggestions?
TIA,
Rita
I have a utility program that has a form that allows a user to select a file.
I'm then using the LEFT Function to get some information.
sNewFilePathName = Left(sFilePathName, iCnt)
I'm getting this following error message when I compile:
C:\VB.NET\AppendCRLF\AppendCRLF\Form1.vb(106): 'Public Property Left() As
Integer' has no parameters and its return type cannot be indexed.
When I use the following I don't get the error message:
sNewFilePathName = Microsoft.VisualBasic.Left(sFilePathName, iCnt)
I'm confused. I shouldn't have to use "Microsoft.VisualBasic" as when I
checked the properties for the solution, I see Microsoft.VisualBasic as a
project import under the "Imports" section.
Any suggestions?
TIA,
Rita