Dynamic loading forms using reflection 
Author Message
 Dynamic loading forms using reflection

I'm trying to learn about being able to load visual modules dynamically from
DLLs.

What I have basically have in mind is that the main application would scan
the directory and (using reflection) list any modules (DLLs) available.
When the user selects a module, the module would display the appropriate
controls in a panel on the main application's form and otherwise do it
thing.

I've read a book on reflection, but I'm in need of more information about
how to do the visual side of the equation.  If anyone know of any
links/articles/examples along this line (or even what terms I could search
for), I would appreciate it you would response.

TIA,

Richard Rosenheim



Sun, 24 Jul 2005 16:28:17 GMT  
 Dynamic loading forms using reflection
Hello Richard:

Are these DLLs COM dlls or .net dlls?

If they're COM dlls, you're better off enumerating through HKEY_CLASSES_ROOT
and then filtering out all values that don't have an InprocServer32 key.



Quote:
> I'm trying to learn about being able to load visual modules dynamically
from
> DLLs.

> What I have basically have in mind is that the main application would scan
> the directory and (using reflection) list any modules (DLLs) available.
> When the user selects a module, the module would display the appropriate
> controls in a panel on the main application's form and otherwise do it
> thing.

> I've read a book on reflection, but I'm in need of more information about
> how to do the visual side of the equation.  If anyone know of any
> links/articles/examples along this line (or even what terms I could search
> for), I would appreciate it you would response.

> TIA,

> Richard Rosenheim



Mon, 25 Jul 2005 00:50:22 GMT  
 Dynamic loading forms using reflection
Will be .net DLLs.

Richard Rosenheim



Quote:
> Hello Richard:

> Are these DLLs COM dlls or .net dlls?

> If they're COM dlls, you're better off enumerating through
HKEY_CLASSES_ROOT
> and then filtering out all values that don't have an InprocServer32 key.



> > I'm trying to learn about being able to load visual modules dynamically
> from
> > DLLs.

> > What I have basically have in mind is that the main application would
scan
> > the directory and (using reflection) list any modules (DLLs) available.
> > When the user selects a module, the module would display the appropriate
> > controls in a panel on the main application's form and otherwise do it
> > thing.

> > I've read a book on reflection, but I'm in need of more information
about
> > how to do the visual side of the equation.  If anyone know of any
> > links/articles/examples along this line (or even what terms I could
search
> > for), I would appreciate it you would response.

> > TIA,

> > Richard Rosenheim



Mon, 25 Jul 2005 03:09:44 GMT  
 
 [ 3 post ] 

 Relevant Pages 

1. Using Reflection to load Composite Control

2. how to load custom usercontrol dynamic on form

3. VB 6.0 Dynamic Form loading?

4. dynamic form loading

5. VB 6.0 Dynamic Form loading?

6. dynamic form loading

7. dynamic form loading

8. Dynamic Loading forms

9. Dynamic Loading of Forms

10. Looking for dynamic ComboBox-VBX (goes too long in Form.Load)

11. Forms dynamic loading

12. Dynamic Form Loads: CallByName

 

 
Powered by phpBB® Forum Software