Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
925
vshost32-clr2.exe stopped working
posted

When I am Exporting data to Excel I am getting a Constant crash with this error message

"vshost32-clr2.exe has stopped working"

This is my code:

ExFileName = "DOC_ EXCEL TRAIL"

    Dim saveFileDialog1 As New SaveFileDialog()

        saveFileDialog1.Filter =

"Excel File 2007|*.xlsx|Excel File 2007|*.xlsx"

        saveFileDialog1.Title = "Save an Excel File"

        saveFileDialog1.FileName = ExFileName

        saveFileDialog1.ShowDialog()

  Dim fs As String = ""

    If saveFileDialog1.FileName <> "" Then

            fs = (saveFileDialog1.FileName)

            UltraGrid1.Export(UltraGrid1)

     End If

   If con.State = ConnectionState.Open Then

            con.Close()

   End If

Parents
  • 12773
    posted

    Hi Marius,

    Which versions of the Net Advantage for Windows forms are you using? Is this standalone application ? I see you have open connection during the export, are you working with the data in the same time when you try to export it ?

Reply Children