Hi all,
I'm trying to use the Len Function to detect the length of a string
(obviously) and the compiler throws this error:
error BC30451: The name 'Len' is not declared.
Here's the code -
If (Len(strSize)) >= 7 Then
Phil
The Len command is in the Microsoft.VisualBasic namespace. By adding
this you should be able to access the function.
Al LeMay
Virtuoso
Quality Assurance Manager
alemay@d...
tele: (xxx) xxx-xxxx
cell: (xxx) xxx-xxxx
http://www.virtuoso.com/
-----Original Message-----
From: Phil Steel [mailto:philips@t...]
Sent: Wednesday, July 25, 2001 8:52 AM
To: aspx_beginners
Subject: [aspx_beginners] Compiler not recognising Len Function
Hi all,
I'm trying to use the Len Function to detect the length of a string
(obviously) and the compiler throws this error:
error BC30451: The name 'Len' is not declared.
Here's the code -
If (Len(strSize)) >=3D 7 Then