473,322 Members | 1,494 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,322 software developers and data experts.

Exception that could not be handled

"Application has generated an excepton that could not be handled" is the
error. This appears to be generated inside the "InitializeComponent()"
subroutine. This application has one custom control which may be the cause
BUT it was working correctly last week but this week it does not work. (The
only chnage is the location of the application.)
Most of the stuff in the "InitializeComponent()" is normal dotnet stuff but
here's the code for the custom control:
CType(Me.AxMarquee, System.ComponentModel.ISupportInitialize).BeginIni t()
The line is jus prior to the "SuspendLayout" statement. It again shows up
near the bottom of the routine.

Could the problem be with the OCX control?

The control is "SoftCure's marquee control".
Nov 21 '05 #1
2 1531
"=?Utf-8?B?RGFycmVsbCBXZXNsZXk=?="
<Da***********@discussions.microsoft.com> wrote in
news:C8**********************************@microsof t.com:
Most of the stuff in the "InitializeComponent()" is normal dotnet
stuff but here's the code for the custom control:
CType(Me.AxMarquee,
System.ComponentModel.ISupportInitialize).BeginIni t() The line is jus
prior to the "SuspendLayout" statement. It again shows up near the
bottom of the routine.

Could the problem be with the OCX control?

The control is "SoftCure's marquee control".


Yes, for some reason .NET doesn't seem to handle certain ActiveX exceptions
:(

--
Lucas Tam (RE********@rogers.com)
Please delete "REMOVE" from the e-mail address when replying.
http://members.ebay.com/aboutme/coolspot18/
Nov 21 '05 #2
"=?Utf-8?B?RGFycmVsbCBXZXNsZXk=?="
<Da***********@discussions.microsoft.com> wrote in
news:C8**********************************@microsof t.com:
Most of the stuff in the "InitializeComponent()" is normal dotnet
stuff but here's the code for the custom control:
CType(Me.AxMarquee,
System.ComponentModel.ISupportInitialize).BeginIni t() The line is jus
prior to the "SuspendLayout" statement. It again shows up near the
bottom of the routine.

Could the problem be with the OCX control?

The control is "SoftCure's marquee control".


Yes, for some reason .NET doesn't seem to handle certain ActiveX exceptions
:(

--
Lucas Tam (RE********@rogers.com)
Please delete "REMOVE" from the e-mail address when replying.
http://members.ebay.com/aboutme/coolspot18/
Nov 21 '05 #3

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

Similar topics

7
by: Ori | last post by:
Hi, I would like to create some mechanism to handle all the exceptions which will happen in my application. I have one form which is the base form while all the other forms inherit from it. ...
14
by: Nenad Dobrilovic | last post by:
Hi, Is it possible for exception object to be aware of it's throwing? I want to log in the text file when exeption is thrown, not when the exception object is created (because I can create...
6
by: Jesper Ordrup Christensen | last post by:
Say I've created a piece of code that involves both sql, io and some number conversions. Being a responsible developer I have tried to catch all of the exceptions - but how can I be sure? Is...
44
by: craig | last post by:
I am wondering if there are some best practices for determining a strategy for using try/catch blocks within an application. My current thoughts are: 1. The code the initiates any high-level...
5
by: Lucvdv | last post by:
Can someone explain why this code pops up a messagebox saying the ThreadAbortException wasn't handled? The first exception is reported only in the debug pane, as expected. The second (caused by...
4
by: rs | last post by:
Hi guys Thank you in advance for the help. I developed a simple application using vs.net 2003. running framework 1.1 sp1. the application runs fine on the development machine (win xp). I tried...
2
by: Murthy | last post by:
Hi, After genarating the exe when i run the exe the following error is comming. Common Language Runtime Debugging Services Application has generated an exception that could not be handled....
2
by: Abubakar | last post by:
Hi all, I'm writing an app in vc++ 2k5 (all native/unmanaged). This application does a lot of multithreading and socket programming. Its been months since I'm developing this application, at...
5
by: Bry | last post by:
I've created a class that offers an enhanced way of handling fatal exceptions. The class allows the user to optionaly submit a http based anonymous error report to myself, and also records details...
132
by: Zorro | last post by:
The simplicity of stack unraveling of C++ is not without defective consequences. The following article points to C++ examples showing the defects. An engineer aware of defects can avoid...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
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...
1
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
1
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
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...

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.