Private m_frmMain As frmMain
If Not m_frmMain Is Nothing Then m_frmMain.Dispose() m_frmMain = Nothing m_frmMain = New frmMain m_frmMain.Show() Else m_frmMain = New frmMain m_frmMain.Show() End If
Thanks for trying to help. The form I am trying to open was created in the VBA of the MXD. So this form is not include with the VB.Net project. For some reason ESRI did not see it fit to have my button controls to come in like they have from all other version jumps where VBA is allowed.So my project does this:1.) Create an add-in button in VB.Net that opens my form that is in the MXD and not the .net solution.Hopefully that makes some sense. Please tell me I can do this. Recreating these forms in .net is going to take forever. I have decades of code in VBA.
Přihlášení členové mohou přispívat, sledovat aktualizace a další. Jste tu noví? Zaregistrujte si bezplatný účet.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.