Our application we have now has it's main form in a library file (DLL) along with the majority of other forms in the app. It is like this because of the system we implemented for a plug-in loader and such, so we have the EXE used as kind of a bootloader that loads resources from the app's main DLL and executes those. However, the application framework seems to only let you specify a main form from the exe. It doesn't let you use the applicationstartup event at all to instanciate the main form. What can I do about this I'd really like to use the new app framework's events in the loader app along with the splash screen system.

Using Application framework, but having main form in another Library DLL
LA_Zi
Module MyModule
Public Sub Main
Dim f as new MyDllForm
Application.run(f)
end Sub
end module
Jsmith4892002
stebe000
tamccann
Would it be acceptable for you to create a new class in the executable's assembly that inherits from the form that you want to create and set that as the startup object
Public Class Class1
Inherits ClassLibrary2.Form1
End Class
Best regards,
Johan Stenberg
Felipe Levin
enki
Hope that helps
OwenG
Dim f as new MyDllForm
Dim MySPlash as new DLLSpalshForm
MySplash.Show()
f.showDialog
murali-indian