Quantcast
Channel: Visual COBOL - Forum - Recent Threads
Browsing all 1559 articles
Browse latest View live

Public Class for a WPF Data Grid

Hi I Need a public Method like this in C#:    public class WPFGridZeilen     {         public string GrSp01 { get; set; }         public string GrSp02 { get; set; }     }It's a public Class in a C# EXE...

View Article


ignore "Leave" in a Windows Forms Textfield when a Button is pushed

I need to trap the Event, when a Textfield is left. I.e. when I push a defined (e.g. List-) button, the field that had Focus causes a "Leave" Event occuring before the button pressed Event is...

View Article


Questions about .gnt files

Hopefully I'll phrase these in an understandable way. As generated code is non-sharable does this mean each thread in a multi threaded program will load its own copy of a .gnt?If a .gnt is regenerated...

View Article

Custom Libraries

I have several methods that I use in all of my forms and projects. I would like to place them in a library and access them from wherever I need them. Can you help me with the setup and syntax? I have...

View Article

How to use Linq ??

Hi :)I'm codding some test here, and, I see it's possible to use linq functions with VCobol, but, I don't know how to use that.http://i.imgur.com/4v79axn.pnghow I can use the select linq function, or,...

View Article


masked textbox to numeric

Im trying to convert a textbox information to decimal like the following:01 FIELD PIC 9(10)...SET FIELD TO TYPE System.Convert::ToDecimal(self::textbox1::Text)The problem is that the textbox contains a...

View Article

Read file in sequential mode

Hi :)IT's possible to read and write a sequential file in Visual Cobol .net ?Like in that sample ?ENVIRONMENT DIVISION. INPUT-OUTPUT SECTION. FILE-CONTROL. SELECT StudentFile ASSIGN TO "STUDENTS.DAT"...

View Article

ED VC 2.1 & 2.2 "COBOL indexer Options

At workspace level there is an option "Enable indexer"When this option is on.When you add many programs to a Cobol (local or remote) project, the indexation starts in background.You can't compile a...

View Article


IS keyword conversion

Hi :)I have a code when I use the IS keyword, in C#, and I would be convert that code to Visual Cobol, how I can make this ?see the code:private static System.Boolean IsNumeric(System.Object...

View Article


JDBC Connection sharing between java and cobol

Hello,I have the following java code :Connection connection = null;try {    /* DB2 */    Class.forName("com.ibm.db2.jcc.DB2Driver");    connection = DriverManager.getConnection...

View Article

CBL_DIR_SCAN_READ

Hi   I have a method that scans a directory and copies each file found to a sub-directory ("backup"). The problem is that the directory scan routine ("CBL_DIR_SCAN_READ") does not return with a file...

View Article

call x'91' function 35

We just recently went to visual cobol and we are having trouble with the call x'91' function 35.  It seems to work fine on each of the developers pc's - which have visual cobol installed on them, but...

View Article

Image may be NSFW.
Clik here to view.

Text formatting inside textbox

Im reading an indexed file with visual cobol and displaying its data in a multiline textbox.The problem is that every field has a different size (not in the pic definition, but the "letters size"), and...

View Article


Printer Browser

I was looking at the examples in "PC_PRINTER_SET_DEFAULT". Example #2 uses the routine to brows for a printer. It then uses the routine to set the printer as the default. It then uses "PC_PRINT_FILE"...

View Article

Linq do SQL database

Hi ;)It's possible to use Linq connection with Visual Cobol ?Like...

View Article


Incorrect SQL statement

I am getting a "COBES0100 : Incorrect SQL statement syntax near: RESULT" when I try  building my project. RESULT is a column name in one of my tables. This code is coming over from Acucobol, where It...

View Article

Error with tracking logs when build

I frequently get this warning when I run or build a Visual COBOL native or managed project in Visual Studio 2012:"Forcing a rebuild of all sources due to an error with the tracking logs.  Not a valid...

View Article


create .RS from .GS

Where would I find documentation on how to create a .RS file from a .GS file for Dialog System Screensets.  I was using DSWIN and a .RSS file to build the .RS files.  DSWIN will not run because my...

View Article

Visual Studio edition

When I go to the link sent to me by MF to download the free/personal Visual COBOL, I am presented with the same download file for both Visual Studio and Eclipse: "Visual COBOL for Eclipse Personal...

View Article

incompatible types

I got an incompatible error in my methoderror COBCH0968 : Collection element has incompatible typeIn that  peace of  code "perform varying val through _where_", the compiler say the type...

View Article
Browsing all 1559 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>