Open Forum

Expand all | Collapse all

Smartlist to open Addin DLL form created from Visual Studio

  • 1.  Smartlist to open Addin DLL form created from Visual Studio

    Posted 6 days ago
    Hi,

    Just wondering if anyone would know if Smartlist builder can open a form that has been created from Visual Studio as an AddIn DLL.

    Since the AddIn DLL forms are not included in the Dexterity dictionary, I would assume the form lookup will not be available in Smartlist builder.
    If anyone has a work around to open the form in Smartlist builder such as using a procedure call to open the form in smartlist builder?

    Thanks in advance,

    ------------------------------
    Tak Yee Man
    Cogsdale
    Charlottetown PE
    ------------------------------
    Conference-GPUG_200x200


  • 2.  RE: Smartlist to open Addin DLL form created from Visual Studio

    GPUG ALL STAR
    Posted 6 days ago

    @Tak Yee Man

    I am pretty sure you would be able to achieve this with GP Power Tools.

    GP Power Tools has the ability to extend the procedures that SmartList Builder can execute beyond the one that it supports automatically.

    You could then make it call a GP Power Tools script of your choosing that could in turn run ​a .Net script in GP Power Tools to open the window.

    While I have not actually done this, GP Power Tools should have everything you need to make it happen.

    Regards

    David



    ------------------------------
    David Musgrave MVP, GPUG All-Star

    Managing Director
    Winthrop Development Consultants

    Perth, Western Australia

    http://www.winthropdc.com
    ------------------------------

    Conference-GPUG_200x200


  • 3.  RE: Smartlist to open Addin DLL form created from Visual Studio

    Posted 2 days ago
    Thanks for the feedback. Have not used GP Power Tools and a avenue to look into. Thanks again.

    ------------------------------
    Tak Yee Man
    Cogsdale
    Charlottetown PE
    ------------------------------

    Conference-GPUG_200x200


  • 4.  RE: Smartlist to open Addin DLL form created from Visual Studio

    TOP CONTRIBUTOR
    Posted 5 days ago
    For SmartList Builder to do this using the GoTo options we have, you would have to do some work as it is looking for everything in Dexterity.

    You would need to make a 3rd party dex procedure and then you could use the Execute Procedure option in the GoTo's.  The 3rd party procedure you create would have to trigger on it in vstools and then open up that .NET form.  You would also have to write the hooks in your Dexterity app to get your 3rd Party procedure to display in the Execute Procedure List.

    Here is a link to David's site that may guide you if you choose to go down this route.  It was originally on the Microsoft site, but they retired the blog so David reposted it himself.  It says it is for 2010, but would still be valid with more current versions today.
    https://winthropdc.wordpress.com/2010/07/20/smartlist-builder-execute-procedure-go-to-changes-for-gp-2010/

    Hope this helps give you some guidance.


    ------------------------------
    Nicole Albertson
    Product Manager
    eOne Solutions
    ------------------------------

    Conference-GPUG_200x200


  • 5.  RE: Smartlist to open Addin DLL form created from Visual Studio

    GPUG ALL STAR
    Posted 5 days ago
    @Nicole Albertson

    GP Power Tools uses the techniques in that blog to expose a GP Power Tools script so you don't need to use Dexterity.

    Regards

    David

    ------------------------------
    David Musgrave MVP, GPUG All-Star

    Managing Director
    Winthrop Development Consultants

    Perth, Western Australia

    http://www.winthropdc.com
    ------------------------------

    Conference-GPUG_200x200


  • 6.  RE: Smartlist to open Addin DLL form created from Visual Studio

    Posted 2 days ago
    Thanks very much for the information and the link (Interesting reading).

    ------------------------------
    Tak Yee Man
    Cogsdale
    Charlottetown PE
    ------------------------------

    Conference-GPUG_200x200


If you've found this thread useful, dive deeper into User Group community content by role