473,466 Members | 1,376 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

move splitter control with Exception

7 New Member
recently, I use the splitter control in my winform project. at the application running, it throws the exception(System.Runtime.InteropServices.SEHExcept ion) as moving the splitter control.

I test it that second time or direct open the form which contains the splitter control, it's normal. In my application, it's opened as third time. the form which contains the splitter control is opened in the container both in test and application.

i don.t know why? tell me how to do.... and thank you
Mar 5 '10 #1
7 2315
ThatThatGuy
449 Recognized Expert Contributor
where's the code.... where's the screenshot.....where's the explanation that you're using some com control......where's everything that i require to help you
Mar 5 '10 #2
tiangy
7 New Member
this morning, I find it throws error exception in the timer control's tick event. and it's normal in other place where opens the form which contains the splitter control, I think it's about the timer control
Mar 6 '10 #3
ThatThatGuy
449 Recognized Expert Contributor
So where's the Again CODE Again???
Mar 6 '10 #4
tiangy
7 New Member
<Code>
static void main(){
FormSplitter formSplitter = new FormSplitter();
formSplitter.show();
}
</code>

it's correct.
<code>
private timer1_Tick(object sender, System.EventArgs e){
FormSplitter formSplitter = new FormSplitter();
formSplitter.show();
}
</code>
the timer's Interval is 1000ms.
it's error.

i think the reason about the timer control. and looking forward to other answer......
Mar 9 '10 #5
tiangy
7 New Member
i found it is not the question about the timer control, and now don't know what reason about this question. maybe it's about the container(Use the tabControl control about the third part plug-in), and looking forward to other answers......
Mar 9 '10 #6
tiangy
7 New Member
at this time, i can't find out the reason about this question. and then I use another method to implement the same function, and thank you very much for help.I will explore this question in other times, not now.
Mar 10 '10 #7
tiangy
7 New Member
the same question appares second time in this afternoon, I check out the code from begin to end, find the code contains the these codes (Application.EnableVisualStyles();
Application.DoEvent(); )
put these disappeared, the application is running normal.
Mar 10 '10 #8

Sign in to post your reply or Sign up for a free account.

Similar topics

7
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...
3
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...
3
by: MFRASER | last post by:
How do I move the splitter inside of code. if(TypeA) { this.pnlHXMLList.Visible = false; this.splTop.is.Top = 65; } else
2
by: TC | last post by:
How do I make a Splitter control go away? Neither the Visible property nor the Enabled property seems to have any effect. -TC
2
by: Mika M | last post by:
Hello! My windows form has Splitter control on it, and I save splitter's last X-location when user changes it like ... Private Sub Splitter1_SplitterMoved(ByVal sender As Object, ByVal e As...
1
by: Dean Slindee | last post by:
Will there be a VS2003-style splitter control in VS2005 when it gets past Beta? I am not referring to the new splitter container in VS2005, but the original splitter control in VS2003. If not,...
3
by: Sam | last post by:
Hi all, I have a splitter sitting between 2 panels (which I use for drawing) on my main form. The problem that I'm having is that when I resize my form, the panel(plnDwgContainer) that has the...
2
by: sling blade | last post by:
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...
4
by: Frank | last post by:
On a form I have a control that is docked top. Under it a splitterbar that is also docked top. If I want to programmatically move the splitter how do I do that: Set the height of the control or...
1
by: JDeats | last post by:
I have a WinForm with three Splitter controls on it. The form divides up in this order: Tab Control (docked to the left): Splitter1: RichTextBox (docked to the left): Splitter2 After Splliter2...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
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...
0
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...
0
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,...
0
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...
0
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
0
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
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 ...

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.