String length exceeds maximum length of 32767 characters for 'FileSystem' APIs
MSDN Home
MSDN
MSDN Library
Development Tools and Language…
Visual Studio 2008
Visual Studio
Visual Basic
Reference (Visual Basic)
Visual Basic Reference
Error Messages (Visual Basic)
Visual Basic Run-Time Messages
Visual Basic Run-Time Messages
<address> is not a valid remot…
A delimiter cannot be Nothing …
A double quote is not a valid …
A log has already been created…
A property or method call cann…
A startup form has not been sp…
Access denied to '<name>'
Add failed. Duplicate key valu…
All field widths, except the l…
An invalid name was specified …
An unexpected error has occurr…
Another event log has already …
Application-defined or object-…
Argument '<argument1>' must be…
Argument '<argumentname>' cann…
Argument <argumentname> cannot…
Argument '<argumentname>' cann…
Argument '<argumentname>' cann…
Argument '<argumentname>' cann…
Argument '<argumentname>' is n…
Argument '<argumentname>' is n…
Argument '<argumentname>' is N…
Argument '<argumentname>' is N…
Argument '<argumentname>' must…
Argument '<argumentname>' must…
Argument '<argumentname>' must…
Argument <argumentname> must b…
Argument '<argumentname>' must…
Argument '<argumentname>' must…
Argument '<argumentname>' must…
Argument '<argumentname>' must…
Argument '<argumentname>' must…
Argument '<argumentname1>' mus…
Argument 'Access' is not valid…
Argument 'Access' is not valid…
Argument 'Access' is not valid…
Argument BasePath must be a pa…
Argument cannot be an empty st…
Argument cannot be less than z…
Argument cannot be Nothing
Argument 'Conversion' is not v…
Argument 'Life' cannot be zero
Argument not optional (Visual …
Argument 'NPer' must be greate…
Argument 'Path' is Nothing or …
Argument 'Per' is not valid
Argument 'Period' must be less…
Argument value '<pathname>' co…
Arguments are not valid
Array dimensions do not match …
Automation error
Automation object does not hav…
Bad DLL calling convention
Bad file mode
Bad file name or number
Bad record length
Bad record number
BaseLogName cannot be Nothing …
BaudRate must be greater than …
'Before' and 'After' arguments…
Cannot calculate number of per…
Cannot calculate rate using th…
Cannot call friend function on…
Cannot convert argument '<argu…
Cannot convert start value of …
Cannot convert start value of …
Cannot create ActiveX Componen…
Cannot delete a registry hive
Cannot determine array type be…
Cannot rename with different d…
Cannot save file to TEMP
Can't create necessary tempora…
Can't perform requested operat…
Cast from string "<string>" to…
Cast from type '<typename1>' t…
Class '<classname>' does not i…
Class does not support Automat…
Class not registered on local …
Clipboard format is not valid
Code resource lock error
Code resource not found
Collection index must be in th…
Connection to type library or …
Could not complete operation s…
Could not obtain full operatio…
Could not obtain memory inform…
DataBits must be greater than …
Device I/O error
Device unavailable
'Dir' function must first be c…
Disk full (Visual Basic)
Disk not ready
Division by zero (Visual Basic…
Division by zero (Visual Basic…
Drive '<drivename>' not found
Encoding cannot be set to Noth…
Error in loading DLL (Visual B…
Error number must be within th…
Expression '<name>' is not a p…
Expression too complex
Feature not yet implemented
Field '<fieldname>' of type '<…
File '<filename>' cannot be de…
File '<filename>' is write pro…
File '<filename>' not found
File already exists
File already open
File format not valid
File I/O of a structure with f…
File I/O with type '<typename>…
File information cannot be que…
File information cannot be que…
File is too large to read into…
File name or class name not fo…
File not found (Visual Basic R…
File specified by FileName doe…
File specified in FileName is …
File's open mode wasn't set to…
For loop not initialized (Visu…
Format not valid in resource f…
Get not supported (write-only …
Get not supported at run time
Implicit reference to object u…
Input past end of file
Insufficient security permissi…
Insufficient security permissi…
Internal error (Visual Basic)
Internal error happened at <lo…
Internal error in the Microsof…
Invalid pattern string
Key cannot be deleted because …
Late-bound assignment to a fie…
Length of argument '<argumentn…
Line <number> cannot be parsed…
Line <number> cannot be parsed…
Line <number> cannot be read b…
Locale ID '<name>' is not supp…
Loop control variable of type …
Managed classes derived from a…
Method '<methodname>' cannot b…
Method '<methodname>' has no p…
Method or data member not foun…
My.Application.Log cannot dete…
Named argument '<argumentname>…
Named argument not found (Visu…
Named arguments cannot match P…
Need property array index
No accessible overloaded '<met…
No accessible overloaded '<met…
No accessible overloaded '<met…
No accessible overloaded '<met…
No default member found for ty…
No files found matching '<file…
No method '<methodname>' can a…
No mouse is present
No mouse wheel is present
NumberOfChars must be greater …
Object doesn't support current…
Object doesn't support named a…
Object doesn't support this ac…
Object doesn't support this pr…
Object or class does not suppo…
Object required (Visual Basic)
Object variable or With block …
One or more folders in the tar…
Only the first eight character…
Operator is not valid for '<na…
Operator is not valid for type…
Ordinal is not valid
Out of memory (Visual Basic Ru…
Out of stack space (Visual Bas…
Out of string space (Visual Ba…
Overflow (Visual Basic Run-Tim…
Path '<pathname>' not found
Path not found
Path/File access error
Permission denied (Visual Basi…
Picture is not valid
Printer error
Procedure call or argument is …
Process '<processname>' was no…
Property <propertyname> cannot…
Property <propertyname> cannot…
Property array index is not va…
Property let procedure not def…
Property not found
Property or method not found
Property value is not valid
Public member '<membername>' o…
'ReDim' can only change the ri…
'ReDim' cannot change the numb…
'ReDim' Preserve operand canno…
Registry key '<keyname>' could…
Registry key '<keyname>' could…
Replacements too long
Resume without error
Root folder cannot be renamed
Search text not found
Set not permitted
Set not supported (read-only p…
Set not supported at run time
SimplifiedChinese and VbStrCon…
Some files and folders caused …
Some subkeys cannot be deleted
Source folder and target folde…
Source name specified in Event…
Specified DLL function not fou…
Specified event log does not e…
Specified registry key does no…
Specified registry key is not …
Specified registry path does n…
Stop statement encountered
'StrConv.LinguisticCasing' req…
String length exceeds maximum …
Sub or Function not defined (V…
Subscript out of range (Visual…
System event log cannot be del…
Target folder is a file
TargetFilePath specifies an ex…
TextFieldParser does not suppo…
TextFieldParser does not suppo…
TextFieldParser is unable to c…
The address for UploadFile nee…
The file is already open
The file is currently closed
The file is currently open for…
The file is currently open for…
The folder cannot be created s…
The input path refers to a fil…
The path has not been set
The remote server machine does…
The source folder does not exi…
The specified path does not ex…
The stream passed to TextField…
The value of <argumentname> mu…
The value of <argumentname> mu…
This array is fixed or tempora…
This key is already associated…
This operation can only be don…
This single-instance applicati…
This system does not contain s…
This system does not contain s…
This system does not contain s…
This system does not contain s…
Too many DLL application clien…
Too many files
Type mismatch (Visual Basic)
Type of argument '<argumentnam…
Unable to get serial port name…
Unable to obtain a stream for …
Unable to ping because a netwo…
Unable to read delimited field…
Unable to read delimited field…
Unable to read fixed width fie…
Unable to sink events of objec…
Unable to write to log file be…
Unable to write to log file be…
Use 'FileGetObject' instead of…
Use 'FilePutObject' instead of…
Use of Default Instance of a c…
User interrupt occurred
VbStrConv.Wide and VbStrConv.N…
VbStrConv.Wide and VbStrConv.N…
Wrong number of arguments or p…
XML literals and XML axis prop…
You must specify a file name
You must specify a name
You must specify a path that i…
Switch View :
Classic
Lightweight
ScriptFree
Site Feedback
Visual Basic Reference: Error Messages
String length exceeds maximum length of 32767 characters for 'FileSystem' APIs
A string's length exceeds the maximum length of 32767 characters.
To correct this error
Shorten the string.
See Also
Other Resources
Strings in Visual Basic
Community Content
Tunel
String length exceeds maximum length of 32767 characters
Great solution, thank