i have tried using ADO.NET Entity Data Model in my ArcDesktop project using dockable windows.
but every time i start debugging im getting a error.
COMException was unhandled by user code
Catastrophic failure (Exception from HRESULT: 0x8000FFFF (E_UNEXPECTED))
but every time i start debugging im getting a error.
COMException was unhandled by user code
Catastrophic failure (Exception from HRESULT: 0x8000FFFF (E_UNEXPECTED))
Code:
Private Sub SetupDockableWindow()
If m_dockableWindow Is Nothing Then
Dim dockWindowManager As IDockableWindowManager
dockWindowManager = CType(m_application, IDockableWindowManager)
If Not dockWindowManager Is Nothing Then
Dim windowID As UID = New UIDClass
windowID.Value = regKey.GetValue("dwUID") 'DockableWindowGuid
m_dockableWindow = dockWindowManager.GetDockableWindow(windowID) ' <-----on this line
End If
End If
End Sub