Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Microsoft Dynamics GP (Archived)

Using native Microsoft Dynamics Controls for Windows Form in GPAddins

(1) ShareShare
ReportReport
Posted on by Microsoft Employee

Im trying to use the .net controls (GP 2016) from the dll Microsoft.Dynamics.Frameworks.UI.WinForms.Controls.dll but im getting error with some controls like:

ActionButton, ActionDropButton, ActionGroup, ActionMenuButton, ActionRadioButton, ActionToggleButton, CheckedListView and RtfView, the other controls works perfectly like:

ActionPane, ActionPaneTab, ActionPaneTabGroup, ActionSeparatos, ActionTitleMenuItem and every one else, i get these error when try to use ActionButton as example:

 error-controldesignet.PNG

Thats happens when i drop a control what doesnt work on Visual Studio

1220.Captura2.PNG

*This post is locked for comments

  • Community Member Profile Picture
    Community Member Microsoft Employee on at
    RE: Using native Microsoft Dynamics Controls for Windows Form in GPAddins

    Hi Mariano, I am using VST, but I need to create an appearance equal to the original using .Net

  • Community Member Profile Picture
    Community Member Microsoft Employee on at
    RE: Using native Microsoft Dynamics Controls for Windows Form in GPAddins

    Hi Tim, I already reinstall vst and add fake assemblies and those controls still do not work

  • Community Member Profile Picture
    Community Member Microsoft Employee on at
    RE: Using native Microsoft Dynamics Controls for Windows Form in GPAddins

    Off curse David, the project was created as Microsoft Dynamics GP Addin project using .net version 4.5.2

  • Suggested answer
    Mariano Gomez Profile Picture
    Mariano Gomez 26,225 on at
    RE: Using native Microsoft Dynamics Controls for Windows Form in GPAddins

    Dude, you need to install Visual Studio Tools for Microsoft Dynamics GP. Using the Framework UI WinForm Controls directly is madness!

  • Tim Wappat Profile Picture
    Tim Wappat 5,703 on at
    RE: Using native Microsoft Dynamics Controls for Windows Form in GPAddins

    I would try reinstalling the Visual Studio Tools SDK for GP.

    Recreate the project if that fails. 

    What you doing with faking the assembly?

    Tim.

  • David Musgrave MVP GPUG All Star Legend Moderator Profile Picture
    David Musgrave MVP ... 13,965 Most Valuable Professional on at
    RE: Using native Microsoft Dynamics Controls for Windows Form in GPAddins

    Was the project created as a Microsoft Dynamics GP Addin project?

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Announcing Our 2025 Season 1 Super Users!

A new season of Super Users has arrived, and we are so grateful for the daily…

Vahid Ghafarpour – Community Spotlight

We are excited to recognize Vahid Ghafarpour as our February 2025 Community…

Tip: Become a User Group leader!

Join the ranks of valued community UG leaders

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 292,489 Super User 2025 Season 1

#2
Martin Dráb Profile Picture

Martin Dráb 231,305 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans