Quickimport problem

Discussion created by on Oct 25, 2010
Latest reply on Apr 5, 2011 by st.dlng
ESRI.ArcGIS.esriSystem.IAoInitialize ao = new ESRI.ArcGIS.esriSystem.AoInitialize();            ao.Initialize(ESRI.ArcGIS.esriSystem.esriLicenseProductCode.esriLicenseProductCodeArcEditor);
ESRI.ArcGIS.Geoprocessor.Geoprocessor gp = new ESRI.ArcGIS.Geoprocessor.Geoprocessor();

gp.OverwriteOutput = true;

ESRI.ArcGIS.DataInteroperabilityTools.QuickImport qi = new ESRI.ArcGIS.DataInteroperabilityTools.QuickImport();

qi.Input = "C:\\temp\\Test Import\\shape File\\3_016500_000000_Buildings.shp";
qi.Output = "C:\\temp\\3_016500_000000_Buildings.gdb";

gp.Execute(qi, null);

When I run this code, the output files/folders are not created but no errors are returned.

Once I close the application I receive this error:

Exception EOSError in module fmedlg.DLL at 00011F31.
System Error. Code: 1400.
Invalid window handle