MainTable=Tables("tmp")
syscmd.Table.delete()
Dim dlg As New OpenFileDialog '定义一个新的OpenFileDialog
dlg.Filter= "Excel文件|*.xls" '设置筛选器
If dlg.ShowDialog = DialogResult.Ok Then '如果用户单击了确定按钮
Dim ip As New Importer
ip.SourcePath = dlg.FileName '指定数据文件
ip.SourceTableName = "today$" '指定要导入的表
ip.NewTableName ="tmp" '导入后的表名
ip.Format="Excel"
ip.Import()
End If
以上这段代码在开发系统中运行可以删除tmp表,但编译后的系统在运行时删除不了tmp表,提示"tmp表已存在"
请问如何解决?