|
web
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
AssemblyBuilder - Dynamic assemblies
http://groups.google.com/group/microsoft.public.dotnet.languages.vb/browse_frm/thread/3071d29344bae9ae/c5451c60c5c8a4a1?lnk=gst&q=system.reflection&rnum=38&hl=en#c5451c60c5c8a4a1
I'm searching the group and come across the above post that seems to have the answer for my needs. But in the post the author was citing problems in the code. Any working snippet or wrapper for dynamic assemblies since then? Thanks in advance. Ken Du "kendu" <ken***@yahoo.com> wrote in What would you like to do? Dynamically load a DLL?news:1166541746.926101.175050@80g2000cwy.googlegroups.com: > http://groups.google.com/group/microsoft.public.dotnet.languages.vb/bro > wse_frm/thread/3071d29344bae9ae/c5451c60c5c8a4a1?lnk=gst&q=system.refle > ction&rnum=38&hl=en#c5451c60c5c8a4a1 > > I'm searching the group and come across the above post that seems to > have the answer for my needs. But in the post the author was citing > problems in the code. Any working snippet or wrapper for dynamic > assemblies since then? Thanks in advance. Spam Catcher wrote:
Show quoteHide quote > "kendu" <ken***@yahoo.com> wrote in For testing purpose, I already got a form generated dynamically in> news:1166541746.926101.175050@80g2000cwy.googlegroups.com: > > > http://groups.google.com/group/microsoft.public.dotnet.languages.vb/bro > > wse_frm/thread/3071d29344bae9ae/c5451c60c5c8a4a1?lnk=gst&q=system.refle > > ction&rnum=38&hl=en#c5451c60c5c8a4a1 > > > > I'm searching the group and come across the above post that seems to > > have the answer for my needs. But in the post the author was citing > > problems in the code. Any working snippet or wrapper for dynamic > > assemblies since then? Thanks in advance. > > > What would you like to do? Dynamically load a DLL? run-time to a file say Test.vb. I can't show this form as in Form1.Show() because it's not in the assembly. Per Atulmanvar of the above post, it looks easy to load a form from a DLL to show it. But the step he was having problem was compiling the form into the DLL (e.g. the InitializeComponent part didn't kick in). If I could get this compiling on-the-fly part going then I'm pretty much set.
Retrieving Values from Dynamically Created Controls
Dynamically load a form Raising an event from a user control Determine if app fails... Changing file name Detect Multiple Keystrokes? converting minutes into hrs mins VS2005 Upgrade Question Borderless Form regular expression used to conver to upper case |
|||||||||||||||||||||||