Access the answers to your technology questions today.
Subscribe Now
30-day free trial. Register in 60 seconds.
What Makes Experts Exchange Unique?
Members of the expert community talk about why the experience at Experts Exchange is different than what you will find anywhere else.
Try it out and discover for yourself.
Subscribe Now
30-day free trial. Register in 60 seconds.
Join the Community
Give a Little. Get a Lot.
Join the community of experts here and help other tech pros by answering question in your area of expertise. You can earn FREE access to all Experts Exchange's premium features and resources.
Join the Community
by: pratap_rPosted on 2006-06-19 at 00:08:08ID: 16932379
you'll have to load the corresponding DLL first into the App domain before you can instantiate it.
OcxState") ; e, null, null, null);
Psuedo code:
Assembly asm = Assembly.LoadFromFile(dll file)
Type t = asm.GetType("AxFlashMovie.
yourobject = t.InvokeMember(t.Name, BindingFlags.CreateInstanc
What it does is,
1. loads the dll
2. gets a reference to the type (your control in this case)
3. Initialize the class by calling its constructor
Have Fun!
Pratap