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 Articleignore "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 ArticleQuestions 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 ArticleCustom 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 ArticleHow 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 Articlemasked 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 ArticleRead 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 ArticleED 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 ArticleIS 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 ArticleJDBC 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 ArticleCBL_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 Articlecall 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 ArticleText 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 ArticlePrinter 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 ArticleLinq do SQL database
Hi ;)It's possible to use Linq connection with Visual Cobol ?Like...
View ArticleIncorrect 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 ArticleError 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 Articlecreate .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 ArticleVisual 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 Articleincompatible 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