473,569 Members | 2,490 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Moving Splitter Throws Exception

I have a form with a one panel docked to the left and a splitter
control docked to the panel. I have no code, events or any other
controls on the form.

When I adjust the splitter (drag it to the right) I get an "External
component has thrown an exception" error when I let go of the mouse
button.

Here is the stack trace.
at
System.Windows. Forms.UnsafeNat iveMethods.Disp atchMessageW(MS G& msg)
at
System.Windows. Forms.Component Manager.System. Windows.Forms.U nsafeNativeMeth od
s+IMsoComponetM anger.FPush MessageLoop(Int 32 dwComponentID, Int32
reason, Int32 pvtLoopData)
at
System.Windows. Forms.ThreadCon text.RunMessage LoopInner(Int32 reason,
ApplicationCont ext context)
at
System.Windows. Forms.ThreadCon text.RunMessage Loop(Int32 reason,
ApplicationCont ext context)
at System.Windows. Forms.Applicati on.Run()

If I create a new project and create a form with the panel and splitter
I don't seem to be able to recreate this error.

Should I reload any dll's? Any ideas on what would cause this?

May 18 '06 #1
2 1138
sling blade wrote:
I have a form with a one panel docked to the left and a splitter
control docked to the panel. I have no code, events or any other
controls on the form.

When I adjust the splitter (drag it to the right) I get an "External
component has thrown an exception" error when I let go of the mouse
button.

Here is the stack trace.
at
System.Windows .Forms.UnsafeNa tiveMethods.Dis patchMessageW(M SG& msg)
at
System.Windows .Forms.Componen tManager.System .Windows.Forms. UnsafeNativeMet hod
s+IMsoComponet Manger.FPush MessageLoop(Int 32 dwComponentID, Int32
reason, Int32 pvtLoopData)
at
System.Windows .Forms.ThreadCo ntext.RunMessag eLoopInner(Int3 2 reason,
ApplicationCon text context)
at
System.Windows .Forms.ThreadCo ntext.RunMessag eLoop(Int32 reason,
ApplicationCon text context)
at System.Windows. Forms.Applicati on.Run()

If I create a new project and create a form with the panel and splitter
I don't seem to be able to recreate this error.

Should I reload any dll's? Any ideas on what would cause this?

Ahhh, the wonderful world of unexplainable microsoft bugs. Isn't it
wonderful?!
Don't make yourself crazy - it isn't worth it. Trash the bad form and
make a new one.
Although, sometimes just compiling the project resolves some issues.
You might want to try that first.

Tom
May 18 '06 #2
Thanks for the sound advice.

I went ahead and tried again for the third time and now it seems to be
working.

Go figure!

Thanks again.

May 19 '06 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

7
3295
by: John | last post by:
Hi, I have a group of controls in a panel on the right-hand side of a splitter and a treeview on the left-hand side. The only configuration that I can find to make the right-hand side resize correctly is: lhsTreeview - Dock = Fill, Anchor = Top,Left splitter - Dock = Right rhsPanel - Dock = Right, Anchor = Top,Left
3
2855
by: Andre Loker | last post by:
Hi! For my current application I'm looking for a four-way-(cross) splitter control (as often seen in 3D-editors). The .NET Splitter-class is (IIRC) only a two-way splitter. Does anyone know such a four-way-splitter control? Regards, Andre Loker
1
1774
by: Bevo | last post by:
I have two panels on my form with a splitter between them. The top panel is docked Fill and the bottom is docked Bottom. The splitter is docked Bottom. When I run and try to move the splitter the System.Windows.Form.dll throws an SEHException at me. Is this a .NET Framework bug and does anybody know a workaround?
4
8088
by: BBM | last post by:
I'm trying to set up a form with two panels divided by a Splitter control. I can make the Splitter work in the situations described in the documentation (Listbox or TreeView on left w/Dock set to Left, Panel on right of form w/ Dock set to Fill, Splitter between them set w/ Dock set to Left. Works as advertised. But... if I change to have...
5
3821
by: Franck | last post by:
Hello, I've just moved to visual developper 2005 to do so, I also had to use the convert assistant. what it did; moving my file resx files that i had in a diresctory called resx to a new directory called: App_GlobalResources in my code i had :
5
2315
by: Sam | last post by:
Hi, I have a panel docked to the bottom of my form. This panel can be expanded vertically by clicking on a button. When the user click on the button again, the panel is then collapsed. The panel has a horizontal splitter, which the user can use to resize the panel when it is expanded. I would like to save the height of the panel when the user...
2
3121
by: Istvan | last post by:
Hello ....Window.Forms.... Can somebody help me with Panels and Splitters ? I want to add three Panels to one Usercontrol , between them with two movable Splitter. First Row: 2 Columns ( 2 panels, with 1 splitter between them)
2
2096
by: eric dexter | last post by:
I am trying to steal this code from the wxpython demo but it appears that mb comes from nowhere and I am having errors because of it import wx #--------------------------------------------------------------------------- class MySplitter(wx.SplitterWindow): def __init__(self, parent, ID, log): ...
2
2859
by: Paul | last post by:
I am moving an existing app written years ago to a new server. It uses Sigma Template 1.3 and Quickform 1.1.1 and PEAR.php,v 1.1.1.1 2004/02/16 The directory structure is like this: /site /site/html/Pear.php /site/html/Sigma.php /site/html/Common.php /site/html/Quickform.php /site/html/Quickform/
0
7703
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main...
0
7618
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language...
0
8132
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that...
1
7678
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For...
0
7982
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the...
0
6286
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then...
0
5222
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert...
1
2116
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
1
1226
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.