Click here to Skip to main content
16,017,608 members
Home / Discussions / Visual Basic
   

Visual Basic

 
GeneralRe: Dispose Class Pin
Colin Angus Mackay3-May-05 1:07
Colin Angus Mackay3-May-05 1:07 
GeneralRe: Dispose Class Pin
nitin_ion3-May-05 1:25
nitin_ion3-May-05 1:25 
GeneralRe: Dispose Class Pin
Colin Angus Mackay3-May-05 1:36
Colin Angus Mackay3-May-05 1:36 
GeneralRe: Dispose Class Pin
nitin_ion3-May-05 1:48
nitin_ion3-May-05 1:48 
GeneralRe: Dispose Class Pin
Colin Angus Mackay3-May-05 3:24
Colin Angus Mackay3-May-05 3:24 
GeneralRe: Dispose Class Pin
nitin_ion3-May-05 19:21
nitin_ion3-May-05 19:21 
GeneralRe: Dispose Class Pin
Colin Angus Mackay3-May-05 20:46
Colin Angus Mackay3-May-05 20:46 
GeneralRe: Dispose Class Pin
nitin_ion3-May-05 20:51
nitin_ion3-May-05 20:51 
I forgot to mention that collection is declared as shared and i did figured out that this is the problem. But i cannot declare collection as instance of the class. But i want to destroy the collection with the instance of the class. so i tried c.col =nothing (col is collection type property). But the next time i click on the button it gives object reference error whcih is understandable since shared are not instance specific. So the now the class is initialized but the shared collection is already set to nothing.
What should i do so that the collection is destroyed along with the instance of the class or is there a datatype that works like shared but is destroyed when the instance is destroyed.

Collection is declared in the declaration part.
GeneralRe: Dispose Class Pin
Colin Angus Mackay3-May-05 22:28
Colin Angus Mackay3-May-05 22:28 
GeneralRe: Dispose Class Pin
nitin_ion3-May-05 22:59
nitin_ion3-May-05 22:59 
QuestionHow to capture width in paint event of picturebox Pin
meghadwivedi2-May-05 19:52
meghadwivedi2-May-05 19:52 
AnswerRe: How to capture width in paint event of picturebox Pin
Fernando Soto3-May-05 14:30
Fernando Soto3-May-05 14:30 
Generalproblem with ntvdm.exe Pin
Jason Brumwell2-May-05 17:02
sussJason Brumwell2-May-05 17:02 
GeneralRe: problem with ntvdm.exe Pin
Dave Kreskowiak3-May-05 2:22
mveDave Kreskowiak3-May-05 2:22 
GeneralRe: problem with ntvdm.exe Pin
Jason Brumwell3-May-05 15:46
sussJason Brumwell3-May-05 15:46 
GeneralWeird Textbox Behavior Pin
Computer_Guy2-May-05 16:29
Computer_Guy2-May-05 16:29 
GeneralRe: Weird Textbox Behavior Pin
Het21092-May-05 18:59
Het21092-May-05 18:59 
GeneralRe: Weird Textbox Behavior Pin
Computer_Guy3-May-05 2:36
Computer_Guy3-May-05 2:36 
GeneralRe: Weird Textbox Behavior Pin
lmaks3-May-05 19:19
lmaks3-May-05 19:19 
GeneralRe: Weird Textbox Behavior Pin
Computer_Guy4-May-05 2:26
Computer_Guy4-May-05 2:26 
QuestionHow to get Pin
Yulianto.2-May-05 16:09
Yulianto.2-May-05 16:09 
AnswerRe: How to get Pin
Christian Graus2-May-05 16:20
protectorChristian Graus2-May-05 16:20 
GeneralRe: How to get Pin
Yulianto.2-May-05 16:25
Yulianto.2-May-05 16:25 
GeneralRe: How to get Pin
Christian Graus2-May-05 16:26
protectorChristian Graus2-May-05 16:26 
GeneralRe: How to get Pin
rwestgraham2-May-05 18:58
rwestgraham2-May-05 18:58 

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.