Re: [DOTNET] Using System.Reflection to create Extensible Apps

2002-04-18 Thread Chris Rolon
-Original Message- From: dotnet discussion [mailto:[EMAIL PROTECTED]] On Behalf Of Jay Ayliff Sent: Thursday, April 18, 2002 2:18 AM To: [EMAIL PROTECTED] Subject: [DOTNET] Using System.Reflection to create Extensible Apps Hi List, I want to run a development technique past the experts

Re: [DOTNET] Using System.Reflection to create Extensible Apps

2002-04-18 Thread Jay Ayliff
Hello again Peter, I checked it out again. The reason it didn't work was I was casting to Form, but calling a Connect() method on our base class. Now I am casting to our base class and it works fine. We now also have the added safeguard that forms not based on the base class will fail. Thanks ag

Re: [DOTNET] Using System.Reflection to create Extensible Apps

2002-04-18 Thread Jay Ayliff
Hi Peter, Thanks for that advice. What we are actually doing is creating our own base class, inherited from Form, and having all the applications inherit from the base class. This allows us to put various bits of communication, database and security plumbing into the base class where it is hidden

Re: [DOTNET] Using System.Reflection to create Extensible Apps

2002-04-18 Thread Graeme Foster
Hope you find this reassuring; we're heading down the same route except that instead of forms we're using controls and docking them in the main form. G. -- Graeme Foster ([EMAIL PROTECTED]) Principal Software Engineer Aston Broadcast Systems Ltd. (http://www.aston.tv) Disclaimer: I really don't h

Re: [DOTNET] Using System.Reflection to create Extensible Apps

2002-04-18 Thread Peter Stephens
Reflection works well for creating a modular program. I would recommend using strong types more liberally. I assume VB allows you to call methods on an Obj that do not exist and that it will use reflection to call those methods. It would be better to cast your object into a Form. Here is the C# sy

[DOTNET] Using System.Reflection to create Extensible Apps

2002-04-18 Thread Jay Ayliff
Hi List, I want to run a development technique past the experts in the list to get comments and suggestions: We need to write a large and extensible application using WinForms. I have worked out a design strategy but would appreciate any commentes from the experts in the list. The idea I have in