16,016,024 members
Sign in
Sign in
Email
Password
Forgot your password?
Sign in with
home
articles
Browse Topics
>
Latest Articles
Top Articles
Posting/Update Guidelines
Article Help Forum
Submit an article or tip
Import GitHub Project
Import your Blog
quick answers
Q&A
Ask a Question
View Unanswered Questions
View All Questions
View C# questions
View C++ questions
View Javascript questions
View Visual Basic questions
View .NET questions
discussions
forums
CodeProject.AI Server
All Message Boards...
Application Lifecycle
>
Running a Business
Sales / Marketing
Collaboration / Beta Testing
Work Issues
Design and Architecture
Artificial Intelligence
ASP.NET
JavaScript
Internet of Things
C / C++ / MFC
>
ATL / WTL / STL
Managed C++/CLI
C#
Free Tools
Objective-C and Swift
Database
Hardware & Devices
>
System Admin
Hosting and Servers
Java
Linux Programming
Python
.NET (Core and Framework)
Android
iOS
Mobile
WPF
Visual Basic
Web Development
Site Bugs / Suggestions
Spam and Abuse Watch
features
features
Competitions
News
The Insider Newsletter
The Daily Build Newsletter
Newsletter archive
Surveys
CodeProject Stuff
community
lounge
Who's Who
Most Valuable Professionals
The Lounge
The CodeProject Blog
Where I Am: Member Photos
The Insider News
The Weird & The Wonderful
help
?
What is 'CodeProject'?
General FAQ
Ask a Question
Bugs and Suggestions
Article Help Forum
About Us
Search within:
Articles
Quick Answers
Messages
Comments by IncredibleRam (Top 10 by date)
IncredibleRam
28-Mar-12 2:08am
View
might got the answer with the help of frndz i think: (This might be the way to do that)
Public Shared Sub CheckUserFolderSize(ByVal s3Client As AmazonS3, ByVal bucketName As String, ByVal folderName As String)
Try
Using (s3Client)
Dim totalFileSize As Long
Dim maxSize As Long = 1.0
'assuming your delimiter is a /
Dim Lor As New ListObjectsRequest() With { _
.BucketName = bucketName, _
.Prefix = folderName, _
.Delimiter = "/" _
}
Dim response1 As ListObjectsResponse = s3Client.ListObjects(Lor)
For Each s3Object As S3Object In response1.S3Objects
totalFileSize += s3Object.Size()
Next
If totalFileSize > maxSize Then
End If
End Using
Catch ex As Exception
End Try
End Sub
here Folder name is the prefix, as we don't have the directory structure in the Amazon S3.
Thanks and Regards.
IncredibleRam
25-Jan-12 6:40am
View
Thanks for the reply but is the Acrobat SDK available for the Web environment and is that ok if we can use it (Is it legal). there is a comment in the same article you posted "
WARNING: This is illegal ! "
IncredibleRam
14-May-11 2:02am
View
did you try following
SqlCommand cmd = new SqlCommand("select max(member_id) from" + tblName.Trim () + "", con);
instead of :
SqlCommand cmd = new SqlCommand("select max(member_id) from tblName", con);
IncredibleRam
8-May-11 10:24am
View
pleasure is all mine but sorry for the delay this is not suppose to last this much long.
IncredibleRam
8-May-11 1:58am
View
is there anything wrong with what i had wrote above (as this is what i know), just curious to know more on this concept.
best regards
IncredibleRam
7-May-11 15:02pm
View
Deleted
hello Mr. S Mewara
as i am new here so just curious to know that if some Programmer/Developer edit the code then what exactly that mean(they made the required changes and now code is working or not) if yes then we are not suppose to post on the same thread again and again(this is the reason why i am asking).
IncredibleRam
7-May-11 14:44pm
View
is it working now
IncredibleRam
7-May-11 13:32pm
View
thank you very much to all of you, every one here is so helpful, just trying to follow the tradition
even i am a newbie here (approx eight months Exp. in .NET technology) and i know what type of problems developers like me face.
IncredibleRam
7-May-11 0:57am
View
your images stored in the database ok
what datatype you used to store the images in the database
IncredibleRam
6-May-11 11:14am
View
ok i didn't read the Question Carefully sorry
5++
Show More