Hello,
someone can explaining me the different from "Automation" e "DotNet" variable? And more how I can made an automation, for example I have a DLL and I have registered with gacutil on my server but I can't see when I have created a global variable type automatition.
0
Comments
DotNet is pretty much what it says on the tin - it exposes the .NET framework itself inside Dynamics NAV.
As a very simple example:
Which always returns you a 10px by 10px black square in C:\TMP\bitmap.bmp
If you decided you wanted it to be written to C:\NewDirectory\TMP\ with a red square instead and you didn't have the source of the class lib you might recreate the functionality using the DotNet variable type:
With regards to adding your DLL to the global assembly cache, you also needed to register the assembly also. You can do this through the console:
Additional options and documentation on MSDN
I want to go swimming without water. Just doesn't work, does it?
I've told you the steps to (hopefully) resolve the problem you're currently facing.
Use regasm to register the DLL and you should see it in Nav under the `Automation` variable type.
I don't see an attachment, sorry.