Shell Program

J

John Wright

I asked once before and got a good response, but it was not quite what we
needed. I am reposting clarifying my requirements. I want to develop a
shell program that requires the user to login. When they login, I will
retrieve all the programs they can load. When they click on a program to
load, I want to load the program in the shell program and run it from within
the shell program. I have a split container control on my shell form. In
the left I list the programs that can run, in the right pane, I want to load
the program. When I use the following code:

Dim extAssembly As System.Reflection.Assembly =
System.Reflection.Assembly.LoadFrom("D:\testload\TestLoad\TestLoad\bin\Debug\testload.exe")

Dim extForm As Form = extAssembly.CreateInstance("TestLoad.form1", True)

Me.AddOwnedForm(extForm)

extForm.Show()

It loads the program but in a seperate window. I want to be able to set
some properties in the program in a class the progam has loaded (program
properties.cls) and communciate with the form passing values back and forth.
Is this possible with reflection? or is there a better way to do this.
Really, what I am trying to do is a sort of snapin type of architecture that
as we add new programs they can "snap in" to the shell and run and
communicate with the shell program. Any code or tutorial on this would be
great. Thanks.



John
 
J

John Wright

More info. I am trying to create an application like MMC that would allow
me to "snap" new appliations in.

John
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top