DynDeveloper.com

DynDeveloper.com

Sign Up Now!Log In
sendow 2/20/2009 7:51:20 PM

GP AddIn and Stand Alone App in same project?

Conceptual question:  I'm wondering if it is possible to create a single .NET project, resulting in a single file, that can serve as both a GP AddIn, and a stand alone app?

 For instance, if a GP user needs to access the app, they might open the Vendor Maint window and click on Extras --> MyApp, and the window would open with the vendor ID pre-populated.  But if a user is not logged into GP, but wants to modify some of the data, they could click on an icon which launches the app, allows them to select a vendor and modify data.

Or would these have to be separate DLL (for the AddIn) and EXE (for the app) files?  (I'm currently assuming Yes)

If I started with the DLL AddIn file, could I then just write a separate EXE wrapper that launched the DLL window?  Or would the GP plumbing required for the AddIn make that impractical?

Or would an alternative be to just go with an EXE, and then try and use VBA to launch the EXE from within GP, passing the vendor ID as a command line parameter to the EXE? 


Version: Unknown or N/A
Section: Visual Studio Tools for Dynamics GP