Skip to main content

Notifications

Announcements

No record found.

Microsoft Dynamics GP (Archived)

Creating AddIns Dll

Posted on by 325

Can we use User-defined forms in Creating a AddIns dll? I'm trying to create an AddIns Dll for GP10. But on using the command Dynamics.Forms in visual studio doesnt show the form I created in dexterity. Can AddIns be created on User created forms or can only be used for dynamics forms?

*This post is locked for comments

  • Laxmi Kintada Profile Picture
    Laxmi Kintada 325 on at
    Re: Creating AddIns Dll

    Hi Rubal,

    But I declared the class member as public. I'm still not sure why it is causing this error.

  • Suggested answer
    Community Member Profile Picture
    Community Member Microsoft Employee on at
    Re: Creating AddIns Dll

    Hi,

    This error message is relate to class member restriction in C#. Verify the accessibility of the member for which you are getting the error message. You can read about it on msdn

    msdn.microsoft.com/.../ms173121(VS.80).aspx

    msdn.microsoft.com/.../wa80x488(VS.80).aspx

    Rubal,

    http://www.dynamicsgphelp.com/

  • Laxmi Kintada Profile Picture
    Laxmi Kintada 325 on at
    Re: Creating AddIns Dll

    Thanks for replying.

    I created the application dictionary assembly and try to access the form from visual studio but I get a build error saying " inaccessible due to its protection level". Any suggestions?

  • veeyeskay Profile Picture
    veeyeskay on at
    Re: Creating AddIns Dll

    Hello Laxmi

    This is a sample syntax for using DAG to generate the application dictionary assemblies.

    dag.exe 3333 "C:\Program Files\Microsoft Dynamics\GP\Dynamics.set" /M

    where 3333 is the name of the product dictionary. The /M will create the assembly for the main dictionary and /F will create the assembly for the modified forms dictionaries.

    Hope this helps.

  • veeyeskay Profile Picture
    veeyeskay on at
    Re: Creating AddIns Dll

    Hello Laxmi

    If you are having a separate dictionary with a custom form created (or) you have a modified form created for a standard GP window, you need to use DAG (Dictionary Application Generator) to create the assembly for the custom dictionary or the modified forms dictionary respectively and then reference that assembly in your customization using Visual Studio Tools.

    Hope this helps.

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

December Spotlight Star - Muhammad Affan

Congratulations to a top community star!

Top 10 leaders for November!

Congratulations to our November super stars!

Tips for Writing Effective Suggested Answers

Best practices for providing successful forum answers ✍️

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,280 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,235 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans