S
stride51
I wanted to know if anyone has any ideas for me. I've been through the
steps to create an MDI application but need to take that concept
further. Let's assume we have a simple windows application with a
simple form. I need to get rid of the form and only have the .vb file
but still have the vb file working with the controls on the form as if
they existed. Next I would set the "Output type" for compiling to
Class Library so that'll all I'll get in the end is one DLL.
Now for the framework.
The framework should look at a specified directory and loop through
the files placed within. The main form of the framework app would use
the tab control and add a new tab for each .dll it comes across in
that directory. The dll would be as mentioned above. This DLL then
needs to draw the controls that would've normally been there had we
left the form and left it as a windows application. It needs to draw
these controls on the tab page where it is loaded.
The framework would also pass in information about the database and
what not but that should be really easy. The main thing I'm having
trouble with is creating something that is not a windows form but has
events linked to controls like windows form but then draws these
controls when it's loaded into another form. Maybe I have only the
code that does specific things and then draw the controls and then
write and wireup some event handlers????? I've tried loading the form
as a control into the tab page but of course I get the error about not
being able to load a form into a form.
Any help would be great. Thanks in advance!!!!!
steps to create an MDI application but need to take that concept
further. Let's assume we have a simple windows application with a
simple form. I need to get rid of the form and only have the .vb file
but still have the vb file working with the controls on the form as if
they existed. Next I would set the "Output type" for compiling to
Class Library so that'll all I'll get in the end is one DLL.
Now for the framework.
The framework should look at a specified directory and loop through
the files placed within. The main form of the framework app would use
the tab control and add a new tab for each .dll it comes across in
that directory. The dll would be as mentioned above. This DLL then
needs to draw the controls that would've normally been there had we
left the form and left it as a windows application. It needs to draw
these controls on the tab page where it is loaded.
The framework would also pass in information about the database and
what not but that should be really easy. The main thing I'm having
trouble with is creating something that is not a windows form but has
events linked to controls like windows form but then draws these
controls when it's loaded into another form. Maybe I have only the
code that does specific things and then draw the controls and then
write and wireup some event handlers????? I've tried loading the form
as a control into the tab page but of course I get the error about not
being able to load a form into a form.
Any help would be great. Thanks in advance!!!!!