C1Flexgrid SaveExcel Missing

Posted by: gkayne on 13 November 2017, 9:05 pm EST

    • Post Options:
    • Link

    Posted 13 November 2017, 9:05 pm EST

    Save Excel is no longer available to C1Flexgrid for WinForms after updating to Version 4.0.20173.282:

    • Error BC30456 ‘SaveExcel’ is not a member of ‘C1FlexGrid’.

    -Usage:

    C1FlexGrid.SaveExcel(varFileName, varCaption, FileFlags.AsDisplayed + FileFlags.VisibleOnly + FileFlags.IncludeFixedCells + FileFlags.OpenXml)

  • Posted 13 November 2017, 9:36 pm EST

    Hi,

    from the readme of .282 (see file “C:\Program Files (x86)\ComponentOne\WinForms Edition\ChangeLog.html”):

    SaveExcel(string fileName, …) methods were moved to C1.Win.C1FlexGrid.ImportExport assembly as extension methods. FileFlags and FileFormatEnum enumerations were also moved to C1.Win.C1FlexGrid.ImportExport assembly. If you use any of the listed methods, add reference to C1.Win.C1FlexGrid.ImportExport.4.dll to resolve “C1FlexGrid does not contain a definition for …” error.

    Best regards

    Wolfgang

  • Posted 14 November 2017, 12:41 am EST

    Thanks.

  • Posted 9 September 2018, 6:13 pm EST

    Hi,

    Now we moved from 2.0 (188) components to 4.0 (318) ; we have the following error using the “SaveExcel” method : “Could not load file or assembly C1.C1Excel.4 …”.

    Is it necessary to also add a reference to this dll in the references ?

    Thanks

  • Posted 10 September 2018, 4:02 pm EST

    Hi,

    You need to add a reference to C1.Win.C1FlexGrid.ImportExport.4.dll in your project. As already mentioned above by Wolfgang, the SaveExcel method has been moved to C1.Win.C1FlexGrid.ImportExport.4 assembly.

    Regards,

    Jitender

  • Posted 8 October 2018, 10:32 pm EST

    I was running into the same issue. SaveExcel and FileFlags in namespace C1.Win.C1FlexGrid have been moved. It has been moved to C1.Win.C1FlexGrid.ImportExport.4.dll … Okay. But where do i get this Assambly?

    I was using this Installer → C1StudiosWebInstallerv20182.1.6.exe

  • Posted 9 October 2018, 3:51 pm EST

    Hi

    You need to add reference to this ‘C1.Win.C1FlexGrid.ImportExport.4.dll’ from this location: C:\Program Files (x86)\ComponentOne\WinForms Edition\bin\v4.0

    In case you need any further assistance on this, feel free to ask.

    Regards,

    Meenakshi

  • Posted 11 October 2018, 11:43 pm EST - Updated 3 October 2022, 3:02 pm EST

    Hi,

    I’m still having the same problem and i’ve imported the importexport dll.

    It solved the FileFlags error but not the SaveExcel.

    My version is 4.0.20182.320

  • Posted 14 October 2018, 5:00 pm EST

    Hi

    Please make sure, you have included the namespace also:

    Imports C1.Win.C1FlexGrid
    
    
    • Meenakshi
  • Posted 7 April 2020, 8:42 pm EST

    Hi,

    I can’t find the C1.Win.C1FlexGrid.ImportExport.4.dll in my ComponentOne directory. Can I download only this one from web?

  • Posted 8 April 2020, 4:59 pm EST

    Hi Jack,

    The C1.Win.C1FlexGrid.ImportExport.4.dll should be on the following location in your system:

    C:\Program Files (x86)\ComponentOne\WinForms Edition\bin\v4.0



    If you are not finding it there then you can download it from here.

    Regards,

    Prabhat Sharma.

    C1.Win.C1FlexGrid.ImportExport.4.dll.zip

Need extra support?

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

Learn More

Forum Channels