Click here to Skip to main content
15,888,521 members
Home / Discussions / C#
   

C#

 
GeneralRe: Creating Events with Dynamically created ComboBox(es) Pin
Foothill20-Oct-15 3:58
professionalFoothill20-Oct-15 3:58 
QuestionHow to resolve network related or instance specific error Pin
Member 1200209515-Oct-15 20:26
Member 1200209515-Oct-15 20:26 
AnswerRe: How to resolve network related or instance specific error Pin
OriginalGriff15-Oct-15 21:37
mveOriginalGriff15-Oct-15 21:37 
AnswerRe: How to resolve network related or instance specific error Pin
NeillJam15-Oct-15 22:16
NeillJam15-Oct-15 22:16 
GeneralRe: How to resolve network related or instance specific error Pin
Member 1200209515-Oct-15 22:37
Member 1200209515-Oct-15 22:37 
GeneralRe: How to resolve network related or instance specific error Pin
NeillJam15-Oct-15 23:05
NeillJam15-Oct-15 23:05 
AnswerRe: How to resolve network related or instance specific error Pin
NeillJam15-Oct-15 23:24
NeillJam15-Oct-15 23:24 
QuestionHow do I download big file of applications Pin
Member 1201610615-Oct-15 14:58
Member 1201610615-Oct-15 14:58 
I can download small size of application but could not download big size of application. It shows out of memory.

Below is my code:
string Files = ListBox1.SelectedValue;
            byte[] fileBytes = System.IO.File.ReadAllBytes(Files);

            WebClient User = new WebClient();
            byte[] FileBuffer = User.DownloadData(Files);

            if (FileBuffer != null)
            {
                System.Web.HttpContext context = System.Web.HttpContext.Current;
                context.Response.Clear();
                context.Response.ClearHeaders();
                context.Response.ClearContent();
                context.Response.ContentType = "application/octet-stream";
                context.Response.AddHeader("content-length", FileBuffer.Length.ToString());
                context.Response.AppendHeader("Content-Disposition", "attachment; filename=" + Path.GetFileName(Files));
                context.Response.BinaryWrite(FileBuffer);
                context.ApplicationInstance.CompleteRequest();

Could pls anyone help...
SuggestionRe: How do I download big file of applications Pin
Richard MacCutchan15-Oct-15 23:03
mveRichard MacCutchan15-Oct-15 23:03 
GeneralRe: How do I download big file of applications Pin
Member 1201610615-Oct-15 23:31
Member 1201610615-Oct-15 23:31 
GeneralRe: How do I download big file of applications Pin
molesworth16-Oct-15 2:43
molesworth16-Oct-15 2:43 
AnswerRe: How do I download big file of applications Pin
Richard Deeming16-Oct-15 2:44
mveRichard Deeming16-Oct-15 2:44 
QuestionI try to dynamically generate a name for my objects Pin
Member 1019526215-Oct-15 10:41
Member 1019526215-Oct-15 10:41 
AnswerRe: I try to dynamically generate a name for my objects Pin
BillWoodruff15-Oct-15 18:56
professionalBillWoodruff15-Oct-15 18:56 
GeneralRe: I try to dynamically generate a name for my objects Pin
Member 1019526219-Oct-15 7:11
Member 1019526219-Oct-15 7:11 
QuestionAccessing dynamically generated textboxes Pin
KakitaIppatsu15-Oct-15 5:43
KakitaIppatsu15-Oct-15 5:43 
AnswerRe: Accessing dynamically generated textboxes Pin
OriginalGriff15-Oct-15 6:11
mveOriginalGriff15-Oct-15 6:11 
GeneralRe: Accessing dynamically generated textboxes Pin
KakitaIppatsu15-Oct-15 6:39
KakitaIppatsu15-Oct-15 6:39 
GeneralRe: Accessing dynamically generated textboxes Pin
OriginalGriff15-Oct-15 7:06
mveOriginalGriff15-Oct-15 7:06 
AnswerRe: Accessing dynamically generated textboxes Pin
BillWoodruff15-Oct-15 6:52
professionalBillWoodruff15-Oct-15 6:52 
GeneralRe: Accessing dynamically generated textboxes Pin
KakitaIppatsu15-Oct-15 7:47
KakitaIppatsu15-Oct-15 7:47 
QuestionThe “Microsoft.CodeAnalysis.BuildTasks.Csc” task could not be loaded from the assembly Pin
Member 1204569215-Oct-15 3:31
Member 1204569215-Oct-15 3:31 
QuestionTime to draw 2 usercontrols on a form is depend on each other. Pin
LeHuuTien14-Oct-15 16:10
LeHuuTien14-Oct-15 16:10 
AnswerRe: Time to draw 2 usercontrols on a form is depend on each other. Pin
BillWoodruff14-Oct-15 20:37
professionalBillWoodruff14-Oct-15 20:37 
GeneralRe: Time to draw 2 usercontrols on a form is depend on each other. Pin
LeHuuTien14-Oct-15 22:27
LeHuuTien14-Oct-15 22:27 

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.