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

Visual Basic

 
GeneralRe: help my with the logic of this Pin
Guffa19-Apr-06 12:34
Guffa19-Apr-06 12:34 
GeneralRe: help my with the logic of this Pin
crash89319-Apr-06 16:18
crash89319-Apr-06 16:18 
AnswerRe: help my with the logic of this Pin
Guffa19-Apr-06 19:03
Guffa19-Apr-06 19:03 
GeneralRe: help my with the logic of this Pin
crash89321-Apr-06 13:51
crash89321-Apr-06 13:51 
Question.net web page display Pin
_tasleem19-Apr-06 10:01
_tasleem19-Apr-06 10:01 
AnswerRe: .net web page display Pin
Yuvi Panda20-Apr-06 2:29
Yuvi Panda20-Apr-06 2:29 
QuestionCircumventing the Late Binding prohibition with Option Strict On Pin
AhClem19-Apr-06 9:37
AhClem19-Apr-06 9:37 
QuestionGenerics, Reflexion Pin
Bergerrudi19-Apr-06 8:58
Bergerrudi19-Apr-06 8:58 
Hi there,
I just begun to try out the generics stuff and start realizing the huge range of possibilities this feature offers.
However, I got a question in this context:

Let say I have a class (which I don’t know during design time) with two properties: one of Boolean and another one of String.
Then I got a generic class like:

Public Class Something(Of T)

I’m looking for an elegant way to create instances of the generic class during runtime depending of the data types of the properties of the first class like:

Dim Instance1 As New Something(Of Datatype of the first property) --> Boolean
Dim Instance2 As New Something(Of Datatype of the second property) --> String

Thanks in advance for any hint!

Rudi

AnswerRe: Generics, Reflexion Pin
Guffa19-Apr-06 9:46
Guffa19-Apr-06 9:46 
GeneralRe: Generics, Reflexion Pin
Bergerrudi19-Apr-06 11:40
Bergerrudi19-Apr-06 11:40 
AnswerRe: Generics, Reflexion Pin
Guffa19-Apr-06 12:13
Guffa19-Apr-06 12:13 
GeneralRe: Generics, Reflexion Pin
Bergerrudi19-Apr-06 12:34
Bergerrudi19-Apr-06 12:34 
AnswerRe: Generics, Reflexion Pin
Guffa19-Apr-06 12:39
Guffa19-Apr-06 12:39 
GeneralRe: Generics, Reflexion Pin
Bergerrudi19-Apr-06 13:00
Bergerrudi19-Apr-06 13:00 
Question.sendwait("08052") Pin
Mr kilany19-Apr-06 8:08
Mr kilany19-Apr-06 8:08 
AnswerRe: .sendwait("08052") Pin
Mr kilany22-Apr-06 3:36
Mr kilany22-Apr-06 3:36 
QuestionVB.NET/XML HELP URGENT Pin
samerali19-Apr-06 8:05
samerali19-Apr-06 8:05 
AnswerRe: VB.NET/XML HELP URGENT Pin
samerali19-Apr-06 8:06
samerali19-Apr-06 8:06 
AnswerRe: VB.NET/XML HELP URGENT Pin
Steve Pullan19-Apr-06 14:08
Steve Pullan19-Apr-06 14:08 
GeneralRe: VB.NET/XML HELP URGENT Pin
samerali19-Apr-06 14:17
samerali19-Apr-06 14:17 
QuestionDatagrid, DataSet Pin
dannygilbert319-Apr-06 7:46
dannygilbert319-Apr-06 7:46 
AnswerRe: Datagrid, DataSet Pin
cowtech27-Apr-06 13:20
cowtech27-Apr-06 13:20 
GeneralRe: Datagrid, DataSet Pin
dannygilbert328-Apr-06 2:24
dannygilbert328-Apr-06 2:24 
GeneralRe: Datagrid, DataSet Pin
cowtech15-May-06 13:27
cowtech15-May-06 13:27 
QuestionEnumerate MDIList Menu-item children Pin
paas19-Apr-06 5:58
paas19-Apr-06 5: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.