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

Using MouseMove in a PictureBox to enter i.e a signature on a touch screen.

Is there an example program available which catches the MouseMove event in a PictureBox to draw a line following the movement and allowing this to be saved as a bitmap. I've seen examples in C# but my...

View Article


Cobol Ant Task

Hello,I do have an JVMCobol Project with some thousand CobolFiles. The whole stuff is highly integrated with other JavaSources running in a JBOSS Application Server. The problem is the following :-...

View Article


RE: Cobol Ant Task

In the meantime I have coded a workaround with ant-contrib. There is a Task called "outofdate" which does the dependency checking. It looks like this <target name="compile" depends="init">...

View Article

RE: X Button

Trap the FormClosing event on the form itself and this will be fired whenever the user clicks on the X.

View Article

RE: X Button

Thanks!

View Article


RE: X Button

Sorry to ask this but how do you trap the form closing event?

View Article

Image may be NSFW.
Clik here to view.

RE: X Button

You need to generate a FormClosing event handler and add your code to the method that is generated.You can do this by clicking on the form itself and then in the properties window, click the lightning...

View Article

X Button

In visual cobol is there a way to trapped the X button on a winform being clicked.  I need to do some processing before closing the window. Thanks

View Article


RE: X Button

Thanks Chris.

View Article


RE: Populate array with "occurs any"

That's strange, I tried copying the field into a local item to form part of a cut-down:      class-id a.      method-id main static.      01 ItemsField type royalmail.Item occurs any...

View Article

Populate array with "occurs any"

I have just started using Visual Cobol in Microfocus Visual Studio 2012.My code needs to read records and update an array named 'ItemsField' in a web service reference file(See attached Word file for...

View Article

RE: Populate array with "occurs any"

Hi Robert. Thanks for your help. I tried copying it into a local item as well and it compiled ok.So I'm still looking for a solution. In the Word doc I attached to this subject I have highlighted the...

View Article

RE: Getting cobconfig to work.

Mozdzierz,Open a Visual COBOL command prompt.Create your text file containing set printer_redirection=trueFrom the command line set COBCONFIG=<path>\cobconfig.cfgRun your app. If your USB printer...

View Article


RE: Visual COBOL Generate KeyStroke.

Partha,You haven't given any infiormation on how the user interface fields are implemented so it will be difficult for anybody to give you a definitive answer. Is the code using SCREEN SECTION, Dialog...

View Article

External Defined Dataname

I have a 01 data field defined as external within a program because the data is used by many programs and I did not want to pass it from program to program (this is a .net project).  When I am in debug...

View Article


RE: External Defined Dataname

Can you attach a code snippet showing the definition of your field, and could you specify which version of the product you are using ? I just tried creating a simple test program with an item defined...

View Article

RE: Visual COBOL Generate KeyStroke.

yes Gael I am using the Screen Section but could you please explain more on CURSOR IS clause as it can take the position of next field right?

View Article


RE: Visual COBOL Generate KeyStroke.

Partha,The CURSOR IS is defined in the SPECIAL-NAMES paragraph of the CONFIGURATION SECTION of the ENVIRONMENT DIVISION of your program containing the SCREN SECTION. The following is from the product...

View Article

Visual COBOL Generate KeyStroke.

Is there any way to generate KeyStroke programatically to move cursor control to the next field. The same feature was handled by the TAB key. Client's requirement is to validate each of the fileds in...

View Article

Field Lenght

Is there any function is avialable in VISUAL COBOL to calculate the Field-Length. We are actually facing one problem like where cursor is blinked on SCREEN-SECTION we are not able to capture the total...

View Article
Browsing all 4356 articles
Browse latest View live