Click here to Skip to main content
15,914,010 members
Home / Discussions / Visual Basic
   

Visual Basic

 
GeneralRe: addhandler, addressof question Pin
Simon_Whale29-Apr-10 2:37
Simon_Whale29-Apr-10 2:37 
GeneralRe: addhandler, addressof question Pin
Wayne Gaylard29-Apr-10 3:13
professionalWayne Gaylard29-Apr-10 3:13 
GeneralRe: addhandler, addressof question Pin
Simon_Whale29-Apr-10 3:27
Simon_Whale29-Apr-10 3:27 
GeneralRe: addhandler, addressof question Pin
Wayne Gaylard29-Apr-10 3:40
professionalWayne Gaylard29-Apr-10 3:40 
GeneralRe: addhandler, addressof question Pin
Gregory Gadow29-Apr-10 4:19
Gregory Gadow29-Apr-10 4:19 
GeneralRe: addhandler, addressof question Pin
cptKoala29-Apr-10 20:41
cptKoala29-Apr-10 20:41 
GeneralRe: addhandler, addressof question Pin
Wayne Gaylard29-Apr-10 23:06
professionalWayne Gaylard29-Apr-10 23:06 
GeneralRe: addhandler, addressof question Pin
cptKoala30-Apr-10 0:06
cptKoala30-Apr-10 0:06 
No discussion about the intent of the OP, or the differences between your example and the one by Gregory.
Where to retrieve the info from wasn't my concern, I might not have made that clear. It was more to find a way to make the Routines configurable as well. Although the paint smell in the office is still heavily present, found that Reflection puts me on the way quite well...

Dim lobj As Object = Activator.CreateInstance(Type.GetType("DummyLib.clsTestingTheStateHandler,DummyLib"))

Dim lass As Reflection.Assembly = Reflection.Assembly.Load("DummyLib")
Dim ltype As Type = lass.GetType("DummyLib.clsTestingTheStateHandler")
Dim lmi As Reflection.MethodInfo = ltype.GetMethod("ThisIsTheHandler")
Dim lblnState As Boolean = DirectCast(lmi.Invoke(lobj, New Object() {phtParameters}), Boolean)


Do you know of possible other alternatives to achieve something along these lines?

Enjoying the coding Shucks | :-\
AnswerRe: addhandler, addressof question Pin
supercat96-May-10 7:08
supercat96-May-10 7:08 
Questionwebbroeser auto login Pin
gokhan üstüner28-Apr-10 22:20
professionalgokhan üstüner28-Apr-10 22:20 
QuestionHelp with checkbox on datagrid? [modified] Pin
waner michaud28-Apr-10 7:45
waner michaud28-Apr-10 7:45 
AnswerRe: Help with checkbox on datagrid? Pin
Henry Minute28-Apr-10 12:54
Henry Minute28-Apr-10 12:54 
AnswerRe: Help with checkbox on datagrid? Pin
Md. Marufuzzaman28-Apr-10 22:07
professionalMd. Marufuzzaman28-Apr-10 22:07 
GeneralRe: Help with checkbox on datagrid? Pin
waner michaud29-Apr-10 3:14
waner michaud29-Apr-10 3:14 
Questionweb browser in vb.net. Pin
offroaderdan28-Apr-10 6:30
offroaderdan28-Apr-10 6:30 
AnswerRe: web browser in vb.net. Pin
Luc Pattyn28-Apr-10 7:16
sitebuilderLuc Pattyn28-Apr-10 7:16 
AnswerRe: web browser in vb.net. Pin
The Man from U.N.C.L.E.28-Apr-10 21:37
The Man from U.N.C.L.E.28-Apr-10 21:37 
QuestionVB.NET 2005 - Walking the Document Outline to iterate through controls Pin
vvincent28-Apr-10 5:26
vvincent28-Apr-10 5:26 
AnswerRe: VB.NET 2005 - Walking the Document Outline to iterate through controls Pin
Dave Kreskowiak28-Apr-10 8:19
mveDave Kreskowiak28-Apr-10 8:19 
GeneralRe: VB.NET 2005 - Walking the Document Outline to iterate through controls Pin
vvincent28-Apr-10 11:47
vvincent28-Apr-10 11:47 
GeneralRe: VB.NET 2005 - Walking the Document Outline to iterate through controls Pin
Dave Kreskowiak28-Apr-10 15:32
mveDave Kreskowiak28-Apr-10 15:32 
QuestionQueries for Datagrid View in VB 2008 Pin
Razanust28-Apr-10 0:52
Razanust28-Apr-10 0:52 
AnswerRe: Queries for Datagrid View in VB 2008 Pin
Simon_Whale28-Apr-10 0:59
Simon_Whale28-Apr-10 0:59 
GeneralKindly solve it out ! Queries for Datagrid View in VB 2008 Pin
Razanust28-Apr-10 4:04
Razanust28-Apr-10 4:04 
GeneralRe: Kindly solve it out ! Queries for Datagrid View in VB 2008 Pin
Simon_Whale28-Apr-10 4:13
Simon_Whale28-Apr-10 4:13 

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.