Forum Post: RE: ignore "Leave" in a Windows Forms Textfield when a Button is...
No Chris, I can check the Leave Event which, when the field looses Focus calls a method "EvaluateInput". This I need to suppress when no key is pressed. Leave or Validating don't detect another object...
View ArticleForum Post: RE: ignore "Leave" in a Windows Forms Textfield when a Button is...
Sorry Chris, I made a mistake: The Validating Event is the right way. But, I'd appreciate if could tell me how to trap the Tab Key. Regards Rainer
View ArticleForum Post: RE: ignore "Leave" in a Windows Forms Textfield when a Button is...
If you place your code in the textbox validating event and then set the CausesValidation property of the button to false then the validating event for the textbox should not even be fired when the...
View ArticleForum Post: 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 ArticleForum Post: Questions about .gnt files
Hopefully I'll phrase these in an understandable way. As generated code is non-sharable does this mean each thread in a multi threaded program will load its own copy of a .gnt? If a .gnt is...
View ArticleForum Post: 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.png how I can use the select linq function,...
View ArticleForum Post: 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 ArticleWiki Page: Visual COBOL 2.2 - SOAP Web Services Client Tutorial
Introduction Now that we have a SOAP Web service containing our Legacy COBOL application, the next question is, how can we access it from a client? This tutorial gives a possible client-side scenario...
View ArticleWiki Page: Visual COBOL - JVM Web Services Portal
This document is a portal into the Micro Focus community documentation on JVM COBOL web services. Web Services in Visual COBOL 2.2 This section covers the web service tutorials, technologies and best...
View ArticleForum Post: 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 ArticleForum Post: RE: Read file in sequential mode
good, but, have an specific location in source, to put the file division ???
View ArticleForum Post: 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 ArticleWiki Page: Visual COBOL 2.2 - SOAP Web Services Tutorial
Introduction A lot of investment has been put into COBOL applications in terms of lines of code tested and man power. The business logic is essential to the business. There is the desire to make the...
View ArticleForum Post: 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 ArticleForum Post: 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 ArticleForum Post: JDBC Connection sharing between java and cobol
Hello, I have the following java code : Connection connection = null; try { /* DB2 */ Class.forName("com.ibm.db2.jcc.DB2Driver"); connection = DriverManager.getConnection...
View ArticleForum Post: 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 ArticleForum Post: 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 ArticleForum Post: 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