late binding in .net

Joined
Feb 21, 2005
Messages
21
Programming Experience
3-5
my scenerio is like this

i ve a common toolbar on my MDI parent for new , save ,open ,cancel ,print ,close

now on run time i want to detect my active child form name and want to call its function means late binding concept , i can do it in vb6 i used to do it
'' call activeform.fnnew()

here in .net if i do like this activeformname.fnnew() then it doesnt support it says function not found plz give me the solution if u can i ll be very thankful to u .

prashant
 
Hi,

why don't u use

1>me.ActiveMdiChild or
2>me.ActiveForm

as per ur need..............


I hope this will help u..................


Regards,
Ritesh
 
Back
Top