Jump to content
Software FX Community

Application crashes for charts contained in user controls


User (Legacy)

Recommended Posts

Hi

I'm using some charts contained within some User Controls that are housed in

the applications main form.

When the chart's Properties toolbar item is called, a change is made and OK

is pressed the entire app fails delivering a SEHException.

The "Apply" button works fine.

I've tried creating a simple app with a similar structure (a form hosting a

user control containing charts) and it worked well.

I thought maybe this type of error may have cropped up at some point in the

past, in which case I would appreciate any guidance you could give

Even some exception catching ideas within the user control would be great

Thanks

David

Link to comment
Share on other sites

Are you calling Application.EnableVisualStyles() ?

I googled around and I found that there is some bug in the .NET framework

1.1 that causes this exception, the bug has to do whit When you call it.

I found a helpful posting at:

http://www.kbalertz.com/kb_897298.aspx

I hope this helps, without a way to reproduce it is really hard for me to

know what's causing it.

--

Francisco Padron

www.chartfx.com

Link to comment
Share on other sites

  • 3 weeks later...

That did the trick, Thank you very much

"SoftwareFX Support" <noreply@softwarefx.com> wrote in message

news:kA$L8vRSGHA.2484@webserver3.softwarefx.com...

> Are you calling Application.EnableVisualStyles() ?

>

> I googled around and I found that there is some bug in the .NET framework

> 1.1 that causes this exception, the bug has to do whit When you call it.

>

> I found a helpful posting at:

>

> http://www.kbalertz.com/kb_897298.aspx

>

> I hope this helps, without a way to reproduce it is really hard for me to

> know what's causing it.

>

> --

> Francisco Padron

> www.chartfx.com

>

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...