Hi,

I tried to copy one form in my project. I copy frmMain to frmMain2, and copy paste all the coding of frmMain to frmMain2. But unfortunately, when i run this code, i got error message method or datamember not found


If frmMain.Visible = False Then
PopupMenu Me.mnuTray, vbPopupMenuRigh tAlign
End If

I cannot have the Me.mnutray display in frmMain2....