Can't reload a saved grid ; computer frozen

Originally Posted 2 September 2011, 6:25 am EST

  • Originally Posted 2 September 2011, 6:25 am EST

    Hello
    The flx file (EPS-850796-20100424.zip) joined is a file created with vsflex 8 savegrid method.
    It is impossible to read it again with loadgrid, the computer being frozen and no error catched.
    The small program (loadgrid.zip) reproduced the problem.
    How to test the file validity tu handle the error ?
    Pascal
    VB6 SP6
    VSFLEX 8.0.20081.253
    2011/09/loadfile.zip

    2011/09/EPS-850796-20100424.zip
  • Reply

    Hi,

    The LoadGrid method allows you to load grid files that were saved with the SaveGrid method. You can also use it to import data from text files created by other applications such as Microsoft Excel or Access.

    I tried your sample and i was not able to reproduce the problem. A simple code demonstrating the same


    Private Sub Command1_Click()

    With Me.VSFlexGrid1
    .SaveGrid App.Path & "Customers.xls", flexFileExcel, SaveExcelSettings.flexXLSaveFixedCells
    End With

    End Sub

    Private Sub Command2_Click()

    With Me.VSFlexGrid1
    Set .DataSource = Nothing
    .LoadGrid App.Path & "Customers.xls", flexFileExcel
    End With

    End Sub


    VB6.0
    VSFlexGrid 2011.285

    Can you check the same with this build

    http://prerelease.componentone.com/activex/C1FlexGrid/C1FlexGrid%208.0/2011-
    T2/vsflex8_8.0.20112.285.zip


    Let me know if there are any issues

    Regards
    ~Gatim
Need extra support?

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

Learn More

Forum Channels