MVEs are more concerned with the satisfaction of those they help than with the considerable points they can earn. They are the types of people you feel privileged to call colleagues. Join us in honoring this amazing group of Experts.
Dim uploadBytesSize As Integer = 200000 Dim sr As New IO.StreamReader("C:\A Large File.mp4") Dim fileLength As Long = sr.BaseStream.Length Dim bytesRemaining As Long = fileLength Dim bufferSize As Long Dim bytesUploaded As Long = 0 Do If bytesRemaining <= uploadBytesSize Then buffersize = bytesRemaining Else bufferSize = uploadBytesSize End If Dim buffer(bufferSize - 1) As Byte sr.BaseStream.Position = bytesUploaded sr.BaseStream.Read(buffer, 0, bufferSize) bytesUploaded += bufferSize uploadFile(buffer) Loop Until bytesRemaining < uploadBytesSize
|Vb.Net Date Formatting Assistance||4||44|
|Write to file when application closes (by logoff) - VB.NET||1||31|
|start a process from a service||3||21|
|Create a datatable in vb.net dynamically||1||11|
Join the community of 500,000 technology professionals and ask your questions.
Connect with top rated Experts
14 Experts available now in Live!