Skip to main content

Using .Net Windows Forms control in AcuCOBOL program

  • December 14, 2012
  • 3 replies
  • 0 views

Hello,

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?

Thanks,

Claire

3 replies

Stephen Hjerpe
  • Participating Frequently
  • 1100 replies
  • December 14, 2012

Hello,

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?

Thanks,

Claire

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?


Stephen Hjerpe
  • Participating Frequently
  • 1100 replies
  • December 14, 2012

Hello,

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?

Thanks,

Claire

Version 9 .. current version 9.1.2.1 uses .Net 4.0


  • Author
  • Rocketeer
  • 19312 replies
  • December 14, 2012

Hello,

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?

Thanks,

Claire

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.