473,385 Members | 1,445 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,385 software developers and data experts.

Form.ShowDialog(this) method make program freeze

Hi all,

In some cases I click button to open dialog using ShowDialog(this) method,
it make program freeze. Can you show me which cases this method cause problem
above?

Here are stack dump debug:
00000000()
system.windows.forms.dll!System.Windows.Forms.Cont rol.SetParentHandle(int
value = 594188) + 0x280 bytes
system.windows.forms.dll!System.Windows.Forms.Cont rol.CreateControl(bool
fIgnoreVisible = false) + 0x1b3 bytes
system.windows.forms.dll!System.Windows.Forms.Cont rol.CreateControl(bool
fIgnoreVisible = false) + 0x1c2 bytes
system.windows.forms.dll!System.Windows.Forms.Cont rol.CreateControl(bool
fIgnoreVisible = false) + 0x1c2 bytes
system.windows.forms.dll!System.Windows.Forms.Cont rol.CreateControl() + 0xe
bytes
.........
thanks.
Oct 19 '06 #1
1 3118
I use Hide and ShowDialog to invisible and visible my form. But when reading
MSDN they advise using hide and show method. Is this problem ?
Can you help me to explain it ? that 's great.
Thanks

"Anh Khuong" wrote:
Hi all,

In some cases I click button to open dialog using ShowDialog(this) method,
it make program freeze. Can you show me which cases this method cause problem
above?

Here are stack dump debug:
00000000()
system.windows.forms.dll!System.Windows.Forms.Cont rol.SetParentHandle(int
value = 594188) + 0x280 bytes
system.windows.forms.dll!System.Windows.Forms.Cont rol.CreateControl(bool
fIgnoreVisible = false) + 0x1b3 bytes
system.windows.forms.dll!System.Windows.Forms.Cont rol.CreateControl(bool
fIgnoreVisible = false) + 0x1c2 bytes
system.windows.forms.dll!System.Windows.Forms.Cont rol.CreateControl(bool
fIgnoreVisible = false) + 0x1c2 bytes
system.windows.forms.dll!System.Windows.Forms.Cont rol.CreateControl() + 0xe
bytes
........
thanks.
Oct 19 '06 #2

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

Similar topics

3
by: Armin Irger | last post by:
Hi, i'am running a debian sarge with the delivered apache2 mysql and php4. The file "mitarbeiter_eingabe.php" gets the data over a html <FORM> and send it to...
1
by: John M | last post by:
Hello All, The code below is something I have been working on and just can't get past. I know it must be very simple but here goes. The Form Method line text is invisible on browers, but still...
0
by: madmanpierre | last post by:
I'm having a trouble (sp3 installed) with mobile .net In form 1, in dadaGrid_MouseDown, I am showing another form. No matter what I seem to try (such as this.visible=false), after I show the...
1
by: Dennis Marks | last post by:
I only use forms as input and output to javascripts. Many times I use innerhtml to write to a <div> for output. I don't know of an alternative for input. I sometimes have problems if I use...
4
by: Don | last post by:
How do I retrieve URL parameters via html, where they were provided from a <form method=post...>? Thanks in advance, Don -----= Posted via Newsfeeds.Com, Uncensored Usenet News =-----...
5
by: ojvm | last post by:
ok. thanks again for the time spend reading this. this code adds 2 controls in html form but it places in top of the form. i want this control1 control2 control1 control2 control1 ...
1
by: Mel | last post by:
I am in my class and I want to invoke a method on my form. I made my form method public. But I don't see it through intellisensing. Any ideas?
1
by: david.kao | last post by:
Hi All: I am developing a Win form program in .NET 2 is using one of library (DLL) which was written in .NET 1. My questuion here: which runtime the DLL is running under .NET 2 or .NET 1 ? ...
0
by: miks | last post by:
Hi, I have a problem when resizing form. Form is freezed for a moment and then resized. I have panel and picturebox in form. I have panel (full dock) in form and picturebox in panel. On panel...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...
0
by: ryjfgjl | last post by:
In our work, we often need to import Excel data into databases (such as MySQL, SQL Server, Oracle) for data analysis and processing. Usually, we use database tools like Navicat or the Excel import...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
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...

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.