File open output and assign to printer works fine but need to add contents...
Here is my select statement for a file used as printer handling SELECT PRINT-FILE ASSIGN TO PRINTER "prt109" FILE STATUS IS ERR-STATUS. FD PRINT-FILE RECORD CONTAINS 132 CHARACTERS LABEL RECORDS ARE...
View Articlevisual cobol winform button control Flatstyle
Property type FlatStyle for Button control in winform application is set to type "standard". This behaves well in the development environment but it behaves as if property type was set to "Flat" when...
View ArticleVisual Studio 2017
Has anyone tried running Visual Cobol in Visual Studio 2017 yet?I know VS 2107 isn't officially out yet, but it sounds like it will be released soon.
View ArticleDifference Linux Interface Mapping Toolkit v6.0.00
Hi,When deploy a Cobol Web Service with variable array (OCCURS DEPENDING ON), work fine on Windows 7 but i can't deploy on Suse 11; and i need it on Suse for production.The computer is the same and the...
View ArticleThe CALL statement
I'm using Visual COBOL in Visual Studio 2015 and I'm having trouble doing a simple CALL statement. In NetExpress the called program .CBL had to be in the same directory and it always worked. Not sure...
View ArticleLinq/Lambda
How would one convert this linq/lambda expression to .net cobolreturnEnumerable.Range(0, reader.FieldCount).ToDictionary( i => reader.GetName(i), i => reader.GetValue(i));What I have so far is...
View ArticleObject Initializer
How would you write the student.Add(new Student() {....} in .net cobol. My attempt isinvoke student::Add(new Student() (new Student::IDThis is as far as I got before syntax errors.SqlDataReader...
View ArticleIs there an, EXEC SQL SELECT column size limit? Odd prob....
Environment: Windows 10, VS15, VC2.3, MySQL5.7Hi all,After a bit of experimenting there seems to be a 128 byte limit on the sql code for each item 'selected' - is that right? Can it be increased?e.g....
View ArticleMySqlParameter
How would you write this in .net Cobol as an object initializer. SqlParameter[] parameters ={newSqlParameter("@first_name",SqlDbType.VarChar,50){Value=...
View ArticleVisual COBOL PE 2.3 download
I am trying to download the Personal Edition for Eclipse on Windows 7.The download page gave me the choice of Visual Studio or Eclipse, butthe file downloaded was vsvc2015_23.exe. The Eclipse tab...
View ArticleMethod return value
Is there another way of returning a value back to the calling method other than using the set statement. For examplemethod-id GetUserTypes() returning #list as type List[type TO_Queue] public...
View ArticleConsuming a webservice -- Visual Cobol for Eclipse
Hi, We have Visual Cobol for Eclipse 2.2 and is successfully running to manage cobol applications to load to Oracle dabatase.we are trying to implement a call from Cobol to a web service which was...
View ArticleHow to do a prepared SQL select
Hello,I'm trying to do a prepared select but i got a compiler error message ** External Compiler Module message** ES0100 Incorrect SQL statement syntax near: intowhat i've done is:move "select pays...
View ArticleDefault Boolean
Just wondering why the default condition value does not change even when I assign it to true in the working storage section.class-id Validator. working-storage section. 01 #Title string...
View ArticleUsing a ACTIVEX with Visual Cobol - WPF
Hi,I need to use an ActiveX from a vendor to control ioboards.How do I incorporate ActiveX into my program?ThanksAlberto Ferraz
View ArticleVisual Cobol PE 2.3 download error
Hi Everybody,I' ve tried to download the Visual Cobol 2.3 for Eclipse PE version and have filled in the forms and received the email with the download link but when I click the link it takes me to an...
View Articlefile name mappings
I have a simple program that writes to two files. my file assignments look like this:select optional reg assign to "REGFILE". select optional peg assign to "UserFolder\PEGFILE".I have an environment...
View ArticleWPF - How to generate an event after the screen is shown
Hi,I use the following functions to call one program within another:method-id RegistoCartoesX public. 01 telaMenu type WPFApplication1.CA_RegCartao. procedure division. set telaMenu to new...
View ArticleWpf Listview Sort Example
Reaching out and seeing if anybody has a simple Wpf Listview sort example that they could post.I have a Wpf app that contains a Listview, but would like to be able to click on the heading and sort the...
View ArticleOracle Data Access Connectivity (ODAC) 64bit Connection issue when using...
My solution involved existing PRO*COBOL modules compiled into Visual COBOL. and for this we are using 64 bit ODAC drivers provide by Oracle.Installation of the ODAC drivers have been successful,...
View Article