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

RE: Invalid picture strings

The "Incompatible qualifiers" is because COBOL does not allow the SIGN clause for other than DISPLAY usage.  ACUCOBOL ignores this error.The "illegal precedence" is because if any symbols after the...

View Article


RE: Callback function in Visual COBOL .NET

Hi jcamacho, I think you need to make two changes:1) the parameters in CreateStreamCallBack need to be BY VALUE, so:method-id CreateStreamCallBack. procedure division USING BY VALUE nombre as string,...

View Article


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 Article

Callback function in Visual COBOL .NET

Hello,I´m trying to implement in Visual COBOL the following code (C#):report.Render("Image", deviceInfo, CreateStream, out warnings);CreateStream is not a dataitem but a function call... that is, a...

View Article

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 Article


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 Article

Accessing XML Files In WinForms App

Hicould anyone point me in the right direction as I'm trying to read an XML document into a Windows Forms application with little success?I currently have the following code (which gives compilation...

View Article

RE: Accessing XML Files In WinForms App

Many thanks for your help and assistance.

View Article


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 Article


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 makes...

View Article

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 delegate...

View Article

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 Article

RE: Callback function in Visual COBOL .NET

Ah yes, you don't need to define your own delegate.  Glad you got it working...

View Article


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 Article

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  ReplyChris Glazier    Posted by Chris Glazier   on  27 Oct 2011...

View Article


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

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 Article

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

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 ilusing...

View Article


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 function...

View Article

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

Sorry Chris,didn't notice you had already answered my question. On the other hand - shows I'm getting better.

View Article

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

Yes Karl, you did quite well on the code conversion.I am very impressed!

View Article
Browsing all 4356 articles
Browse latest View live


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