Click here to Skip to main content
15,886,693 members
Home / Discussions / .NET (Core and Framework)
   

.NET (Core and Framework)

 
AnswerRe: Looking for a asp.net with c# mentor Pin
Richard MacCutchan3-Feb-13 22:26
mveRichard MacCutchan3-Feb-13 22:26 
GeneralRe: Looking for a asp.net with c# mentor Pin
Sheikh Muhammad Haris9-Feb-13 15:53
Sheikh Muhammad Haris9-Feb-13 15:53 
Question.NET CF 3.9 Pin
Dominick Marciano1-Feb-13 10:40
professionalDominick Marciano1-Feb-13 10:40 
QuestionVB.NET Array.Copy Question Pin
Eric Whitmore29-Jan-13 5:02
Eric Whitmore29-Jan-13 5:02 
AnswerRe: VB.NET Array.Copy Question Pin
Alan N29-Jan-13 6:33
Alan N29-Jan-13 6:33 
AnswerRe: VB.NET Array.Copy Question Pin
wajeetalohana30-Jan-13 0:30
wajeetalohana30-Jan-13 0:30 
GeneralRe: VB.NET Array.Copy Question Pin
Dave Kreskowiak30-Jan-13 0:53
mveDave Kreskowiak30-Jan-13 0:53 
AnswerRe: VB.NET Array.Copy Question Pin
Pete O'Hanlon30-Jan-13 1:21
mvePete O'Hanlon30-Jan-13 1:21 
As Alan has said, the problem is to do with the fact that the array isn't big enough to contain this. A simple way to fix this is to create a generic list of bytes and add the data into it. You can easily get an array out of this like this:
VB
Dim pdfData As New List(Of [Byte])(pdfBytesSyllabus.Length + pdfBytesCenter.Length)
pdfData.AddRange(pdfBytesCenter)
pdfData.AddRange(pdfBytesSyllabus)
' To get an array, just use
Dim cumulativePdfData As Byte() = pdfData.ToArray()

I was brought up to respect my elders. I don't respect many people nowadays.

CodeStash - Online Snippet Management | My blog | MoXAML PowerToys | Mole 2010 - debugging made easier

AnswerRe: VB.NET Array.Copy Question Pin
Eric Whitmore30-Jan-13 2:16
Eric Whitmore30-Jan-13 2:16 
GeneralRe: VB.NET Array.Copy Question Pin
Pete O'Hanlon30-Jan-13 2:27
mvePete O'Hanlon30-Jan-13 2:27 
QuestionHow to show XPS navigation tree Pin
Martiniak28-Jan-13 19:25
Martiniak28-Jan-13 19:25 
AnswerRe: How to show XPS navigation tree Pin
Richard MacCutchan29-Jan-13 3:30
mveRichard MacCutchan29-Jan-13 3:30 
AnswerRe: How to show XPS navigation tree Pin
Pete O'Hanlon29-Jan-13 4:57
mvePete O'Hanlon29-Jan-13 4:57 
QuestionIn-Depth Book for CLI Pin
Dominick Marciano28-Jan-13 14:56
professionalDominick Marciano28-Jan-13 14:56 
AnswerRe: In-Depth Book for CLI Pin
Richard MacCutchan28-Jan-13 22:37
mveRichard MacCutchan28-Jan-13 22:37 
AnswerRe: In-Depth Book for CLI Pin
Pete O'Hanlon28-Jan-13 23:19
mvePete O'Hanlon28-Jan-13 23:19 
AnswerRe: In-Depth Book for CLI Pin
Gerry Schmitz29-Jan-13 5:41
mveGerry Schmitz29-Jan-13 5:41 
AnswerRe: In-Depth Book for CLI Pin
jschell29-Jan-13 13:37
jschell29-Jan-13 13:37 
AnswerRe: In-Depth Book for CLI Pin
Dominick Marciano30-Jan-13 14:40
professionalDominick Marciano30-Jan-13 14:40 
QuestionExtract MDE File data to CSV Pin
sny hmt27-Jan-13 16:17
sny hmt27-Jan-13 16:17 
AnswerRe: Extract MDE File data to CSV Pin
Richard MacCutchan27-Jan-13 22:44
mveRichard MacCutchan27-Jan-13 22:44 
QuestionBook recommendations for MS course 20486A (MVC 4) Pin
DoStuffZ24-Jan-13 1:24
DoStuffZ24-Jan-13 1:24 
QuestionGoogle Maps Pin
rongqu23-Jan-13 4:31
rongqu23-Jan-13 4:31 
AnswerRe: Google Maps Pin
Pete O'Hanlon23-Jan-13 5:41
mvePete O'Hanlon23-Jan-13 5:41 
AnswerRe: Google Maps Pin
Sandeep Mewara23-Jan-13 8:28
mveSandeep Mewara23-Jan-13 8:28 

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.