Do you have?
Imports Autodesk.AutoCAD.ApplicationServices.Core
Application class in Acmgd.dll in Autodesk.AutoCAD.ApplicationServices namespace contains the ShowModalDialog method which inherits from Application class in accoremgd.dll contained in Autodesk.AutoCAD.ApplicationServices.Core namespace.
So if you have Imports Autodesk.AutoCAD.ApplicationServices.Core you are only seeing the static methods in Application abstract class
You need to remove Core
Imports Autodesk.AutoCAD.ApplicationServices
If some other code in file depends on Autodesk.AutoCAD.ApplicationServices.Core you can add do something like
Imports Autodesk.AutoCAD.ApplicationServices.Core
Imports AcadApplication = Autodesk.AutoCAD.ApplicationServices.Application
and then of course
<CommandMethod("CommandName")> Public Sub Command()
Using Form As New Command
AcadApplication.ShowModelessDialog(Form)
End Using
End Sub
As Jeff_M pointed out Command is not a good name for method or a Forms object.