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

Forum Post: RE: Formatting numeric data items

Oops!  A slight typo in the above Use this instead 01  DecimalValue-E  PIC  ZZ,ZZ9.99-

View Article


Forum Post: RE: Formatting numeric data items

Hallo You mentioned that you are a C# developer. So I recommend using the new Cobol type definitions and not the old Picture. In your case the type is decimal: 01 DecimalValue decimal. See Help for...

View Article


Forum Post: RE: IList[string] instead of List[string]

Hi Randy, in the syntax: declare TableNew as List[string] ... the word 'List' is interpreted as a reserved word indicating a predefined LIST type, which as you have discovered is mapped in .NET onto...

View Article

Forum Post: RE: Formatting numeric data items

If on the other hand you have existing code which uses the PICTURE definition, you should be able to get the results you want by using a cast operation to decimal (which is a predefined type meaning...

View Article

Forum Post: RE: Formatting numeric data items

PIC S9(5)V99 is not a real decimal value, it's just a numeric string. The following statement does what you want: set textBox1::Text  to  (DecimalValue as decimal)::ToString("N02") Paramter "N02" will...

View Article


Forum Post: RE: Cobol editors

You can install Visual COBOL for Eclipse and Visual COBOL for Visual Studio on the same machine but they are each a distinct product with their own installers. Visual COBOL will not install into...

View Article

Forum Post: How to show monetary value in a MaskedTextBox

There is a way to show the value a field pic 9(09)V99 in a MaskedTextBox? In my test the value is distorted. I would like to SHOW the following result in MaskedTextBox. R$  1.500.25 Visual Cobol 2.2...

View Article

Forum Post: RE: Visual Studio for Visual Cobol

Visual COBOL installed into the Visual Studio Integrated Shell contains everything you need to develop a COBOL application including editor, compiler, debugger, etc.but there are some limitations when...

View Article


Forum Post: RE: CCW type project, can also be called from Managed?

It is actually much easier to call the managed WinForm app from another managed program as you do not go through the extra COM Interop layer. Add a new managed console project to your ManWin1 solution...

View Article


Forum Post: RE: How to show monetary value in a MaskedTextBox

This appears to be a limitation of the MaskedTextBox control in that the format is a fixed length and requires the same number of digits in order to format it correctly. You might want to look at...

View Article

Forum Post: RE: IList[string] instead of List[string]

Thanks, Robert. I'm always forgetting to add the TYPE keyword (C# of course doesn't have that) just like I keep trying to  terminate lines with semi-colons. But usually, I get an error if I don't have...

View Article

Forum Post: RE: IList[string] instead of List[string]

Yes, I know a lot of people have problems with the TYPE keyword (also internally here within Micro Focus) - problems with dealing with a language that has so much syntax and so many reserved words....

View Article

Forum Post: Call program in EVALUATE clause

Hello (again). I have a program that reads records in a .txt file. Depending on the content of that file it will determine what program is to be CALLed next. The records are read into a structure in...

View Article


Forum Post: RE: Call program in EVALUATE clause

Hi Thomas, It appears you have F1-PRG (the field you're testing in the EVALUATE) defined as PIC X(8), yet the value you are testing for is 9 characters. So, at best, F1-PRG may contain "TBN01002", but...

View Article

Forum Post: RE: Call program in EVALUATE clause

Oh, why didn't I see that? Thank you! - Thomas

View Article


Forum Post: RE: How to show monetary value in a MaskedTextBox

Hi Cris, Unfortunately it was not possible to use MaskedTextBox. I solved the problem thereby: (attached file)

View Article

Forum Post: Visual COBOL for Eclipse

tried using the download link in the email and it comes up with a "Server Error in '/' Application." error Runtime Error Description: An application error occurred on the server. The current custom...

View Article


Forum Post: Visual COBOL for eclipse(windows)

tried installing with vce_22.exe and it asks me to install 32-bit oracle java 1.6, what is this? i thought the installer installed everything i needed?

View Article

Forum Post: RE: Visual COBOL for eclipse(windows)

From the docs - it appears the 32-bit Java install is in fact a prereq. Software requirements Eclipse requirements •Visual COBOL only supports the 32-bit Eclipse IDE and requires a 32-bit Java...

View Article

Forum Post: RE: Visual COBOL for Eclipse

Errors like this can typically occur when our web site has become temporarily unavailable. I see that you have made another post where you had questions on the actual product install so I am assuming...

View Article
Browsing all 5819 articles
Browse latest View live


Latest Images

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