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

Just want to make a simple procedural COBOL program, what template should I use?

I am guessing I should use Managed (might as well make the program be able to run under .NET as well as JVM) then after that I am not sure.  I suppose Console Application would be a fine but I am now...

View Article


Single program compile (Managed COBOL / Enterprise Developer/Eclipse)

Hope it is OK to ask an Enterprise Developer question in this forum.    Running ED v2.3.2.   Managed COBOL.   Refactoring an existing copybook that is used by 200 programs and would like to change the...

View Article


Cobol passing parameters form C#

I have a form in C# that receives a parameter would like the cobol call this program passing this parameter, the form would open and show what came from cobol?namespace nomeprograma{ public partial...

View Article

Does Visual COBOL for Visual Studio 2017 support NuGet?

Hi,We need to reference an assembly that is the output of our daily build. The project of the referenced assembly lives in a different repository.It would be handy if we could use nuget, or are there...

View Article

Launch an application(website) and send it to second monitor

Hi, I am trying to open a website and send it to second monitor from my visual cobol winforms application.So i have tried "System.Diagnostics.Process::Start" to launch a website, but i am not able to...

View Article


Button display in windows 2012 server

Button control is being displayed as expected in windows 7 machine but in 2012 server it displays more like a label(just as s flat control , doesn't highlight the borders when focused) .Is there...

View Article

Visual COBOL VS 2015

Is the Add as Link feature disabled in the free trial download? It only lets me use Add.

View Article

Image may be NSFW.
Clik here to view.

Arrays and Tables (SORT and SEARCH)

Hi Guessing this kind of thing has been used by many COBOL programmers. There is a TABLE of 10-digit numbers. User enters (ACCEPT) how many such numbers they require. an ARRAY of 5 x 2-digit RANDOM...

View Article


How to test COBOL data type hinstance returned from winapi call ?

Hi there,Hoping someone can help.I'm calling winapi "ShellExecuteA" from a Visual Cobol program to open a document (pdf/webpage etc) which works fine. It returns a handle instance, 'hinstance' which I...

View Article


Help - VC for VS 2015

I keep getting the following error:   error COBCH0008 : Unknown copybook library-data.cpy...

View Article

NullReference exception.

I have the fields 01  prefix-error-status      pic 9.  and the statement move ls-status-ok to ls-error-status. This code gives me a NullReference exceptionunhandled.          78  prefix-status-OK...

View Article

VC for VS 2015 - form buttons

I am building a calculator and have four buttons they used to work , so I must have accidentally changed something. Can some tell me how these aremade active? Is it in the properties?   

View Article

SaveAs whit atributes excel in cobol native

Good day, I come to your collaboration and knowledge. How can I give attributes when saving to excel? This is the code, Chris I collaborated with the separation of the text in columns, thanks to the I...

View Article


Are Host Arrays supported in OpenESQL ADO .NET managed code?

We want to improve the speed at which one of our programs can INSERT rows into a table. Host Arrays sounds like the way to go, but the documentation (.NET Host Variables in Managed Code) specifies that...

View Article

file not found when running cobol application from file explorer

i am running cobol server. I have COBDATA set as an environment variable system wide (this is a development box). my project is managed code multiple output. If I open a Visual Cobol command prompt and...

View Article


Accidental stand-alone "PERFORM" doesn't generate compile error

I've got Micro Focus Visual COBOL for Visual Studio 2010.   While working on a program, I accidentally compiled it while it had a stand-alone (incomplete) PERFORM command.  I was surprised to see that...

View Article

Forms button not working in VC for VS 2015

i apologize for posting this problem again but I am at a loss as to where to look for a solution. I have scoured the internet asking every question I could think of to get some pertinent information...

View Article


C# to VC Class

Hi, is there any documentation on how to convert below C# into VC class?using System;using System.Collections.Generic;using System.Linq;using System.Text;using System.Threading.Tasks;using...

View Article

Help - How to use pointers in visual cobol?

I am migrating the netexpress COBOL to Visual cobol with eclipse but few programs which use below pointers are not working when compiling in visual cobol dll. for example Netexpress Cobol has "SET...

View Article

exec sql begin tran and autocommit

Hi,I'm running some programs in exec sql autocommit mode which I have as a compiler option (Windows VC 2.3.2 on VS 15) with MySQl.For a short section I want to run in a transaction and commit at the...

View Article
Browsing all 1559 articles
Browse latest View live


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