Hi All,
Is there any way to troubleshoot the below line of code:
Dim childTable As ITable = childFWS.OpenTable(tableName)
WriteTablesLog("FindVersionDifferencesForDelete\" + " reteive table:" + tableName + " with child version " + DateTime.Now.ToString("MM/dd/yyyy HH:mm:ss tt"))
The above code is not throwing any exception or error but just exits the application.
I can open this table using the User and Version as used by my application in ArcMap.
Any suggestion is appreciated!
Regards,
Amit
Put this in a Try..Catch block and see what the error is.
Try
Dim childTable As ITable = childFWS.OpenTable(tableName)
WriteTablesLog("FindVersionDifferencesForDelete\" + " reteive table:" + tableName + " with child version " + DateTime.Now.ToString("MM/dd/yyyy HH:mm:ss tt"))
Catch ex As Exception
System.Windows.Forms.MessageBox.Show(ex.Message & vbNewLine & ex.StackTrace.ToString, "Open Table error")
End Try