Open Forum

Expand all | Collapse all

VST Controls. A free .NET development tool for GP

  • 1.  VST Controls. A free .NET development tool for GP

    Posted Mar 30, 2017 09:04 PM
    Edited by Andrew Dean Mar 30, 2017 09:05 PM
    From the creative team at Envisage Software / Precipio Services, who brought you the 'hit' song I want my MVP, we are excited to announce the release of VST Controls, a <g class="gr_ gr_13 gr-alert gr_gramm gr_run_anim Style multiReplace" id="13" data-gr-id="13">free .</g><g class="gr_ gr_14 gr-alert gr_gramm gr_run_anim Grammar multiReplace" id="14" data-gr-id="14">NET</g> tool that allows developers to add any windows control onto any GP window with just a few lines of code.

    Add images, textboxes, labels, URL pages, hyperlinks, 3rd party controls etc...  onto any GP window, and get full access to the control's properties, methods and events.

    Go to the Envisage website to read more about the tool and download the software.

    Regards
    Andrew Dean
    Envisage Software Solutions
    Academy - Online Interactive Learning from Experts


  • 2.  RE: VST Controls. A free .NET development tool for GP

    TOP CONTRIBUTOR
    Posted Mar 30, 2017 10:48 PM
    Edited by Steve Endow Mar 30, 2017 10:52 PM
    Thanks Andrew for developing VST Controls!

    Here is a demonstration of the capabilities of the free utility based on a real world example I am working on right now:

    I have a customer that would like to import employee expense reports from a cloud based expense system into Dynamics GP as vouchers.  I asked if they wanted to see the receipt that the employee submitted with the expense report.  They said, "Sure!"

    Using VST Controls, I created this working prototype in 30 minutes.  The image on the right is displaying a JPEG image file associated with the voucher.

    VST Controls can add any .NET control to any GP window--you just need to know the name of the window and where you want the control to be displayed.

    ox6rtF2hTxCyFNF4BNZg_ExpenseReceipt2.jpg
    SplPkhlgQaOU9Uhh493U_ExpenseReceipt1.jpg

    Here is the code to display the controls in GP:

    //********************************************************
    //Instantiate controls
    PictureBox pictureBox2 = new PictureBox();
    Button btnShowReceipt = new Button();

    //********************************************************
    //Picture Box on PM Transaction Entry
    pictureBox2.Size = new System.Drawing.Size(200, 150);
    pictureBox2.BorderStyle = BorderStyle.None;
    pictureBox2.SizeMode = PictureBoxSizeMode.StretchImage;
    pictureBox2.Visible = false;
    pictureBox2.Click += new EventHandler(pictureBox2_Click);
    vstControls.Add(new VstControl("Payables Transaction Entry", 650, -8, pictureBox2));

    //********************************************************
    //Receipt Button on PM Transaction Entry
    btnShowReceipt.Text = "Receipt";
    btnShowReceipt.AutoSize = true;
    btnShowReceipt.Click += new EventHandler(btnShowReceipt_Click);
    vstControls.Add(new VstControl("Payables Transaction Entry", 550, 30, btnShowReceipt));


    ------------------------------
    Steve Endow, Microsoft MVP
    Precipio Services
    Los Angeles, CA
    ------------------------------

    Academy - Online Interactive Learning from Experts


  • 3.  RE: VST Controls. A free .NET development tool for GP

    TOP CONTRIBUTOR
    Posted Mar 31, 2017 10:24 AM
    Edited by Matthew Arp Mar 31, 2017 10:27 AM
    Nice guys, great to see Envisage/Precipio making tools like this open to developers! Just curious, from a technical perspective it looks like the library creates a WinForm and simply positions it over the GP Window? Very interesting approach!

    ------------------------------
    Matthew Arp
    Business Systems Developer
    Hunton Group
    Houston TX
    ------------------------------

    Academy - Online Interactive Learning from Experts


  • 4.  RE: VST Controls. A free .NET development tool for GP

    Posted Mar 31, 2017 02:06 PM
    So I assume that it will not work on the WebClient ?

    ------------------------------
    Guillaume Simard
    Negotium Technologies Inc.
    Montréal QC
    ------------------------------

    Academy - Online Interactive Learning from Experts


  • 5.  RE: VST Controls. A free .NET development tool for GP

    TOP CONTRIBUTOR
    Posted Mar 31, 2017 04:02 PM
    No it would not.

    ------------------------------
    Matthew Arp
    Business Systems Developer
    Hunton Group
    Houston TX
    ------------------------------

    Academy - Online Interactive Learning from Experts


  • 6.  RE: VST Controls. A free .NET development tool for GP

    Posted Mar 31, 2017 04:30 PM
    Correct in both cases Matthew.

    Controls are placed on a Winform and that Winform is linked to the handle of the GP window. When the GP window opens, <g class="gr_ gr_160 gr-alert gr_gramm gr_disable_anim_appear Punctuation only-del replaceWithoutSep" id="160" data-gr-id="160">moves,</g> resizes or closes, an event is raised that notifies the Winform to take action.

    And because it works this way, it will not work in a Web Client environment.

    ------------------------------
    Regards
    Andrew Dean
    ------------------------------

    Academy - Online Interactive Learning from Experts


  • 7.  RE: VST Controls. A free .NET development tool for GP

    Posted Apr 03, 2017 12:59 AM
    Hi Andrew,

    Good job! Do you see this tool allowing a GP window on a touch-screen tablet to capture a signature and attaching it to a GP record note as a .jpg file?

    Thanks,
    Jeff

    ------------------------------
    Jeffery Southworth
    Director, Product Development
    PureLogic Incorporated
    Dallas TX
    ------------------------------

    Academy - Online Interactive Learning from Experts


  • 8.  RE: VST Controls. A free .NET development tool for GP

    TOP CONTRIBUTOR
    Posted Apr 03, 2017 10:26 AM
    Edited by Matthew Arp Apr 03, 2017 10:26 AM
    To capture those touch events you'd need to subscribe to the WM_TOUCH message, there is a sample from MS on doing this HERE. You will need to update the sample to use the form handle that the library creates for you, VSTControls.Utilities gpWindows.

    Might be a bit tricky, but it should be doable.

    ------------------------------
    Matthew Arp
    Business Systems Developer
    Hunton Group
    Houston TX
    ------------------------------

    Academy - Online Interactive Learning from Experts


  • 9.  RE: VST Controls. A free .NET development tool for GP

    Posted Apr 04, 2017 01:28 AM
    Hi Jeff

    Along with standard Windows controls, you can also add UserControls to a GP window by using VST Controls. This means you could develop a UserControl that has all the necessary controls (i.e. buttons, signature area, process logic), add the UserControl to the VSTControls array list, with the end result being signatures recorded, saved and capable of being retrieved.

    If you would like some assistance with the task, send me your details via the  Envisage Contact Us page

    ------------------------------
    Andrew Dean
    Envisage Software
    ------------------------------

    Academy - Online Interactive Learning from Experts


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