AnsweredAssumed Answered

AddDataCommand crash onclick

Question asked by Avi_Icaros on Jul 11, 2017

hi

i have an old piece of code that call the AddDataCommand .

 

ICommand AddDataCommand = new ControlsAddDataCommand();
AddDataCommand.OnCreate(MapControl);
AddDataCommand.OnClick();

 

it works fine in 10.4 

lately we installed 10.5 

 

the onclick event opens the form to allow the user to choose a file to add to the map.

after a file is chosen ( raster or shape )

the cursor circle for a while ( a minnute or two )

and then error message

vshost32.exe has stopped working.

 

 

when i choose a geodb feature class 

everything is working fine.

 

 any help will be appreciated 

A.S

Outcomes