Forum Post: RE: Callback function in Visual COBOL .NET
I made the changes you suggested but it now shows me the following error: Could not find method "Render" with this Signature. See attached file.
View ArticleForum Post: RE: Callback function in Visual COBOL .NET
It's difficult to say why it's failing without seeing the whole application. Is the Render method (in type LocalReport) declared with BY VALUE parameters?
View ArticleForum Post: RE: Accessing XML Files In WinForms App
Hi Nigel, I think the problem is that Element, Text and EndElement are not instance members and therefore cannot be accessed via the instance nodetype. Try something like: perform until...
View ArticleForum Post: RE: Accessing XML Files In WinForms App
Many thanks for your help and assistance.
View ArticleForum Post: RE: Callback function in Visual COBOL .NET
I understand the difficulty. The prototype for the method is: Microsoft.Reporting.WinForms.Report::Render(format AS string, deviceInfo AS string, createStream AS...
View ArticleForum Post: RE: Callback function in Visual COBOL .NET
OK, I finally made it working. I modified the INVOKE TO use the proper method name, not the dataitem. INVOKE informe::Render("Image", deviceInfo, method self::CreateStreamCallback, warnings). Which...
View ArticleForum Post: RE: Callback function in Visual COBOL .NET
Hi, I'm not sure I understand the question. If you're talking about the CreateStreamCallback method, I think the answer is yes, as you need to supply some code which will be the target of the...
View ArticleForum Post: RE: Callback function in Visual COBOL .NET
I got rid of the delegate and just renamed CreateStreamCallback method to CreateStream. Everything worked. Just I needed to learn the method parameter syntax.
View ArticleForum Post: RE: Callback function in Visual COBOL .NET
Ah yes, you don't need to define your own delegate. Glad you got it working...
View ArticleForum Post: RE: Adiscf in AIX 7.x
Hi Pedro, What exact product and version are you using on AIX 7.1? Has the PF3 option worked in prior product versions?
View ArticleForum Post: RE: Adiscf in AIX 7.x
Dear Blair , The versión is AIX 7.1 and we are trying to do this : PoorPoorFairFairAverageAverageGoodGoodExcellentExcellent Report Abuse Reply Chris Glazier Posted by Chris Glazier on 27 Oct...
View ArticleForum Post: 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 ArticleForum Post: Using MouseMove in a PictureBox to enter i.e a signature on a...
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 ArticleForum Post: RE: Using MouseMove in a PictureBox to enter i.e a signature on a...
Here is an example in a Windows Forms application: class-id savesignature.Form1 is partial inherits type System.Windows.Forms.Form. working-storage section. 01 prevLocation type Point value null....
View ArticleForum Post: RE: Using MouseMove in a PictureBox to enter i.e a signature on a...
Seems I've answered the question myself. Should anyone need this feature, here is a piece of code using Windows Forms. 1st Create a pictureBox 2nd set the mouse properties Up, Down Move $set...
View ArticleForum Post: RE: Adiscf in AIX 7.x
Hi Pedro, Are you saying that while you are trying to use the adiscf utility, some of the function keys are not working properly in that utility? If so, please try this as a workaround: For each...
View ArticleForum Post: RE: Using MouseMove in a PictureBox to enter i.e a signature on a...
Sorry Chris, didn't notice you had already answered my question. On the other hand - shows I'm getting better.
View ArticleForum Post: RE: Using MouseMove in a PictureBox to enter i.e a signature on a...
Yes Karl, you did quite well on the code conversion. I am very impressed!
View ArticleForum Post: 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" for...
View ArticleForum Post: 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