Hi All,
I usually call form using :
Private Sub mnuSetupMenu_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles mnuSetupMenu.Click
Dim strAppNo As String = ERV_Screen_Function.Get_App_No(sender, strMainMenuId, strMainMenuName)
Dim clsFormAuthority As New clsFormAuthority(ERV_Global.strLoginUserID, _
strAppId, _
strMainMenuId, _
strMainMenuName, _
strAppNo, _
"TMUSERMENU", _
"USER MENU")
If Not ERV_Global.Form_Active("frmTMUSERMENU", Me) Then
If clsFormAuthority.blnAccess Then
Dim frmTMUSERMENU As New frmTMUSERMENU()
frmTMUSERMENU.clsFormAuthority = clsFormAuthority
frmTMUSERMENU.MdiParent = Me
frmTMUSERMENU.Show()
End If
End If
End Sub
The form is inside the same project ?
Could I use the above method for form that came from plugin ?
The are several things that should aware at the plugin :
1. Connection.
2. Authority
3. Parameter
That usually there are no problem when it is inside the same project.
How could I overcome this stuff ?
Thank you.
Not sure what you mean by the 3 items you listed. Are these some variables that the form needs access to? Can you not pass these to the form?