Click here to Skip to main content
15,793,707 members
Home / Discussions / Visual Basic
   

Visual Basic

 
Questionregistry Pin
Sonia Gupta20-May-07 21:32
Sonia Gupta20-May-07 21:32 
AnswerRe: registry Pin
Christian Graus20-May-07 21:54
protectorChristian Graus20-May-07 21:54 
QuestionRe: registry Pin
Sonia Gupta20-May-07 22:15
Sonia Gupta20-May-07 22:15 
AnswerRe: registry Pin
Dave Kreskowiak21-May-07 4:20
mveDave Kreskowiak21-May-07 4:20 
Questionarray addition Pin
Sonia Gupta20-May-07 21:12
Sonia Gupta20-May-07 21:12 
AnswerRe: array addition Pin
Christian Graus20-May-07 21:55
protectorChristian Graus20-May-07 21:55 
QuestionRe: array addition Pin
Sonia Gupta20-May-07 22:20
Sonia Gupta20-May-07 22:20 
AnswerRe: array addition Pin
Dave Kreskowiak21-May-07 4:15
mveDave Kreskowiak21-May-07 4:15 
That's not the way it works. There is no operation defined for (System.Array) + (System.Array).

You either uses lists for this or use the Array.CopyTo method to build this array.
Dim d1() As Integer = {1, 2, 3}
Dim d2() As Integer = {4, 5, 6}
Dim d3(5) As Integer
Array.Copy(d1, d3, 3)
d2.CopyTo(d3, 3)

Or using a List(Of T):
Dim d1() As Integer = {1, 2, 3}
Dim d2() As Integer = {4, 5, 6}
Dim d3 As List(Of Integer)
d3.AddRange(d1)
d3.AddRange(d2)




A guide to posting questions on CodeProject[^]

Dave Kreskowiak
Microsoft MVP
Visual Developer - Visual Basic
     2006, 2007


QuestionRe: array addition Pin
Sonia Gupta21-May-07 2:54
Sonia Gupta21-May-07 2:54 
AnswerRe: array addition Pin
Dave Kreskowiak21-May-07 4:16
mveDave Kreskowiak21-May-07 4:16 
Questionhello isidor7,Thankx for reply butttttttttt..... . Pin
koolprasad200320-May-07 21:05
professionalkoolprasad200320-May-07 21:05 
AnswerRe: hello isidor7,Thankx for reply butttttttttt..... . Pin
isidor721-May-07 0:34
isidor721-May-07 0:34 
GeneralRe: hello isidor7,Thankx for reply butttttttttt..... . Pin
koolprasad200321-May-07 3:26
professionalkoolprasad200321-May-07 3:26 
QuestionWin Socket Pin
Socheat.Net20-May-07 18:11
Socheat.Net20-May-07 18:11 
AnswerRe: Win Socket Pin
Sathesh Sakthivel20-May-07 18:20
Sathesh Sakthivel20-May-07 18:20 
GeneralRe: Win Socket Pin
Socheat.Net20-May-07 18:31
Socheat.Net20-May-07 18:31 
GeneralRe: Win Socket Pin
Sathesh Sakthivel20-May-07 18:37
Sathesh Sakthivel20-May-07 18:37 
GeneralRe: Win Socket Pin
Socheat.Net20-May-07 18:54
Socheat.Net20-May-07 18:54 
GeneralRe: Win Socket Pin
Sathesh Sakthivel20-May-07 18:56
Sathesh Sakthivel20-May-07 18:56 
GeneralRe: Win Socket Pin
Socheat.Net20-May-07 19:36
Socheat.Net20-May-07 19:36 
GeneralRe: Win Socket Pin
Sathesh Sakthivel21-May-07 0:20
Sathesh Sakthivel21-May-07 0:20 
GeneralRe: Win Socket Pin
Socheat.Net21-May-07 0:31
Socheat.Net21-May-07 0:31 
GeneralRe: Win Socket Pin
Sathesh Sakthivel21-May-07 3:56
Sathesh Sakthivel21-May-07 3:56 
GeneralRe: Win Socket Pin
Socheat.Net21-May-07 16:36
Socheat.Net21-May-07 16:36 
GeneralRe: Win Socket Pin
Sathesh Sakthivel21-May-07 19:48
Sathesh Sakthivel21-May-07 19:48 

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.