Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Limitation in the System.IO.FileInfo.get_Length()
Message
From
05/03/2010 03:13:41
 
 
To
05/03/2010 03:07:45
General information
Forum:
ASP.NET
Category:
Other
Environment versions
Environment:
VB 9.0
OS:
Windows XP SP2
Network:
Windows 2003 Server
Database:
MS SQL Server
Application:
Web
Miscellaneous
Thread ID:
01452685
Message ID:
01452694
Views:
44
>>What is get_Length() ? (I'ts certainly not a static method of System.IO.FileInfo)
>>IAC this works :
System.IO.FileInfo fi = new   System.IO.FileInfo("d:\\tmp\\longfilenamelongfilenamelongfilenamelongfilenamelongfilenamelongfilenamelongfilenamelongfilenamelongfilenamelongfilenamelongfilenamelongfilenamelongfilenamelongfilenamelongfilenamelongfilename.txt");
>>
>>long i = fi.Length;
Length of the file name is 196.....
>
>A reference from fileinfo will work. The problem is with the DirectoryInfo class. This ones uses a get_Length function when we call the GetFiles() method.

I don't understand. I think you need to post some code
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform