vbprogramming
Programmer
Hi All!
I have forms and modules that are used by many different applications. All of my applications are written in VB. If I statically load all of the forms into each application then each time I modify the forms I have to re-compile each application. What I want is to just point to the forms in the application sub main routine and then load them at run time.
What I have now
sub main()
Startup.show 'load the startup form.
'the code in the startup form
'requires modules 1 -3 that
'are already loaded
end sub
What I need
sub main()
load the external Startup.frm file
load the 3 external modules
Startup.show
end sub
The difference between these is that the forms and modules would not actually be part of the exe file. The exe file would know where the forms and modules were located and would go get them and load them.
I have been looking around for the answer for several hours but have till now been unsuccessful.
Thanks!
I have forms and modules that are used by many different applications. All of my applications are written in VB. If I statically load all of the forms into each application then each time I modify the forms I have to re-compile each application. What I want is to just point to the forms in the application sub main routine and then load them at run time.
What I have now
sub main()
Startup.show 'load the startup form.
'the code in the startup form
'requires modules 1 -3 that
'are already loaded
end sub
What I need
sub main()
load the external Startup.frm file
load the 3 external modules
Startup.show
end sub
The difference between these is that the forms and modules would not actually be part of the exe file. The exe file would know where the forms and modules were located and would go get them and load them.
I have been looking around for the answer for several hours but have till now been unsuccessful.
Thanks!