Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / .NET Framework / Interop / September 2005

Tip: Looking for answers? Try searching our database.

mschart crashes in C# .NET appication

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Khoi Nguyen - 02 Sep 2005 20:43 GMT
I am having problems running a C# application which uses mschart 6.0 on
machines with just .NET Framework installed.
If I run this application on a machine with the full Visual Studio .NET 7.0
installed then it runs just fine.

My application is very simple, I have a form and added the mschart 6.0 (an
activeX control) onto the form without
any code changes.  I then compiled the project and copied the following
files to a machine with just .NET Framework installed:

- the generated exectuable
- AxInterop.MSChart20Lib.dll
- Interop.MSChart20Lib.dll

Once I run the generated executable I am getting the following error:

"Application has generated an exception that could not be handled.

Process id=0x960(2400), Thread id=0x504(1284)"

I even went as far as creating a dialog application in Visual C++ 6.0 and
added the same mschart object on the dialog.
This app runs just fine on the same machine with just .NET Framework
installed which proves that the ActiveX control
was registered correctly.

I have also confirmed that this problem exists only for the mschart activeX
control.  I created another
C# form and added other ActiveX Control such as DateTimePicker and it worked
just fine on the machine with just
.NET Framework installed.

Any help is greatly appreciated.
The Storyteller - 16 Sep 2005 11:03 GMT
Same problem in VB.net.

>I am having problems running a C# application which uses mschart 6.0 on
> machines with just .NET Framework installed.
[quoted text clipped - 32 lines]
>
> Any help is greatly appreciated.
The Storyteller - 16 Sep 2005 15:50 GMT
Mschart20.dll have a dipendence. In detail msdatasrc.dll. Put in executable
folder and try.

A great thanks to my collaborator Arianna.

>I am having problems running a C# application which uses mschart 6.0 on
> machines with just .NET Framework installed.
[quoted text clipped - 32 lines]
>
> Any help is greatly appreciated.

Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.