Forum Post: RE: Print exit module for Visual cobol
Iam converting Netexpress dialog system projects to Visual cobol solution. NX was using some VB code for printing purpose which seems not to work with Visual cobol when recompiled. So iam looking for...
View ArticleForum Post: RE: DataGridView Grid Borders
It appears from the MSDN docs that type DataGridViewAdvancedCellBorderStyle::OutsetDouble can only be used for the right border if the dataGridView is set to RightToLeft processing. If I change the...
View ArticleForum Post: RE: Print exit module for Visual cobol
I don't see why the VB code would not work under Visual COBOL if it worked under Net Express. How is the VB code being called and what is the error that you are receiving?
View ArticleForum Post: RE: Looking for database programming example for green screen
Hi Peter, In Visual COBOL you can use embedded EXEC SQL statements to access a database. There are a number of options to use depending on the vendor of the database. The easiest is if the database...
View ArticleForum Post: RE: How to expand Green Screen to 120 columns?
Hi Peter, It would be good to confirm which Operating System you are using. Is this Windows? If so, the window size when you run a COBOL program through the Eclipse IDE is controlled by the system...
View ArticleForum Post: Listbox Click
Are there any example of determining the difference between a click and a double click on a listbox? Have searched and can not find much.
View ArticleForum Post: RE: Listbox Click
There are two different event handlers for a Click or DoubleClick events that you can check individually. If you are trying to select an item when only the double-click is used then you can use...
View ArticleForum Post: Coding guidelines
Hello, just wanted to divert your attention to some advice on coding guidelines for Micro Focus COBOL, by Micro Focus COBOL developers. You can find the article here . Hope you find it useful....
View ArticleForum Post: Net express Directive
Hi These are the default directives which are set in NE. %FILENAME COBIDY(%TARGETDIR) WB3 WB CSI ANIM EDITOR(MF2) ENSUITE(3) nobell errq errlist rawlist linkcount(1024) bound perform-type(osvs)...
View ArticleForum Post: RE: Net express Directive
Hello, %FILENAME and %TARGETDIR are not directives, and they are only specific to Net Express. %FILENAME represents the source code to be compiled, and %TARGETDIR is the build directory, i.e....
View ArticleForum Post: RE: Net express Directive
Thanks Fano! I have seen the list which you provided. It does not contain much description about "WB3 WB CSI" other than that they are system directives and should not b eremoved. Also, it does not...
View ArticleForum Post: native to managed
Hi, I am facing a problem while calling a program in managed dll from native dll. When a normal call is made from native to managed, it is giving the error code 173 program not found. I have tried...
View ArticleForum Post: RE: native to managed
You cannot call a managed code assembly (.dll) directly from a native COBOL program using the CALL statement. You must instead build the managed code .dll for use with COM Interop and register it and...
View ArticleForum Post: Consuming a WCF Service Created in .NET 4.5 in Visual COBOL.
Hi Our Objective is to consume the WCF Service Created in .NET 4.5. We are trying to Consume the Same WCF Service in Visual COBOL. As per my initial understanding, To achieve this in Visual COBOL, We...
View ArticleForum Post: RE: Looking for database programming example for green screen
Chris, Could you post the copybooks that belong to this example. I'm looking through the online videos but have not found one that goes into setting up the copybooks. Thanks. Peter
View ArticleForum Post: RE: Looking for database programming example for green screen
I believe that the video on Using OpenESQL Assistant covers how to generate the host variable copybooks for a particular table. The one generated for the example here which uses SQL Server Northwind...
View ArticleForum Post: RE: Net express Directive
align"4" means that 01 levels will be aligned on 4 byte boundaries in the memory of the computer. The other directives that you mention are system directives that control the behavior of the Net...
View ArticleForum Post: RE: Consuming a WCF Service Created in .NET 4.5 in Visual COBOL.
Hi Charan, In a native COBOL project you can consume Web Services by using the IMTK, Client Generation tool if you have a WSDL file for the Web Service. For a WCF Web Service you can obtain the WSDL...
View Article