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

Adding resouces to project

I have several .jpg files that I would like to add as resources.  I use these to display a variable background color for a control at run time.  I have not found a way to add them under...

View Article


Link error

Below is the link error we are getting in Visual Cobol that we did not get in our Net Express 3.1.What steps do I need to take to resolve this error ? Is this a missing parameter or  modules that has...

View Article


RE: Get the date and time the local server

You can use the NetRemoteTOD WINAPI function to do this.The docs can be found here:A COBOL example of this would be: identification division. program-id. Program1. environment division. configuration...

View Article

Get the date and time the local server

I need to get the date and time of the local server and write a file.It can not be the workstation because the user can change them.Is there some function or class that execute this process?VC 2.2...

View Article

RE: Get the date and time the local server

Hi Chris,The your example worked in Net Express but two hours forward already in Visual Cobol 2.2 .NET show the following error (attached). It would be the missing of a namespace?

View Article


RE: Get the date and time the local server

This is a native Windows API function and not a .NET Framework class so when it is being called from managed code P/Invoke.is being used under the covers. The warning you are getting is normal in this...

View Article

RE: Sharing an instance of an object between classes.

I am attaching an example that contains a WinForms project that has a form and a couple of additional  classes including one that contains the static method that will either create a new object if...

View Article

RE: Adding resouces to project

I do not have a problem with adding a jpg file to a resource file and accessing this within a WinForm program.Right-click on project and select Add-->New Item and select Assembly Resource file.This...

View Article


RE: Link error

I am not familiar with those symbol name. I do not believe that they are Micro Focus symbols.Do you have any call statements in your programs that directly reference these routine names?Thanks.

View Article


RE: Link error

Any chanced of getting a copy of the program to peek at?  If there are lots of copybooks use the compiler directive RAWLIST and attach the llisting

View Article

RE: Adding resouces to project

Thanks.  That was simple.

View Article

License Error 26

I had changed my Date while working on a project to test out the Day of week function and now I get a License Error 26- Tampered date issue.  What can I do to resolve this.  I have a class to teach...

View Article

RE: License Error 26

The error you are reporting will need to be handled over the phone, can you call 1-800-632-6265 and ask for Alex.  You should have the serial number for your product (600000123456) and the "Old Machine...

View Article


RE: ADO cursors

Try setting the directive SQL(BEHAVIOR=UNOPTIMIZED) for compatibility with Net Express. This will turn off the autofetch feature.There are some other primitive directives under the main BEHAVIOR...

View Article

RE: MS Access DCLGEN

To access any database including MS Access from within a native Visual COBOL program you will need to create an ODBC DSN in order to connect to the database. You can then use this DSN in your EXEC SQL...

View Article


MS Access DCLGEN

Can someone walk me through how to setup a MS Access (accdb) DB to use with VC and how to create a DCLGEN.I have been at this for about 2 months with no luck.

View Article

CALL Stored Procedure

Dear Chris,Do you see any ERROR in the following ?.I am CALL a Stored Procedure  in a Cobol Program.EXECSQL               CALL :PROCNAME USING DECLARATOR :COSCMNPRD END-EXECIF SQLCODE NOT = ZEROS...

View Article


RE: CALL Stored Procedure

Hi Pedro,This does not appear to be valid OpenESQL syntax for the exec sql call statement. Where did that syntax originate?Please see the documentation here for examples.There is also a video which...

View Article

RE: ADO cursors

Thank you for the answer. That was our setting but I have found out that BEHAVIOR=MAINFRAME is the one that make our program works like before. The only difference is that until now we were setting the...

View Article

ADO cursors

We have an issue with ado cursor In visual Cobol.   when we open a cursor with exec sql statement it fetch all rows in memory before returns to next statement. That means huge memory needs and alot of...

View Article
Browsing all 4356 articles
Browse latest View live


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