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?