I'd like to use a standard .Net Windows Forms control in a COBOL program, but I'm running into .Net framework version issues. I only have the .Net version 4 System.Windows.Forms.dll, which can't be used with AcuCOBOL (at least not version 8.1.3).
I see from other forum posts that people have successfully used controls from System.Windows.Forms.dll recently, so can anyone give me a hint what I need to do? Do newer versions of Acu work with newer versions of the .Net framework?
When you see the other posts for using System.Windows.Forms.dll are they in this Extend Acu forum, or possibly in the Visual COBOL and or Net Express forums? In most cases, the way Acu works with .Net is that you have a .Net assembly that provides functions (method or property) you use NetDefGen to get these properties and methods of .Net assemblies. You use the Create syntax to load the assembly, and the Modify syntax to manipulate the assembly.
It may be more helpful to state what exactly you are trying to accomplish. Is the standard .Net Windows Forms control available as an ActiveX control? Which .Net control are you attempting to use?
Thanks for your reply. I'm currently using an ActiveX treeview in an AcuCOBOL program because it has features I need that the Acu treeview doesn't have, but I'd like to try out the .Net treeview.
I'm pretty sure the posts about System.Windows.Forms.dll were in the Extend forum, but I guess these folks are using a newer version of AcuCOBOL.