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

    The flx file ( 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 ( reproduced the problem.
    How to test the file validity tu handle the error ?
    VB6 SP6
    VSFLEX 8.0.20081.253

  • Reply


    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

    VSFlexGrid 2011.285

    Can you check the same with this build

    Let me know if there are any issues

Need extra support?

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

Learn More

Forum Channels