Forum Post: RE: Select the first line in a data grid
Hi, Already introduced the Set statement dgrid Customers::SelectedIndex to -1 in the program (as you suggested).. It seems that does not accept the -1 because putting SelectedIndex to -1 or...
View ArticleForum Post: RE: Courseware
Hi Warren, 8th April or thereabouts. Please send me a message for further information. Regards, Scot
View ArticleForum Post: JVM - Library Routines
Hello, in a previous release (2.2) of Visual-Cobol for Eclipse, it was possible to call a "CBL_GET_CURRENT_DIR"-Routine in a JVM-Cobol-program. Now in 2.3 I get an error in the same program, when...
View ArticleForum Post: RE: JVM - Library Routines
Hi Harald, There appears to be a bug in the compiler which is causing this error. I have tracked the cause down to the parameters you are passing to CBL_GET_CURRENT_DIR are part of a group item. If I...
View ArticleForum Post: RE: JVM - Library Routines
You can also try to add the directive NOILNATIVE to the COBOL compile and then it appears to work even with the group item. I would still like you to open up a support incident so that we can give you...
View ArticleForum Post: Add lines in a datagrid
Hello, Until now i always filled the datagrid by reading a file so you always have used the instructions they gave me: create pricelist September ImpRubr to new ImpRubricas...
View ArticleForum Post: Thread
Bom dia, antes eu utilizava o Cobol isCobol e lá temos a instrução "perform thread" essa instrução faz com que desvie o fluxo do programa para uma rotina e fique executando outra ao mesmo tempo como...
View ArticleForum Post: CANCEL statement not working on programs generated as .dlls
Hi We are upgrading an application written in Net Express using Dialog screensets to Visual Cobol using Windows forms. In Net Express: we have one project and the main .exe calls sub programs...
View ArticleForum Post: RE: CANCEL statement not working on programs generated as .dlls
Hi, The CANCEL works for me in a demo program which I am attaching here. I am using the latest product release so it is possible that this has been fixed between your version and the current one. When...
View ArticleForum Post: RE: Thread
The perform thread syntax is not supported in Visual COBOL. Multi-threading can be done using a variety of methods. There is an entire section in the documentation devoted to this topic. It can be...
View ArticleForum Post: Cobol Copybook
Is there a way to create one cobol copybook that contains all group level records needed and then access just part of them where needed. For example, let's say I have a trans-in file and trans-out...
View ArticleForum Post: Dialog error 18
I have imported a Net Express project that uses Dialog System into Visual COBOL, and I changed all the screen properties to 'Always copy' so they would could to the debug dir. However, instead of...
View ArticleForum Post: RE: Dialog error 18
When you set Copy to Output Directory to "Always" for a file such as a screenset it tells Visual Studio to copy that file to whatever folder is specified in the project properties COBOL page -- Output...
View ArticleForum Post: RE: Thread
Fiz os testes, e devo ter feito alguma coisa errada. Eu não consigo fazer leitura arquivos em um method static? I did the tests , and I must have done something wrong . I can not do reading files in a...
View ArticleForum Post: RE: Thread
This was just a simple example of one way that you can use the .NET Threading syntax which happened to use a static method. If you need to use an instance method with threading you can do this as...
View ArticleForum Post: RE: Dialog error 18
That makes sense, Chris, but my output path for the cobol projects is .\bin\x86\Debug\ - I haven't changed them, but for some reason, the always copy is not recognizing that. Do the corressponding...
View ArticleForum Post: RE: Dialog error 18
Each project has its own build structure and Output Folder. You can set each project to point to the same Output Folder if you wanted all output to go to the same directory. If you are using a...
View ArticleForum Post: COBCH0837S Procedural code not allowed here
I am writing an Eclipse managed cobol program. Whenever I try to put statements in the Class Working-Storage Section, my first statement gives me error COBCH0837S Procedural code not allowed here. Am...
View ArticleForum Post: RE: COBCH0837S Procedural code not allowed here
Hi Warren, Can you please be more specific? What type of statements are you trying to put in working-storage? The only statements that should go into working-storage are data definition clauses. All...
View Article