I’m developing a .NET WINDOWS FORM Application , I need to develop a search module and this search could be used in many other applications,
i’m wondering what is best to to Develeop Search as :
DLL and include it in the Application
OR
EXE file and execute it from other applications
what is the Advantages and Disadvantages for each way????
I would go with putting the form in a class library and then adding it as a reference to all the projects I need it. Shelling out and executing it in a separate executable sounds messy. You also lose the ability to interact with the form object.