Subject: Question for the real tech lords.
Posted By: Warbird Post Date: 11/10/2005 2:21:46 PM
Here is the issue, I have a program that needs to process one of several reports.  All the reports are broken up into .net dll's (Assemblies) based upon the area the report displays (ie AP, AR ect..)  

I want to do late binding to pull the required report instead of creating 20-30 different reports objects (one for each report).

In VB6 this would work using the 'CreateObject' on an ActiveX object, however as the dll's are .net Assemblies this does not work.  

Does anyboby know how to do the same thing with .net Assemblies?

Reply By: vkpatil Reply Date: 11/10/2005 4:30:46 PM
Use reflection technique in .Net. Because you already know the methods implemented in the assembly you can call those methods after loading them dynamically. Any reflection example will give you idea.

--Vijay.

Reply By: Warbird Reply Date: 11/10/2005 8:51:54 PM
Thanks took a little tinkering, and the test project works.  Now for the real thing.




Go to topic 36470

Return to index page 438
Return to index page 437
Return to index page 436
Return to index page 435
Return to index page 434
Return to index page 433
Return to index page 432
Return to index page 431
Return to index page 430
Return to index page 429