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?
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.
Let us know if you need further assistance.
Thanks & Regards
Siva - Dynamics GP MVP (2010 - 2012)
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.
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?
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
But I declared the class member as public. I'm still not sure why it is causing this error.
Other Microsoft Sites
I'm a Customer
I'm a Partner
Follow Microsoft Dynamics