调试时出现“用户定义类型未定义”怎么解决
我刚接触VB,编一个界面时出现问题了,,Private Sub LoadNewDoc()
Static lDocumentCount As Long
Dim frmD As String
lDocumentCount = lDocumentCount + 1
Set frmD = New frmDocument
frmD.Caption = "Document " & lDocumentCount
frmD.Show
End Sub
这段程序里面New frmDocument,调试时出现了"用户定义类型未定义"的错误提示
请教了