Click here to Skip to main content
15,902,939 members
Home / Discussions / Visual Basic
   

Visual Basic

 
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 
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 
marccp wrote:
>Possibly you could try to determine the number of elements already in the MarshalAs bit:
>Friend stringArr(DetermineNumberOfElementsHere) as String

That's not possible, because "Arrays declared as structure members cannot be declared with an initial size."


OK, I've changed structure to class, so now I can define size:

<MarshalAs(UnmanagedType.ByValArray)> _
Friend stringArr(6) As String


But it hasn't changed anything.

My array of Strings is not properly copying into ByteArray
by the StructToByteArray function.
Instead of it there are random bytes in the buffer.

Anyone can help?
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 
AnswerRe: have u ever heard it :- MissingMethodException Pin
Kevin McFarlane22-Nov-06 1:24
Kevin McFarlane22-Nov-06 1:24 
Questioncall 3rd parity dll with CreateObject Pin
b43r_3oo321-Nov-06 22:35
b43r_3oo321-Nov-06 22:35 
AnswerRe: call 3rd parity dll with CreateObject Pin
Dave Kreskowiak22-Nov-06 4:33
mveDave Kreskowiak22-Nov-06 4:33 
GeneralRe: call 3rd parity dll with CreateObject Pin
b43r_3oo322-Nov-06 6:28
b43r_3oo322-Nov-06 6: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.