StrataFrame Forum
Back
Login
Login
Home
»
StrataFrame Application Framework - V1
»
Issues
»
Visual style error
Visual style error
Post Reply
Like
0
Visual style error
View
Flat Ascending
Flat Descending
Threaded
Options
Subscribe to topic
Print This Topic
RSS Feed
Goto Topics Forum
Author
Message
Chan
Chan
posted 17 Years Ago
ANSWER
Topic Details
Share Topic
Group: Forum Members
Posts: 533,
Visits: 2K
Hi,
My customer hit error while click on browse button. However, I can't reproduce in my machine and also my dealer machine.
Any ideas?
InvalidOperationException
Visual Styles-related operation resulted in an error because no visual
style is currently active.
Source : System.Windows.Forms
Stack Trace:
at
System.Windows.Forms.VisualStyles.VisualStyleRenderer.IsCombinationDefined(String
className, Int32 part)
at System.Windows.Forms.VisualStyles.VisualStyleRenderer..ctor(String
className, Int32 part, Int32 state)
at
System.Windows.Forms.ScrollBarRenderer.InitializeRenderer(VisualStyleElement
element, Int32 state)
at System.Windows.Forms.ScrollBarRenderer.GetSizeBoxSize(Graphics g,
ScrollBarState state)
at
MicroFour.StrataFrame.UI.Windows.Forms.BrowseDialogwindow.PositionControls(Control&
ParentControl)
at
MicroFour.StrataFrame.UI.Windows.Forms.BrowseDialogwindow.AddSearchFields()
at
MicroFour.StrataFrame.UI.Windows.Forms.BrowseDialogwindow..ctor(BrowseDialog
BrowseDialogSettings, Boolean PopulateOnShow)
at MicroFour.StrataFrame.UI.Windows.Forms.BrowseDialog.ShowDialog(Boolean
PopulateOnShow)
at MicroFour.StrataFrame.UI.Windows.Forms.BrowseDialog.ShowDialog()
at
MicroFour.StrataFrame.UI.Windows.Forms.MaintenanceFormToolStrip.cmdBrowse_Click(Object
sender, EventArgs e)
at System.Windows.Forms.ToolStripItem.RaiseEvent(Object key, EventArgs e)
at System.Windows.Forms.ToolStripButton.OnClick(EventArgs e)
at System.Windows.Forms.ToolStripItem.HandleClick(EventArgs e)
at System.Windows.Forms.ToolStripItem.HandleMouseUp(MouseEventArgs e)
at System.Windows.Forms.ToolStripItem.FireEventInteractive(EventArgs e,
ToolStripItemEventType met)
at System.Windows.Forms.ToolStripItem.FireEvent(EventArgs e,
ToolStripItemEventType met)
at System.Windows.Forms.ToolStrip.OnMouseUp(MouseEventArgs mea)
at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons
button, Int32 clicks)
at System.Windows.Forms.Control.WndProc(Message& m)
at System.Windows.Forms.ScrollableControl.WndProc(Message& m)
at System.Windows.Forms.ToolStrip.WndProc(Message& m)
at System.Windows.Forms.Control.ControlNativewindow.OnMessage(Message& m)
at System.Windows.Forms.Control.ControlNativewindow.WndProc(Message& m)
at System.Windows.Forms.Nativewindow.Callback(IntPtr hWnd, Int32 msg,
IntPtr wparam, IntPtr lparam)
Reply
Like
0
GO
Merge Selected
Merge into selected topic...
Merge into merge target...
Merge into a specific topic ID...
Open Merge
Threaded View
Threaded View
Visual style error
Chan
-
17 Years Ago
There is a known issue regarding themes and .NET controls as it...
Trent L. Taylor
-
17 Years Ago
Post Reply
Like
0
Similar Topics
Post Quoted Reply
Reading This Topic
Login
Login
Remember Me
Reset Password
Resend Validation Email
Login
Explore
Messages
Mentions
Search