T
Tom
Hi .Net Professional :
In recent , I starting to learn about dynamic call .net object in vb.net.
Before, some IT people teach me use the following method and its work !!
Dim asm As [Assembly] =
[Assembly].LoadFrom("D:\vb7Project\dynamicCall\prj01\prj01\bin\prj01.dll")
Dim ty As Type = asm.GetType("prj01.dbLib")
Dim obj As Object = Activator.CreateInstance(ty)
obj.SendMsg()
However, I have face another problem : debug in runtime, I find that it can
allow me trace the program during runtime, e.g. I add breakpoint in the
child object. It will not show it. Therefore, how can I fix it. Actually , I
cannot change the dynamic design into static design(i.e. add reference to
project in design time).
Thanks for your help
..Net student
In recent , I starting to learn about dynamic call .net object in vb.net.
Before, some IT people teach me use the following method and its work !!
Dim asm As [Assembly] =
[Assembly].LoadFrom("D:\vb7Project\dynamicCall\prj01\prj01\bin\prj01.dll")
Dim ty As Type = asm.GetType("prj01.dbLib")
Dim obj As Object = Activator.CreateInstance(ty)
obj.SendMsg()
However, I have face another problem : debug in runtime, I find that it can
allow me trace the program during runtime, e.g. I add breakpoint in the
child object. It will not show it. Therefore, how can I fix it. Actually , I
cannot change the dynamic design into static design(i.e. add reference to
project in design time).
Thanks for your help
..Net student