Click here to Skip to main content
15,903,175 members
Home / Discussions / Visual Basic
   

Visual Basic

 
AnswerRe: Need help getting values from a form Pin
Taylor Kobani22-Nov-06 21:10
Taylor Kobani22-Nov-06 21:10 
Questionevent log Listener Pin
ONeil Tomlinson22-Nov-06 4:13
ONeil Tomlinson22-Nov-06 4:13 
AnswerRe: event log Listener Pin
Johan Hakkesteegt26-Nov-06 22:21
Johan Hakkesteegt26-Nov-06 22:21 
QuestionHelp using control collection Pin
Magno R. Vasquez22-Nov-06 3:48
Magno R. Vasquez22-Nov-06 3:48 
GeneralRe: Help using control collection Pin
hollywood_t22-Nov-06 4:14
hollywood_t22-Nov-06 4:14 
AnswerRe: Help using control collection Pin
hollywood_t24-Nov-06 5:41
hollywood_t24-Nov-06 5:41 
QuestionMarshal arrays of strings - how to? Pin
marccp22-Nov-06 3:45
marccp22-Nov-06 3:45 
AnswerRe: Marshal arrays of strings - how to? Pin
Johan Hakkesteegt23-Nov-06 23:20
Johan Hakkesteegt23-Nov-06 23:20 
Hi Marc,

If I understand the question correctly, the answer is simple:

<br />
Dim NumberOfElements as Integer<br />
NumberOfElements = 4 'for example<br />
Dim MyStringArray(NumberOfElements) as string 'Gives you an array, with 5 empty elements<br />
MyStringArray.SetValue("Hello", 0)<br />
MyStringArray.SetValue(" ", 1)<br />
MyStringArray.SetValue("World", 2)<br />
MyStringArray.SetValue("!", 3)<br />
'etc<br />


In other words, determine how many elements will be in your array, and then fill them up any which way you like.

Hope this helps you,

Johan
GeneralRe: Marshal arrays of strings - how to? Pin
marccp26-Nov-06 23:09
marccp26-Nov-06 23:09 
GeneralRe: Marshal arrays of strings - how to? Pin
Johan Hakkesteegt27-Nov-06 0:02
Johan Hakkesteegt27-Nov-06 0:02 
GeneralRe: Marshal arrays of strings - how to? Pin
marccp27-Nov-06 1:27
marccp27-Nov-06 1:27 
GeneralRe: Marshal arrays of strings - how to? Pin
marccp27-Nov-06 3:13
marccp27-Nov-06 3:13 
QuestionWhat is the meaning of below statement. Pin
ashwath197922-Nov-06 2:19
ashwath197922-Nov-06 2:19 
AnswerRe: What is the meaning of below statement. Pin
Dave Sexton22-Nov-06 2:30
Dave Sexton22-Nov-06 2:30 
AnswerRe: What is the meaning of below statement. Pin
Christian Graus22-Nov-06 7:36
protectorChristian Graus22-Nov-06 7:36 
GeneralRe: What is the meaning of below statement. Pin
Dave Sexton22-Nov-06 20:10
Dave Sexton22-Nov-06 20:10 
QuestionData table questions Pin
cstrader23222-Nov-06 1:34
cstrader23222-Nov-06 1:34 
AnswerRe: Data table questions Pin
Johan Hakkesteegt24-Nov-06 1:14
Johan Hakkesteegt24-Nov-06 1:14 
QuestionMirror Image Pin
danasegaranea21-Nov-06 23:55
danasegaranea21-Nov-06 23:55 
AnswerRe: Mirror Image Pin
Kapil Thakur22-Nov-06 0:28
Kapil Thakur22-Nov-06 0:28 
AnswerRe: Mirror Image Pin
Christian Graus22-Nov-06 7:36
protectorChristian Graus22-Nov-06 7:36 
QuestionMulti-dimensionnal array, but with differenty type in the columns Pin
ChPortos21-Nov-06 23:55
ChPortos21-Nov-06 23:55 
AnswerRe: Multi-dimensionnal array, but with differenty type in the columns Pin
Kevin McFarlane22-Nov-06 1:20
Kevin McFarlane22-Nov-06 1:20 
GeneralRe: Multi-dimensionnal array, but with differenty type in the columns Pin
ChPortos22-Nov-06 2:19
ChPortos22-Nov-06 2:19 
Questionhave u ever heard it :- MissingMethodException Pin
Mauleen21-Nov-06 23:51
Mauleen21-Nov-06 23:51 

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.