Click here to Skip to main content
15,894,907 members
Home / Discussions / C#
   

C#

 
AnswerRe: No connection could be made because the target machine actively refused it Pin
EliottA18-Sep-09 6:31
EliottA18-Sep-09 6:31 
AnswerRe: No connection could be made because the target machine actively refused it Pin
Luc Pattyn18-Sep-09 6:31
sitebuilderLuc Pattyn18-Sep-09 6:31 
AnswerRe: No connection could be made because the target machine actively refused it Pin
Dave Kreskowiak18-Sep-09 7:27
mveDave Kreskowiak18-Sep-09 7:27 
AnswerRe: No connection could be made because the target machine actively refused it Pin
0x3c018-Sep-09 7:40
0x3c018-Sep-09 7:40 
AnswerRe: No connection could be made because the target machine actively refused it Pin
Arun Jacob18-Sep-09 19:00
Arun Jacob18-Sep-09 19:00 
QuestionHow to find total data downloaded and uploaded by user (using c# code) Pin
Ajay Kewale18-Sep-09 5:27
Ajay Kewale18-Sep-09 5:27 
AnswerRe: How to find total data downloaded and uploaded by user (using c# code) Pin
Eddy Vluggen18-Sep-09 9:53
professionalEddy Vluggen18-Sep-09 9:53 
QuestionHow to get upload status in steps Pin
vsaratkar18-Sep-09 5:12
vsaratkar18-Sep-09 5:12 
Hi,

I have a desktop application which takes photos and upload to a web server. I am using HttpWebRequest and HttpWebResponse classes to make request and get response. I am showing progressbar on the UI to show upload process. Everything is working fine. But since I am getting the status, when one file gets uploaded completely, my progressbar looks frozen, till the complete file upload.

var responseFromServer = ServiceRequest.GetResponsePhoto("AddPhotos", "ServiceInstances", photoToUpload, serviceInstanceID.ToString());
var response = responseFromServer.Deserialize<Dictionary<string, object>>();
bool success = (bool)response["success"];


ServiceRequest class takes care of making a request and getting response from server.
HttpWebResponse.GetResponseStream method gives response for the complete upload of one file. I want to know if there is any way I could able to know intermediate upload steps which I can show on the progressbar which makes UI more interactive.

Any help or any sample will be greatly appreciated.

Veena
AnswerRe: How to get upload status in steps Pin
Not Active18-Sep-09 5:22
mentorNot Active18-Sep-09 5:22 
AnswerRe: How to get upload status in steps Pin
Dave Kreskowiak18-Sep-09 5:24
mveDave Kreskowiak18-Sep-09 5:24 
AnswerRe: How to get upload status in steps Pin
vsaratkar18-Sep-09 7:19
vsaratkar18-Sep-09 7:19 
QuestionAccessing to an Object in Section4 of a Crystal Report with C# ? Pin
Mohammad Dayyan18-Sep-09 5:07
Mohammad Dayyan18-Sep-09 5:07 
Questionplay video on the form without a control Pin
Jassim Rahma18-Sep-09 4:47
Jassim Rahma18-Sep-09 4:47 
AnswerRe: play video on the form without a control Pin
EliottA18-Sep-09 4:56
EliottA18-Sep-09 4:56 
Questionyour advise plz: Activate the software Pin
Jassim Rahma18-Sep-09 4:45
Jassim Rahma18-Sep-09 4:45 
AnswerRe: your advise plz: Activate the software Pin
EliottA18-Sep-09 4:55
EliottA18-Sep-09 4:55 
AnswerRe: your advise plz: Activate the software Pin
Henry Minute18-Sep-09 4:56
Henry Minute18-Sep-09 4:56 
Questioncustomize Crystal Report Viewer statusbar Pin
Jassim Rahma18-Sep-09 4:42
Jassim Rahma18-Sep-09 4:42 
AnswerRe: customize Crystal Report Viewer statusbar Pin
Henry Minute18-Sep-09 4:51
Henry Minute18-Sep-09 4:51 
Questionusing MDF file without SQL Server Pin
Jassim Rahma18-Sep-09 4:40
Jassim Rahma18-Sep-09 4:40 
AnswerRe: using MDF file without SQL Server Pin
Dave Kreskowiak18-Sep-09 5:19
mveDave Kreskowiak18-Sep-09 5:19 
Questionpopup calendar when right clicked on Crystal Report Viewer Pin
Jassim Rahma18-Sep-09 4:37
Jassim Rahma18-Sep-09 4:37 
QuestionCrystal Reports with SQL Server step by step Pin
Jassim Rahma18-Sep-09 4:35
Jassim Rahma18-Sep-09 4:35 
QuestionCrossing Threads Pin
FJJCENTU18-Sep-09 4:30
FJJCENTU18-Sep-09 4:30 
AnswerRe: Crossing Threads Pin
Luc Pattyn18-Sep-09 4:44
sitebuilderLuc Pattyn18-Sep-09 4:44 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.