Click here to Skip to main content
15,900,973 members
Home / Discussions / Visual Basic
   

Visual Basic

 
AnswerRe: TextBox focus on loading form Pin
Richard W Allen3-Feb-09 2:01
Richard W Allen3-Feb-09 2:01 
QuestionDateTimePicker Pin
vijay24822-Feb-09 21:45
vijay24822-Feb-09 21:45 
AnswerRe: DateTimePicker Pin
Rupesh Kumar Swami2-Feb-09 22:32
Rupesh Kumar Swami2-Feb-09 22:32 
GeneralRe: DateTimePicker [modified] Pin
vijay24822-Feb-09 23:03
vijay24822-Feb-09 23:03 
QuestionModifying user defined structures in a collection Pin
Jay Royall2-Feb-09 21:43
Jay Royall2-Feb-09 21:43 
AnswerRe: Modifying user defined structures in a collection Pin
Tony Richards2-Feb-09 23:47
Tony Richards2-Feb-09 23:47 
GeneralRe: Modifying user defined structures in a collection Pin
Jay Royall2-Feb-09 23:59
Jay Royall2-Feb-09 23:59 
GeneralRe: Modifying user defined structures in a collection Pin
supercat93-Feb-09 6:04
supercat93-Feb-09 6:04 
You could try storing one-element arrays of the structure in the collection. Although "behind the scenes" each things in the collection would be a class rather than a structure (thus adding some slight extra overhead) you would be able to store them by value elsewhere if you wished.

It might also be helpful to create a generic wrapper:
Class simpleWrap(Of T)
    Public dat As T
End Class

If you did that, you could store items of type SimpleWrap(of YourStructure) in the collection. I believe that when using generic classes and methods with value type arguments, all code associated with the the classes and methods will be duplicated for each different value type, but in this scenario that shouldn't be a problem since the class has no methods and thus no code.
GeneralRe: Modifying user defined structures in a collection Pin
Guffa3-Feb-09 13:51
Guffa3-Feb-09 13:51 
GeneralRe: Modifying user defined structures in a collection Pin
Jay Royall3-Feb-09 22:06
Jay Royall3-Feb-09 22:06 
GeneralRe: Modifying user defined structures in a collection Pin
Jay Royall3-Feb-09 2:21
Jay Royall3-Feb-09 2:21 
QuestionI would love to learn how to use my compiler.. It is of a strange new language to will anyone volenteer to help teach me ? Pin
sweldon0012-Feb-09 19:48
sweldon0012-Feb-09 19:48 
AnswerRe: I would love to learn how to use my compiler.. It is of a strange new language to will anyone volenteer to help teach me ? Pin
Jay Royall2-Feb-09 21:51
Jay Royall2-Feb-09 21:51 
AnswerRe: I would love to learn how to use my compiler.. It is of a strange new language to will anyone volenteer to help teach me ? Pin
EliottA3-Feb-09 2:39
EliottA3-Feb-09 2:39 
Questionclear variables Pin
aswd2-Feb-09 18:12
aswd2-Feb-09 18:12 
AnswerRe: clear variables Pin
MohammadAmiry2-Feb-09 18:22
MohammadAmiry2-Feb-09 18:22 
GeneralRe: clear variables Pin
aswd2-Feb-09 18:26
aswd2-Feb-09 18:26 
GeneralRe: clear variables Pin
Dave Kreskowiak2-Feb-09 18:36
mveDave Kreskowiak2-Feb-09 18:36 
GeneralRe: clear variables Pin
aswd2-Feb-09 18:41
aswd2-Feb-09 18:41 
GeneralRe: clear variables Pin
Christian Graus2-Feb-09 19:18
protectorChristian Graus2-Feb-09 19:18 
GeneralRe: clear variables Pin
aswd2-Feb-09 19:28
aswd2-Feb-09 19:28 
GeneralRe: clear variables Pin
Dave Kreskowiak3-Feb-09 1:47
mveDave Kreskowiak3-Feb-09 1:47 
GeneralRe: clear variables Pin
EliottA3-Feb-09 2:34
EliottA3-Feb-09 2:34 
GeneralRe: clear variables Pin
Guffa4-Feb-09 1:02
Guffa4-Feb-09 1:02 
QuestionDifferent Indian Languages in Textbox Pin
harsh_c2-Feb-09 18:12
professionalharsh_c2-Feb-09 18:12 

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.