third party bar code control

Posted by: allanduarte on 4 August 2017, 3:21 pm EST

  • Posted 4 August 2017, 3:21 pm EST

    Hello all



    I had a request from a customer to create a particular bar code (aztec 2D square) on some forms using IDAutomation software. The AR2 forms have been working flawlessly for years until I started using the new control (dll). I can run the report once or twice and get good results. Then on the next few tries the screen goes haywire and locks up. I usually have to end VB6 IDE and delete the ArToolbarcfg.tb file to get it to run again.



    Obviously, this control is causing some issues. Just wondering if anyone can provide some advice or if they have used this control in AR2.



    Thanks

    Allan

  • Replied 4 August 2017, 3:21 pm EST

    I'm placing on the AR itself as an ActiveX control.



    thanks for the reply.



    Allan

  • Replied 4 August 2017, 3:21 pm EST

    Allan,

    How exactly are you using the bar code? Are you placing this in the vb6 form or on the ActiveReport itself as an ActiveX control?

    Regards,
    Prantik
  • Replied 4 August 2017, 3:21 pm EST

    I tested some more tonight with some consistency. I can run the report from the vb IDE once with success. If I run a second time without going out of the IDE the report crashes. I have to go out of the IDE and back in to run again.
  • Replied 4 August 2017, 3:21 pm EST

    oh yeah, I need to mention that I installed the latest AR2 service pack last night and got the same issues.



    Allan
  • Replied 4 August 2017, 3:21 pm EST

    Hey Prantik



    I'll try to reproduce in a smaller project. My gut tells me it's some kinda memory thing. The report I'm running in the app is 190 pages and I have 6 individual bar codes at the bottom of every 5th page.



    Thanks

    Allan

  • Replied 4 August 2017, 3:21 pm EST

    Hello Allan,

    I am attaching the project I have used to test this issue. It generates a 200 Page report containing the barcode on each. But I was unable to reproduce the error that you mention. Could you please try modifying the sample to demonstrate the behavior.

    Regards,
    Prantik

    2012/02/Test-4.zip
  • Replied 4 August 2017, 3:21 pm EST

    Hello,

    Could you provide the url to download the dll/ocx for the trial version barcode that you mentioned for me to check this?

    Regards,
    Prantik
  • Replied 4 August 2017, 3:21 pm EST

    Linear + 2D version





    http://www.idautomation.com/activex/download.htm





    Thanks for your help.

    Allan

  • Replied 4 August 2017, 3:21 pm EST

    Hello Allan,

    I have downloaded the said version ;but am unable to reproduce the issue that you mention. At my end, the reports behave just fine even when using the Aztec Barcode inside the reports. Could you please attach a sample application that might display the behavior?

    Regards,
    Prantik
  • Replied 4 August 2017, 3:21 pm EST

    Hey Prantik

    I was able to simulate it after sending my last email. I changed the app you did by putting 5 more barcodes on the page then have it print 1000 pages. It might do it at 500 pages too.

    Allan

  • Replied 4 August 2017, 3:21 pm EST

    Sorry it took so long to get back. I can't really reproduce the error. the reports I've designed are 1 page  court documents full of data from a database  plus 6 of these barcodes with data containing defendants, addresses, attorney names, etc.

    Anyway I've tested and it runs good for about 100 pages then wigs out. I watch the memory go down in task manager. If I run the report over about two more times then it stops cold and I end the program and go back in. The memory keeps leaking but does not come back after the report runs. So I've throttled the report to print 100 pages per run.

    I'm sure it's the IDAutomation barcode giving me fits. I've never had these issues until I started using it.

    I use a "Set = nothing" after it runs hoping to free up some memory.

    Do you have any more ideas?

    Thanks for your help, BTW !


Need extra support?

Upgrade your support plan and get personal unlimited phone support with our customer engagement team

Learn More

Forum Channels