Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Security for WinForm
Message
General information
Forum:
ASP.NET
Category:
The Mere Mortals .NET Framework
Environment versions
Environment:
C# 1.1
OS:
Windows XP SP1
Network:
Windows 2000 Server
Database:
MS SQL Server
Miscellaneous
Thread ID:
01014697
Message ID:
01014911
Views:
24
>I'm still pretty new to MM, but I'll give it a shot...
>
>>>All I can do is get a check there now, or was that it was suposed to do?
>That's how it works - it signifying that your in security setup mode. Specifically, mmAppDesktop.SecuritySetupMode will return true. Then any MenuItems you have security on will turn red and any controls you have defined security on will have the security icon.


Ok, I start the WIN app, click on the setup. I see the menu item that I have given the generated GUID show up as RED. I click on it and get and error "Object reference not set to an instance of an object." ??

Here is the details.

at OakLeaf.MM.Main.Windows.Forms.mmSecuritySetupForm..ctor(ImmUISecurity secureControl)
at OakLeaf.MM.Main.Windows.Forms.mmFactoryDesktop.CreateSecuritySetupForm(ImmUISecurity secureControl)
at OakLeaf.MM.Main.Windows.Forms.mmMenuExtender.OnClick(Object sender, EventArgs e)
at System.EventHandler.Invoke(Object sender, EventArgs e)
at System.Windows.Forms.MenuItem.OnClick(EventArgs e)
at System.Windows.Forms.MenuItemData.Execute()
at System.Windows.Forms.Command.Invoke()
at System.Windows.Forms.Command.DispatchID(Int32 id)
at System.Windows.Forms.Control.WmCommand(Message& m)
at System.Windows.Forms.Control.WndProc(Message& m)
at System.Windows.Forms.ScrollableControl.WndProc(Message& m)
at System.Windows.Forms.ContainerControl.WndProc(Message& m)
at System.Windows.Forms.Form.WndProc(Message& m)
at System.Windows.Forms.ControlNativeWindow.OnMessage(Message& m)
at System.Windows.Forms.ControlNativeWindow.WndProc(Message& m)
at System.Windows.Forms.NativeWindow.DebuggableCallback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
at System.Windows.Forms.UnsafeNativeMethods.DispatchMessageW(MSG& msg)
at System.Windows.Forms.ComponentManager.System.Windows.Forms.UnsafeNativeMethods+IMsoComponentManager.FPushMessageLoop(Int32 dwComponentID, Int32 reason, Int32 pvLoopData)
at System.Windows.Forms.ThreadContext.RunMessageLoopInner(Int32 reason, ApplicationContext context)
at System.Windows.Forms.ThreadContext.RunMessageLoop(Int32 reason, ApplicationContext context)
at System.Windows.Forms.Application.Run(Form mainForm)
at SRA.Main.AppMainEntry.Main() in C:\win_projects\FleetPro\Main.cs:line 45


Any ideas on this?


Thanks.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform