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()
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 ?