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

Visual Basic

 
Question[Message Deleted] Pin
AliAmjad12-Sep-08 2:46
AliAmjad12-Sep-08 2:46 
AnswerRe: Concept Clarification Pin
Paul Conrad12-Sep-08 5:44
professionalPaul Conrad12-Sep-08 5:44 
GeneralRe: Concept Clarification Pin
AliAmjad12-Sep-08 7:20
AliAmjad12-Sep-08 7:20 
GeneralRe: Concept Clarification Pin
Paul Conrad12-Sep-08 9:03
professionalPaul Conrad12-Sep-08 9:03 
AnswerRe: Concept Clarification Pin
Jon_Boy12-Sep-08 6:06
Jon_Boy12-Sep-08 6:06 
GeneralRe: Concept Clarification Pin
AliAmjad12-Sep-08 7:25
AliAmjad12-Sep-08 7:25 
GeneralRe: Concept Clarification Pin
AliAmjad12-Sep-08 7:30
AliAmjad12-Sep-08 7:30 
GeneralRe: Concept Clarification Pin
Dave Kreskowiak12-Sep-08 7:49
mveDave Kreskowiak12-Sep-08 7:49 
Your question, as worded, implies that you don't know anything about how to declare a variable or create an instance of a class. This is VB.NET 101 type stuff, which is probably why you got knocked down.

The answer to the question at hand is quite simple. Memory is allocated to hold an instance of the object, both the code and data seperately. The code is only kept in memory once for every instance of the class, while each instance's data is kept seperately in their own blocks of memory.

If you wanted to know something beyond this, perhaps an explanation of what you're thinking is going on, or what the situation is you're facing, or why you're looking for more detail would be in order.


A guide to posting questions on CodeProject[^]



Dave Kreskowiak
Microsoft MVP
Visual Developer - Visual Basic
     2006, 2007, 2008




GeneralRe: Concept Clarification Pin
AliAmjad12-Sep-08 8:07
AliAmjad12-Sep-08 8:07 
GeneralRe: Concept Clarification Pin
Paul Conrad12-Sep-08 9:04
professionalPaul Conrad12-Sep-08 9:04 
GeneralRe: Concept Clarification Pin
AliAmjad12-Sep-08 11:19
AliAmjad12-Sep-08 11:19 
GeneralRe: Concept Clarification Pin
Dave Kreskowiak12-Sep-08 12:18
mveDave Kreskowiak12-Sep-08 12:18 
AnswerRe: Concept Clarification Pin
Guffa12-Sep-08 11:28
Guffa12-Sep-08 11:28 
QuestionPrinter showing Spoling status after printing through VB application Pin
praveenhathwar11-Sep-08 21:11
praveenhathwar11-Sep-08 21:11 
AnswerRe: Printer showing Spoling status after printing through VB application Pin
Paul Conrad12-Sep-08 5:45
professionalPaul Conrad12-Sep-08 5:45 
QuestionCalculating the CPU usage of ONE process with VB.NET 2003 Pin
Chaos Machine11-Sep-08 20:09
Chaos Machine11-Sep-08 20:09 
AnswerRe: Calculating the CPU usage of ONE process with VB.NET 2003 Pin
Dave Kreskowiak12-Sep-08 1:45
mveDave Kreskowiak12-Sep-08 1:45 
QuestionXML XPath search in vb.net Pin
japel11-Sep-08 12:10
japel11-Sep-08 12:10 
QuestionControl master/wave/mic of soundcard Pin
Me kiter11-Sep-08 8:01
Me kiter11-Sep-08 8:01 
AnswerRe: Control master/wave/mic of soundcard Pin
jzonthemtn11-Sep-08 10:05
jzonthemtn11-Sep-08 10:05 
Questionmetaphones Pin
lawasso11-Sep-08 4:16
lawasso11-Sep-08 4:16 
AnswerRe: metaphones Pin
leppie11-Sep-08 4:34
leppie11-Sep-08 4:34 
QuestionVBScript - View Source Pin
Reelix11-Sep-08 3:55
Reelix11-Sep-08 3:55 
AnswerRe: VBScript - View Source Pin
jzonthemtn11-Sep-08 6:24
jzonthemtn11-Sep-08 6:24 
GeneralRe: VBScript - View Source Pin
Reelix11-Sep-08 20:11
Reelix11-Sep-08 20:11 

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.