Click here to Skip to main content
16,005,169 members
Home / Discussions / Visual Basic
   

Visual Basic

 
GeneralRe: The process cannot access the file 'bin\Debug\ MyProject.exe' Pin
nlarson1112-Jan-07 4:42
nlarson1112-Jan-07 4:42 
QuestionSerial number on usb flash drive Pin
gladsmhe10-Jan-07 15:02
gladsmhe10-Jan-07 15:02 
AnswerRe: Serial number on usb flash drive Pin
nlarson1110-Jan-07 15:53
nlarson1110-Jan-07 15:53 
QuestionClass that contains properties as well as a collection of a Class Pin
Marcus J. Smith10-Jan-07 9:59
professionalMarcus J. Smith10-Jan-07 9:59 
AnswerRe: Class that contains properties as well as a collection of a Class Pin
Colin Angus Mackay10-Jan-07 10:24
Colin Angus Mackay10-Jan-07 10:24 
GeneralRe: Class that contains properties as well as a collection of a Class Pin
Marcus J. Smith10-Jan-07 11:15
professionalMarcus J. Smith10-Jan-07 11:15 
GeneralRe: Class that contains properties as well as a collection of a Class Pin
nlarson1110-Jan-07 11:23
nlarson1110-Jan-07 11:23 
GeneralRe: Class that contains properties as well as a collection of a Class Pin
Christian Graus10-Jan-07 11:25
protectorChristian Graus10-Jan-07 11:25 
cleako wrote:
Set (ByVal value as Collection)
m_colPlacesLived.add(value)

You're adding a collection to m_colPlacesLived.  Is this what you mean to do ? Or do you mean to make m_colPlacesLived = value ?

cleako wrote:
objPerson.PlacesLived = objPlacesLived

Is PlacedLived a collection class ?

I'd expect you to just have a get accessor, because it returns a collection, which you can then call Add on, or Clear, or anything else.  The setter is only needed if you want to pass an entire collection in.  And if you want that, you don't want to use Add, you want to use =.




Christian Graus - C++ MVP

'Why don't we jump on a fad that hasn't already been widely discredited ?' - Dilbert

GeneralRe: Class that contains properties as well as a collection of a Class [modified] Pin
Marcus J. Smith11-Jan-07 1:56
professionalMarcus J. Smith11-Jan-07 1:56 
GeneralRe: Class that contains properties as well as a collection of a Class Pin
Christian Graus11-Jan-07 8:29
protectorChristian Graus11-Jan-07 8:29 
QuestionAccess to arraylist globaly Pin
WestSideRailways10-Jan-07 9:43
WestSideRailways10-Jan-07 9:43 
AnswerRe: Access to arraylist globaly Pin
nlarson1110-Jan-07 10:06
nlarson1110-Jan-07 10:06 
GeneralRe: Access to arraylist globaly Pin
WestSideRailways10-Jan-07 11:15
WestSideRailways10-Jan-07 11:15 
AnswerRe: Access to arraylist globaly Pin
Christian Graus10-Jan-07 11:22
protectorChristian Graus10-Jan-07 11:22 
GeneralRe: Access to arraylist globaly Pin
nlarson1110-Jan-07 11:26
nlarson1110-Jan-07 11:26 
GeneralRe: Access to arraylist globaly Pin
Christian Graus10-Jan-07 11:44
protectorChristian Graus10-Jan-07 11:44 
GeneralRe: Access to arraylist globaly Pin
WestSideRailways10-Jan-07 14:26
WestSideRailways10-Jan-07 14:26 
GeneralRe: Access to arraylist globaly Pin
nlarson1110-Jan-07 15:18
nlarson1110-Jan-07 15:18 
GeneralRe: Access to arraylist globaly Pin
Christian Graus10-Jan-07 18:19
protectorChristian Graus10-Jan-07 18:19 
GeneralRe: Access to arraylist globaly Pin
WestSideRailways10-Jan-07 19:13
WestSideRailways10-Jan-07 19:13 
GeneralRe: Access to arraylist globaly Pin
Christian Graus11-Jan-07 0:52
protectorChristian Graus11-Jan-07 0:52 
QuestionSplash screen & Startup form Pin
kindman_nb10-Jan-07 9:35
kindman_nb10-Jan-07 9:35 
QuestionSerialization in vb2005 Pin
john_paul10-Jan-07 8:27
john_paul10-Jan-07 8:27 
AnswerRe: Serialization in vb2005 Pin
Christian Graus10-Jan-07 9:16
protectorChristian Graus10-Jan-07 9:16 
AnswerRe: Serialization in vb2005 Pin
Marc Paliotti10-Jan-07 9:18
Marc Paliotti10-Jan-07 9:18 

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.