Tony,
>In VB .NET:
>I am getting the following error when trying to add a SecuritySetup form:
>
>" An exception occurred while trying to create an instance of OakLeaf.MM.Main.Windows.Forms.mmSecuritySetupForm. The exception was "Constructor on type OakLeaf.MM.Main.Windows.Forms.mmSecuritySetupForm not found."."
>
>Can you give me an example in VB what the Contructor should look like?
Normally you don't need to manually launch the Security Setup form. However, if you have a need to do this, you must pass a reference to a control that implements the ImmUISecurity interface (any MM .NET Windows Forms control does). So, for example:
Dim SecurityForm As New mmSecuritySetupForm(Me.grdOrders)
Regards,
Kevin McNeish
Eight-Time .NET MVP
VFP and iOS Author, Speaker & Trainer
Oak Leaf Enterprises, Inc.
Chief Architect, MM Framework
http://www.oakleafsd.com