This message is for C/AL programmers: Could not create an instance of the OLE control or Automation server identified by GUID={10F16FCF-4EF8-4E90-9C55-44B2D9035C7D} 1.1:{A0DC9EB3-37D6-3FB5-8E26-C0ACABDD2B84}:’bmp2jpg’.IManage. Check that the OLE control or Automation server is correctly installed and registered.I can use the variable in C/AL code but at the time of executing it gives an error. I have registered the DLL with regasm.exe and I can use without any problem from another application.
Comments
Please take a look at this website http://blogs.msdn.com/skydtsgaard/default.aspx
It has steps on how to create a .NET DLL and access it from Navision.
Independent Consultant/Developer
blog: https://dynamicsuser.net/nav/b/ara3n
first of all, which Navision version do you use?
And on the other hand, you have to create a COM interop assembly for your control. Navision can not (yet) access and run directly "pure" .NET assemblies.
What do you want to do with that assembly? I can see that you try to convert a BMP to JPG, but from where do you get the BMP and where do you want to save the JPG (Database / File / ...)?
HTH,
Rainer
I'll try this in Nav 3.60, 3.70 and 4.0. Now i get the bmp file from file, but in the future i want to take it from BLOB field. I have set a true the property “Register for COM Interop” in the project.
This is my vb code:
I don't see Methods of the Manage class in Navision, but i see those of the IManage.
Thanks.