Click here to Skip to main content
15,887,485 members
Home / Discussions / Visual Basic
   

Visual Basic

 
Questionregistry Pin
Sonia Gupta20-May-07 20:32
Sonia Gupta20-May-07 20:32 
AnswerRe: registry Pin
Christian Graus20-May-07 20:54
protectorChristian Graus20-May-07 20:54 
QuestionRe: registry Pin
Sonia Gupta20-May-07 21:15
Sonia Gupta20-May-07 21:15 
AnswerRe: registry Pin
Dave Kreskowiak21-May-07 3:20
mveDave Kreskowiak21-May-07 3:20 
Questionarray addition Pin
Sonia Gupta20-May-07 20:12
Sonia Gupta20-May-07 20:12 
AnswerRe: array addition Pin
Christian Graus20-May-07 20:55
protectorChristian Graus20-May-07 20:55 
QuestionRe: array addition Pin
Sonia Gupta20-May-07 21:20
Sonia Gupta20-May-07 21:20 
AnswerRe: array addition Pin
Dave Kreskowiak21-May-07 3:15
mveDave Kreskowiak21-May-07 3: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 1:54
Sonia Gupta21-May-07 1:54 
AnswerRe: array addition Pin
Dave Kreskowiak21-May-07 3:16
mveDave Kreskowiak21-May-07 3:16 
Questionhello isidor7,Thankx for reply butttttttttt..... . Pin
koolprasad200320-May-07 20:05
professionalkoolprasad200320-May-07 20:05 
AnswerRe: hello isidor7,Thankx for reply butttttttttt..... . Pin
isidor720-May-07 23:34
isidor720-May-07 23:34 
GeneralRe: hello isidor7,Thankx for reply butttttttttt..... . Pin
koolprasad200321-May-07 2:26
professionalkoolprasad200321-May-07 2:26 
QuestionWin Socket Pin
Socheat.Net20-May-07 17:11
Socheat.Net20-May-07 17:11 
AnswerRe: Win Socket Pin
Sathesh Sakthivel20-May-07 17:20
Sathesh Sakthivel20-May-07 17:20 
GeneralRe: Win Socket Pin
Socheat.Net20-May-07 17:31
Socheat.Net20-May-07 17:31 
GeneralRe: Win Socket Pin
Sathesh Sakthivel20-May-07 17:37
Sathesh Sakthivel20-May-07 17:37 
GeneralRe: Win Socket Pin
Socheat.Net20-May-07 17:54
Socheat.Net20-May-07 17:54 
GeneralRe: Win Socket Pin
Sathesh Sakthivel20-May-07 17:56
Sathesh Sakthivel20-May-07 17:56 
GeneralRe: Win Socket Pin
Socheat.Net20-May-07 18:36
Socheat.Net20-May-07 18:36 
GeneralRe: Win Socket Pin
Sathesh Sakthivel20-May-07 23:20
Sathesh Sakthivel20-May-07 23:20 
GeneralRe: Win Socket Pin
Socheat.Net20-May-07 23:31
Socheat.Net20-May-07 23:31 
GeneralRe: Win Socket Pin
Sathesh Sakthivel21-May-07 2:56
Sathesh Sakthivel21-May-07 2:56 
GeneralRe: Win Socket Pin
Socheat.Net21-May-07 15:36
Socheat.Net21-May-07 15:36 
GeneralRe: Win Socket Pin
Sathesh Sakthivel21-May-07 18:48
Sathesh Sakthivel21-May-07 18: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.