How to disable the "invalid or Missing Projection Message box"

Jan 17, 2014 at 7:13 AM
Edited Jan 17, 2014 at 7:17 AM
Hi every one,
I would like to disable programatic the "invalid or Missing Projection Message box" when I add a layer.
Please help me to know how to do?

Image

Best regards
Developer
Jan 17, 2014 at 4:38 PM
Hi, try this:
MapFrame.ProjectionModeDefine = ActionMode.Never
Marked as answer by jany_ on 9/10/2014 at 1:16 PM
Jan 20, 2014 at 2:29 AM
mogikanin wrote:
Hi, try this:
MapFrame.ProjectionModeDefine = ActionMode.Never
Well done,
Thank you verymuch
Jan 27, 2014 at 2:20 AM
Can you also explain where to put this part of code?
Jan 28, 2014 at 2:08 AM
At the Initial of form

Public Sub New()
    InitializeComponent()
    'Shell = Me
    Map1.ProjectionModeDefine = ActionMode.Never
    AppManager1.LoadExtensions()
End sub