CrRibbonForm "Parameter is Not Valid"

Posted by: daniel.banks on 4 May 2018, 6:36 am EST

    • Post Options:
    • Link

    Posted 4 May 2018, 6:36 am EST

    We have an error which is occuring sporadically on a handful of machines. Using various debug traces I have narrowed it down this like of code on a RibbonForm.

                        sProgress = "Minimize = Calculate New Location"
                        Me.Height = 1
                        sProgress = "Minimize = Height - Set"
    

    The call stack then indicates it travels through

    C1.Win.C1Ribbon.C1RibbonForm.WndProc(Message& m)

    C1.Win.C1Ribbon.C1RibbonForm.m(Message& A_O)

    C1.Win.C1Ribbon.C1RibbonForm.a(Intptr A_O)

    System.Drawing.Bitmap…ctor(Int32 Width, Int32 Height, PixelFomat format).

    Exception: “Parameter is not valid”

    The current version I have installed is 4.0.29163,226.

    The VAST majority of users are fine but a few of them are consistently getting this error, help?

  • Posted 4 May 2018, 6:38 am EST - Updated 4 October 2022, 2:43 am EST

  • Posted 7 May 2018, 12:59 am EST

    Hello,

    We are unable to replicate this unusual error at our end, using the C1Ribbon samples. We would request you to try your application with the latest build (4.0.20181.303) and check if the issue persists. You can update to the same using C1Live (https://www.grapecity.com/en/blogs/update-your-controls-in-one-click-using-the-c1live-utility) or use the builds from : http://prerelease.componentone.com/dotnet40/c1winforms/2018-t1/C1WinForms.4_4.0.20181.303.zip

    If it occurs again, please share a stripped down sample with which the issue is randomly observed along with the steps required to be performed to replicate the issue.

    Best Regards,

    Esha

Need extra support?

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

Learn More

Forum Channels