Exception that could not be handled

G

Guest

"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).BeginInit()
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".
 
L

Lucas Tam

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).BeginInit() 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
:(
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top