POST
|
Thanks to the AS400 application that reads this file in, I actually have to save it down to Excel 03 format (this is run on a machine running Office 07)... //Save xls down to excel 03 FileFormat wbk.SaveAs(filePath + fileName, Microsoft.Office.Interop.Excel.XlFileFormat.xlExcel8, null, null, null, null, Microsoft.Office.Interop.Excel.XlSaveAsAccessMode.xlExclusive, null, null, null, null, null); wbk.Close(true,filePath + fileName, false); objExcel.Quit(); Using Finally to release the COM object (objExcel for the application)... finally { if (wbk != null) { Marshal.ReleaseComObject(wbk); } if (wsheet != null) { Marshal.ReleaseComObject(wsheet); } if (objExcel != null) { Marshal.ReleaseComObject(objExcel); } if (curs != null) { Marshal.ReleaseComObject(curs); } if (cursUG != null) { Marshal.ReleaseComObject(cursUG); } }
... View more
06-24-2014
11:21 AM
|
0
|
0
|
88
|
POST
|
Original User: kivela FYI - in case anyone is ever interested, I ended up using IGeometricNetwork::SearchForNetworkFeature. It works fine and the speed is pretty decent all things considered.
... View more
06-15-2011
11:21 AM
|
0
|
0
|
6
|
Online Status |
Offline
|
Date Last Visited |
11-11-2020
02:23 AM
|