Click here to Skip to main content
15,848,483 members
Home / Discussions / Visual Basic
   

Visual Basic

 
QuestionSay Good Morning when User Start his machine through Windows Service Pin
varshavmane20-May-07 22:02
varshavmane20-May-07 22:02 
AnswerRe: Say Good Morning when User Start his machine through Windows Service Pin
Sonia Gupta20-May-07 22:24
Sonia Gupta20-May-07 22:24 
GeneralRe: Say Good Morning when User Start his machine through Windows Service Pin
varshavmane20-May-07 22:27
varshavmane20-May-07 22:27 
AnswerRe: Say Good Morning when User Start his machine through Windows Service Pin
Sonia Gupta20-May-07 22:33
Sonia Gupta20-May-07 22:33 
GeneralRe: Say Good Morning when User Start his machine through Windows Service Pin
varshavmane21-May-07 0:32
varshavmane21-May-07 0:32 
AnswerRe: Say Good Morning when User Start his machine through Windows Service Pin
Sonia Gupta21-May-07 0:40
Sonia Gupta21-May-07 0:40 
GeneralRe: Say Good Morning when User Start his machine through Windows Service Pin
Steven J Jowett21-May-07 1:27
Steven J Jowett21-May-07 1:27 
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 

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.