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

RE: Custom Libraries

If these are methods that simply act upon data that you pass to them then you can define then as static methods in a class in a separate project.Then add this project as a reference to your other...

View Article


Custom Libraries

I have several methods that I use in all of my forms and projects. I would like to place them in a library and access them from wherever I need them. Can you help me with the setup and syntax? I have...

View Article


How to use Linq ??

Hi :)I'm codding some test here, and, I see it's possible to use linq functions with VCobol, but, I don't know how to use that.http://i.imgur.com/4v79axn.pnghow I can use the select linq function, or,...

View Article

RE: How to use Linq ??

There is currently no support for lambda expressions, as in C#, but we do support anonymous methods.  These are specified as a code block delimited by keywords DELEGATE and END-DELEGATE and containing...

View Article

RE: masked textbox to numeric

Is this a maskedtextbox control?If it is then you can set the property TextMaskFormat = ExcludePromptAndLiterals and then the value of the Text property will be stripped of the mask characters and the...

View Article


masked textbox to numeric

Im trying to convert a textbox information to decimal like the following:01 FIELD PIC 9(10)...SET FIELD TO TYPE System.Convert::ToDecimal(self::textbox1::Text)The problem is that the textbox contains a...

View Article

RE: Custom Libraries

Just what I needed. Thanks.

View Article

RE: Read file in sequential mode

Yes, Visual COBOL supports all of the standard COBOL file types like sequential, line sequential, relative and indexed files.These are supported in .NET managed code as well as in native code...

View Article


RE: Read file in sequential mode

good, but,  have an specific location in source, to put the file division ???

View Article


Read file in sequential mode

Hi :)IT's possible to read and write a sequential file in Visual Cobol .net ?Like in that sample ?ENVIRONMENT DIVISION. INPUT-OUTPUT SECTION. FILE-CONTROL. SELECT StudentFile ASSIGN TO "STUDENTS.DAT"...

View Article

RE: Read file in sequential mode

Are you referring to where in a class program do you place the file definitions?Here is an example of what this could look like: class-id managedfiles.Form1 is partial inherits type...

View Article

RE: masked textbox to numeric

      class-id WindowsFormsApplication1.Form1 is partial                inherits type System.Windows.Forms.Form.      working-storage section.      method-id NEW.      procedure division....

View Article

RE: masked textbox to numeric

It worked, thanks Chris !Also thanks for the suggestion Bencz, the replace function can be useful to me in the future

View Article


ED VC 2.1 & 2.2 "COBOL indexer Options

At workspace level there is an option "Enable indexer"When this option is on.When you add many programs to a Cobol (local or remote) project, the indexation starts in background.You can't compile a...

View Article

RE: ED VC 2.1 & 2.2 "COBOL indexer Options

COBOL Indexing is the scanning of programs for dependency information (i.e. copy file usage), without up-to-date index information changes to copy files won't cause the programs which use the copy...

View Article


RE: JDBC Connection sharing between java and cobol

Please see the documentation on sharing a JDBC connection between Java and COBOL here:I believe that this is a new feature in Visual COBOL 2.2 so if you do not have that version you will have to...

View Article

RE: JDBC Connection sharing between java and cobol

Hello,I know this documentation. It just says the following :Pass the connection object to COBOL.Use EXEC SQL BIND CONNECTION to establish the connection.When done using the connection, use EXEC SQL...

View Article


RE: CBL_DIR_SCAN_READ

When testing your method I get an error on the cbl_dir_scan_read for index overflow because you have the filename field defined with an ODO but you do not set the value of NameLn prior to the call:...

View Article

RE: IS keyword conversion

Hi,Try the instance of syntax. Soemthing like:-          if lnk-obj instance of type System.Int32              display "I have been passed a System.Int32"          end-ifshould do what you...

View Article

IS keyword conversion

Hi :)I have a code when I use the IS keyword, in C#, and I would be convert that code to Visual Cobol, how I can make this ?see the code:private static System.Boolean IsNumeric(System.Object...

View Article
Browsing all 4356 articles
Browse latest View live


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