Quantcast
Channel: Visual COBOL
Browsing all 5819 articles
Browse latest View live

Forum Post: RE: native COBOL calling object

Hi Fran, The native to managed interface in Visual COBOL is the same as it is in Net Express. You would register your .NET assembly for use with COM Interop and then you would use the native OO COBOL...

View Article


Forum Post: RichTextBox

Hi again, Now I have the problem of replacement of variables resolved need a field to write the original text (which contains the variables to be replaced). I was looking for and I think I have two...

View Article


Forum Post: RE: RichTextBox

A RichTextBox can contain other elements besides basic text so it is more complicated to use. If you are simply trying to input and display standard text data then Textbox would probably be more...

View Article

Forum Post: File remains locked after managed COBOL returns to ASPX caller

Our application is a collection of originally Unisys mainframe tasks (IBM jobs) that over the last 18 years we have converted to Object COBOL, then Net Express, and finally Visual COBOL 2.3 for VS 2013...

View Article

Forum Post: RE: File remains locked after managed COBOL returns to ASPX caller

One possible solution would be to add exception processing for certain errors that could be detected. In your example of "File Not Found" you could add that check and then if the file is not there go...

View Article


Forum Post: RE: Error in debuging

If the server was upgraded to a new release of .NET you may need to verify that all the applications using .NET we also upgraded to the same release. I base this on our experience here when SYS Admin...

View Article

Forum Post: RE: File remains locked after managed COBOL returns to ASPX caller

As jholland states, you can add exception handling around the call statement using try/catch syntax so that you can close the file before the exception is passed back to the main program. In this...

View Article

Forum Post: RTS 198

hi, I'm using "Micro Focus COBOL Server 2.3.1142" on Windows Server 2012. The same program compiled with Enterprise Developer 2.3.1 (Eclipse version) with same input data on my server work fine,...

View Article


Forum Post: Cobol calling C#

We are replacing our legacy Cobol security programs with a new Security System which runs as a Web Service. Working with legacy code, I have an unmanaged cobol subroutine (SUBR01) that is compiled as...

View Article


Forum Post: RE: RTS 198

An rts  198 can mean a number of things. What happens is you just execute RUN.EXE without the command line? do you get an error? It could mean that the .dll you are trying to run has a dependency on...

View Article

Forum Post: RE: File remains locked after managed COBOL returns to ASPX caller

jholland's suggestion, as I understand it, would require adding FILE STATUS clauses to every SELECT statement in over 250 programs, plus logic code after every IO statement to test-and-branch.  We...

View Article

Forum Post: RE: Cobol calling C#

Have you debugged the C# DLL01 program and checked the parameters being passed in both when being called from a console app and being called from a web site? You state that the web site is an...

View Article

Forum Post: RE: RichTextBox

Hello, I had already realized that it was not easy but I will try with the example that sent me. Thanks

View Article


Forum Post: Calendar in WPF

Hi, Is there any way the calendar position without being the month in which we are? I have two calendars: one for check-in and one for check-out. Walking with the left (check-in) for June and click on...

View Article

Forum Post: RE: File remains locked after managed COBOL returns to ASPX caller

I was referring to adding a try catch block around the call statement that may cause the RTS 173 to occur or some other run-time error that occurs within the same program in which the file has been...

View Article


Forum Post: Default connection

In my code I have the connect statement like this:  connect /    It connect to oracle database (unix) Is it possible to connect to default ado connection?

View Article

Forum Post: dd_ variable

Where can i set this  variable in managed console application?  in native console application I put it in enviroment

View Article


Forum Post: RE: Export to excel

Hello Chris, That worked! But have got a problem now , which I was trying to fix but failed to. I am just getting an empty spreadsheet each time i do the export.

View Article

Forum Post: RE: Export to excel

Background There often is a need in a project's reporting module to show records of a GridView in an Excel sheet, so to do that I decided to write this article, especially focusing on beginners and...

View Article

Forum Post: RE: Default connection

There is no such thing as a default ADO connection. You need to specify a connect string to point to the ADO provider that you wish to use along with connection information such as authentication...

View Article
Browsing all 5819 articles
Browse latest View live


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