Click here to Skip to main content
15,891,597 members
Home / Discussions / Visual Basic
   

Visual Basic

 
GeneralRe: There must be a better way to enter lots of strongly typed properties in a class Pin
Dave Kreskowiak27-Jun-07 5:01
mveDave Kreskowiak27-Jun-07 5:01 
GeneralRe: There must be a better way to enter lots of strongly typed properties in a class [modified] Pin
Taylor Kobani27-Jun-07 6:46
Taylor Kobani27-Jun-07 6:46 
GeneralRe: There must be a better way to enter lots of strongly typed properties in a class Pin
Dave Kreskowiak27-Jun-07 7:09
mveDave Kreskowiak27-Jun-07 7:09 
GeneralRe: There must be a better way to enter lots of strongly typed properties in a class Pin
MartyK200727-Jun-07 21:11
MartyK200727-Jun-07 21:11 
GeneralRe: There must be a better way to enter lots of strongly typed properties in a class Pin
Dave Kreskowiak28-Jun-07 2:40
mveDave Kreskowiak28-Jun-07 2:40 
GeneralRe: There must be a better way to enter lots of strongly typed properties in a class Pin
MartyK200728-Jun-07 3:08
MartyK200728-Jun-07 3:08 
AnswerRe: There must be a better way to enter lots of strongly typed properties in a class Pin
SHatchard27-Jun-07 3:51
SHatchard27-Jun-07 3:51 
GeneralRe: There must be a better way to enter lots of strongly typed properties in a class Pin
MartyK200727-Jun-07 4:04
MartyK200727-Jun-07 4:04 
hi,
I am on version 2
I think this is the same as the array solution
it would look something like

public property Name as string
get
return list(0).Myproperty1

..........etc
I need to relate property Name to Index position 0 in this case.
In my current development I will need about 30 of these clases averaging 20 of these properties per class. The worst class will have 80 or so properties.


I am really looking for something like

public property Name as string
get
return <obj>("Name") 'where <obj> is some classed object

...............
I could use collection but writing back changes is upgly (removing the item then adding it again - yuk)

I could use arrayLists as in return ArrayList.BinarySearch("Name") but I have to keep
the arraylist sorted and am wondering how fast the binarysearch will be compared
to the collection name index. Although knowing microsoft its probably the same code.


and then I am looking for some quick n painless way to actually type in these classes into visual studio.

Thanks
Martin



life is a bowl of cherries
go on take a byte

Questioncolored area in center all way down ? Pin
porsti26-Jun-07 21:57
porsti26-Jun-07 21:57 
AnswerRe: colored area in center all way down ? Pin
Tamimi - Code26-Jun-07 23:10
Tamimi - Code26-Jun-07 23:10 
GeneralRe: colored area in center all way down ? Pin
porsti26-Jun-07 23:55
porsti26-Jun-07 23:55 
Questionc# to vb.net 2005 Pin
Sonia Gupta26-Jun-07 20:12
Sonia Gupta26-Jun-07 20:12 
AnswerRe: c# to vb.net 2005 Pin
Christian Graus26-Jun-07 20:17
protectorChristian Graus26-Jun-07 20:17 
GeneralRe: c# to vb.net 2005 Pin
Sonia Gupta26-Jun-07 21:01
Sonia Gupta26-Jun-07 21:01 
Questionhow to make a button on a datagrid cell... Pin
cutequencher26-Jun-07 19:28
cutequencher26-Jun-07 19:28 
AnswerRe: how to make a button on a datagrid cell... Pin
Rupesh Kumar Swami26-Jun-07 19:38
Rupesh Kumar Swami26-Jun-07 19:38 
GeneralRe: how to make a button on a datagrid cell... Pin
cutequencher26-Jun-07 20:08
cutequencher26-Jun-07 20:08 
GeneralRe: how to make a button on a datagrid cell... Pin
Rupesh Kumar Swami26-Jun-07 20:33
Rupesh Kumar Swami26-Jun-07 20:33 
GeneralRe: how to make a button on a datagrid cell... Pin
cutequencher26-Jun-07 22:51
cutequencher26-Jun-07 22:51 
GeneralRe: how to make a button on a datagrid cell... Pin
Rupesh Kumar Swami27-Jun-07 0:46
Rupesh Kumar Swami27-Jun-07 0:46 
QuestionHelp From Visul Basic And Access 2002 Pin
Kumar!26-Jun-07 18:58
Kumar!26-Jun-07 18:58 
AnswerRe: Help From Visul Basic And Access 2002 Pin
_Damian S_26-Jun-07 19:13
professional_Damian S_26-Jun-07 19:13 
GeneralRe: Help From Visul Basic And Access 2002 Pin
Kumar!26-Jun-07 19:18
Kumar!26-Jun-07 19:18 
GeneralRe: Help From Visul Basic And Access 2002 Pin
leckey27-Jun-07 3:05
leckey27-Jun-07 3:05 
GeneralRe: Help From Visul Basic And Access 2002 Pin
Kumar!27-Jun-07 3:53
Kumar!27-Jun-07 3:53 

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.