Click here to Skip to main content
15,925,505 members
Home / Discussions / Visual Basic
   

Visual Basic

 
GeneralRe: Shared Class Members Pin
Luke R4-Oct-06 12:06
Luke R4-Oct-06 12:06 
AnswerRe: Shared Class Members Pin
Christian Graus4-Oct-06 12:08
protectorChristian Graus4-Oct-06 12:08 
GeneralRe: Shared Class Members Pin
Luke R4-Oct-06 12:14
Luke R4-Oct-06 12:14 
GeneralRe: Shared Class Members Pin
Christian Graus4-Oct-06 12:30
protectorChristian Graus4-Oct-06 12:30 
GeneralRe: Shared Class Members Pin
Luke R4-Oct-06 12:47
Luke R4-Oct-06 12:47 
GeneralRe: Shared Class Members Pin
Christian Graus4-Oct-06 12:51
protectorChristian Graus4-Oct-06 12:51 
GeneralRe: Shared Class Members Pin
Luke R4-Oct-06 12:57
Luke R4-Oct-06 12:57 
GeneralRe: Shared Class Members Pin
Christian Graus4-Oct-06 13:04
protectorChristian Graus4-Oct-06 13:04 
It's not too complex, a struct is a more lightweight object. The most significant difference is that a class is always passed by ref, so if you pass a class instance into a method, changing a property on that class changes it in the calling function as well. A struct is passed by value ( a copy is made ), so changes are not reflected in the calling object unless you specify that you wanted to pass by ref.


Christian Graus - Microsoft MVP - C++
Metal Musings - Rex and my new metal blog

GeneralRe: Shared Class Members Pin
Luke R4-Oct-06 13:07
Luke R4-Oct-06 13:07 
GeneralRe: Shared Class Members Pin
Guffa4-Oct-06 12:25
Guffa4-Oct-06 12:25 
QuestionError - NonComVisible Base Class Pin
eatwork4-Oct-06 9:59
eatwork4-Oct-06 9:59 
QuestionUsing ADODC in VB6 Pin
Tomic4-Oct-06 7:02
Tomic4-Oct-06 7:02 
AnswerRe: Using ADODC in VB6 Pin
Guffa4-Oct-06 12:13
Guffa4-Oct-06 12:13 
Question[VB.NET] Need help with serial port communication Pin
belowzero4-Oct-06 5:05
belowzero4-Oct-06 5:05 
AnswerRe: [VB.NET] Need help with serial port communication Pin
Dave Kreskowiak4-Oct-06 6:27
mveDave Kreskowiak4-Oct-06 6:27 
GeneralRe: [VB.NET] Need help with serial port communication Pin
belowzero4-Oct-06 8:23
belowzero4-Oct-06 8:23 
GeneralRe: [VB.NET] Need help with serial port communication Pin
Dave Kreskowiak4-Oct-06 9:31
mveDave Kreskowiak4-Oct-06 9:31 
GeneralRe: [VB.NET] Need help with serial port communication Pin
belowzero4-Oct-06 19:39
belowzero4-Oct-06 19:39 
GeneralRe: [VB.NET] Need help with serial port communication Pin
belowzero5-Oct-06 6:43
belowzero5-Oct-06 6:43 
QuestionTableLayoutPanel Question Pin
Like2Byte4-Oct-06 5:05
Like2Byte4-Oct-06 5:05 
AnswerRe: TableLayoutPanel Question Pin
Dave Kreskowiak4-Oct-06 5:37
mveDave Kreskowiak4-Oct-06 5:37 
GeneralRe: TableLayoutPanel Question Pin
Like2Byte4-Oct-06 5:41
Like2Byte4-Oct-06 5:41 
Question.NET Delegate [modified] Pin
nlindley74-Oct-06 4:32
nlindley74-Oct-06 4:32 
AnswerRe: .NET Delegate Pin
Dave Kreskowiak4-Oct-06 5:20
mveDave Kreskowiak4-Oct-06 5:20 
GeneralRe: .NET Delegate Pin
nlindley74-Oct-06 6:28
nlindley74-Oct-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.