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????