473,608 Members | 2,090 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Delete key in textbox causes application hang

Hi y'all!

I'm trying to adapt a VB.Net application that a former employee built to
keep track of product issues that our customers report.

While doing so, I bump into the following problem:
a textbox contained in a user control that's put on a MDI Child form causes
the application to hang as soon as you hit the Delete key while editing.
Everything freezes and only Ctrl + Esc or Ctrl + Alt + Delete will bring
things back to life.
Breakpoints in the KeyUp, KeyPress event handling code of the textbox are
reached, but only after Ctrl + Esc or Ctrl + Alt + Delete has been used.

Also, the BackSpace seems to be disabled for editing in the textbox.
I've run through his code, but can't find anything irregular.

Anyone an idea what's going on here?
Thanks in advance!

H.
Nov 20 '05 #1
2 1694
Can you share the code with us?

Telmo Sampaio

"H. Blijlevens" <ge**********@h otmail.com> wrote in message
news:40******** *************** @news.wanadoo.n l...
Hi y'all!

I'm trying to adapt a VB.Net application that a former employee built to
keep track of product issues that our customers report.

While doing so, I bump into the following problem:
a textbox contained in a user control that's put on a MDI Child form causes the application to hang as soon as you hit the Delete key while editing.
Everything freezes and only Ctrl + Esc or Ctrl + Alt + Delete will bring
things back to life.
Breakpoints in the KeyUp, KeyPress event handling code of the textbox are
reached, but only after Ctrl + Esc or Ctrl + Alt + Delete has been used.

Also, the BackSpace seems to be disabled for editing in the textbox.
I've run through his code, but can't find anything irregular.

Anyone an idea what's going on here?
Thanks in advance!

H.

Nov 20 '05 #2
You will need to post the relevent code/attach the project before anyone can
hazard a guess at that one...
_______________ _________
The Grim Reaper

"H. Blijlevens" <ge**********@h otmail.com> wrote in message
news:40******** *************** @news.wanadoo.n l...
Hi y'all!

I'm trying to adapt a VB.Net application that a former employee built to
keep track of product issues that our customers report.

While doing so, I bump into the following problem:
a textbox contained in a user control that's put on a MDI Child form causes the application to hang as soon as you hit the Delete key while editing.
Everything freezes and only Ctrl + Esc or Ctrl + Alt + Delete will bring
things back to life.
Breakpoints in the KeyUp, KeyPress event handling code of the textbox are
reached, but only after Ctrl + Esc or Ctrl + Alt + Delete has been used.

Also, the BackSpace seems to be disabled for editing in the textbox.
I've run through his code, but can't find anything irregular.

Anyone an idea what's going on here?
Thanks in advance!

H.

Nov 20 '05 #3

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

Similar topics

30
3715
by: jimjim | last post by:
Hello, This is a simple question for you all, I guess . int main(){ double *g= new double; *g = 9; delete g; cout<< sizeof(g)<<" "<<sizeof(double)<<" "<<sizeof(*g)<<" "<<*g<<" "<<endl; *g = 111; cout<< sizeof(g)<<" "<<sizeof(double)<<" "<<sizeof(*g)<<" "<<*g<<" "<<endl;
28
490
by: jimjim | last post by:
Hello, This is a simple question for you all, I guess . int main(){ double *g= new double; *g = 9; delete g; cout<< sizeof(g)<<" "<<sizeof(double)<<" "<<sizeof(*g)<<" "<<*g<<" "<<endl; *g = 111; cout<< sizeof(g)<<" "<<sizeof(double)<<" "<<sizeof(*g)<<" "<<*g<<" "<<endl;
6
3847
by: polocar | last post by:
Hi, I'm writing a program in Visual C# 2005 Professional Edition. This program connects to a SQL Server 2005 database called "Generations" (in which there is only one table, called "Generations"), and it allows the user to add, edit and delete the various records of the table. "Generations" table has the following fields: "IDPerson", NamePerson", "AgePerson" and "IDParent". A record contains the information about a person (his name, his...
6
9507
by: Joemanc | last post by:
I've converted my VB6 app to VB.NET 2003. For some strange reason, the delete key will not work in any of my textboxes in the application. The backspace key works just fine. The delete key works in textboxes in VB6. Is there some new event that I need to code for the delete key in VB.NET?
0
8003
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 synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
8478
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 captivates audiences and drives business growth. The Art of Business Website Design Your website is...
0
8341
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 choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
1
6014
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 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 a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
5476
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 into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
3962
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 last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
4025
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
1598
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
0
1331
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.