RE: VisualCOBOL in a Nutshell videos
Thanks a lot Chris, you are the best.Merry Christmas
View ArticleUnhandled Errors
As we migrate from a mainframe to Visual COBOL, we are concerned that programs currently aborting with unhandled exceptions will complete without any indication of an error. Here are a couple examples...
View ArticleRE: Unhandled Errors
Hi,You can use the CHECKDIV"ENTCOBOL" directive so that you get an division by zero error returned. Adding an ON SIZE ERROR would also allow you to handle the error in your code.For the spaces in...
View ArticleWindows form obliterates Dialog System window after closing form
I'm calling managed code from native. The managed code displays a "Please wait" dialog using the ShowDialog method and then does some processing. When the processing is complete, I do the Close...
View ArticleFail in call ENUM
The picture show all:How I can call that ENUM ?In comments have the C# code.... and, I just want to re-create the code in cobol...
View ArticleRE: Fail in call ENUM
Hi Bencz,The following code should work:- $set sourceformat"variable" $set ilusing"SocialExplorer.IO.FastDBF" program-id. Program1 as "ConsoleApplication2.Program1". data division....
View ArticleRE: Windows form obliterates Dialog System window after closing form
Hi Phil,Please create a support incident for this and mention my name in the description.If you could attach a small demo program that reproduces the problem to the incident it would be greatly...
View ArticleRebuild.exe
Hello all,I've managed to use rebuild.exe from visual cobol to reindex some files, but I'd like to use it on another machine.I tried copying the executable and the dll's to a new machine, but it...
View ArticleRE: Rebuild.exe
Rebuild.exe is part of the Visual COBOL development product and also part of the COBOL Server product.Like other Visual COBOL components it requires both the COBOL run-time files and a valid license...
View ArticleRE: Using 'Call' in Method
So the subprogram is a procedural COBOL program that resides in a different project is that correct?Is the project containing the called program a managed code Class Library project or is it a native...
View ArticleRE: Using 'Call' in Method
The programs are in different projects in a single solution. FPACTGN is the class library project. It's not that I am getting a not found or error, it just executes the call with nothing and goes to...
View ArticleRE: Using 'Call' in Method
How are you executing the call?Are you stepping through the call in the debugger using F11?Is any part of the call statement highlighted with an underline in the editor that displays the message about...
View ArticleRE: Using 'Call' in Method
Yes the calling parameter are underlined and the popup says 'Can not find method 'FPACTGN' with this signature - will generate dynamic call'. This is the large solution I have had issues with in the...
View ArticleUsing 'Call' in Method
I am trying to execute a non-windows form cobol program from a windows form cobol program with a method. My syntax is 'Call "FPACTGN" using PMCALL" . I have the called program referenced within the...
View ArticleRE: Using 'Call' in Method
That error message means that the compiler cannot resolve the call as the parameters do not match or the program name cannot be found.Are you adding a reference to the Class Library project within the...
View ArticleRE: Errors using properties
Bump.I've now found that adding methods to the OBJECT section allows the property to be used. However, none of the methods can be called and at run time exception 24 will be raised with: 'The class int...
View ArticleRE: Errors using properties
I have tested this here and I also find that in order to get this to compile properly a dummy method must be added to the object.But I do not experience the run-time error that you are seeing as it...
View ArticleRE: Using 'Call' in Method
I have a reference to the called program in the calling program project. I checked the dll is in the bin\debug folder of the calling program. I remove the calling parameter and still get the same...
View Article