I have a WinForms app which I have compiled to DLL.
I would like to use the dll to run start the app from another winforms app.
So App A will have an option to run App B.
What is the best way to achieve this? Should I be using a DLL for this my win forms app or is EXE the better option?
Thanks!
When app B is completely independant of app A, you should use an EXE and start it with
System.Diagnostics.Process(or so). Otherwise you could instantiate the main window class of app B in app A withnewto ‘start’ that app. In that case you can also use an EXE instead of a DLL, which can also be referenced as assembly.