Welcome Guest! You need to login or register to make posts.

Notification

Icon
Error

Options
Go to last post Go to first unread
janetsmith  
#1 Posted : Thursday, July 27, 2006 11:03:44 AM(UTC)
janetsmith

Rank: Member

Groups: Member
Joined: 2/1/2006(UTC)
Posts: 40

In most of the examples given, they use CInt.
Code:
intFileCount = CInt(RemoveLeadingCharacters(objUpload.Form("FileCount").Value))
Integer can hold up to 255. Is that means user can only upload up to 255 files at a time?

Edited by user Monday, February 18, 2008 7:22:41 PM(UTC)  | Reason: Not specified

Fedor  
#2 Posted : Thursday, July 27, 2006 9:03:59 PM(UTC)
Fedor

Rank: Advanced Member

Groups: Member, Administration, Moderator
Joined: 7/28/2003(UTC)
Posts: 1,522

Thanks: 3 times
Was thanked: 52 time(s) in 51 post(s)
Quote:
In most of the examples given, they use CInt.
Code:
intFileCount = CInt(RemoveLeadingCharacters(objUpload.Form("FileCount").Value))
Integer can hold up to 255. Is that means user can only upload up to 255 files at a time?
Integer in ASP is 16 bits size. It means that it can hold up to 32767. But I should say that Image Uploader doesn't have any explicit upload file count limitation. We use CInt type conversion just for good style of programming.

Edited by user Monday, February 18, 2008 7:22:55 PM(UTC)  | Reason: Not specified

Best regards, Fedor Skvortsov
Users browsing this topic
Forum Jump  
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.