MsChart6 added to VB.NET project, here is my problem.

  • Thread starter Thread starter User
  • Start date Start date
U

User

Hi,

I am using a MSChart6 control in my VB.NET project. When I run the
program in debug mode, it is working fine, but when I compile for a
release and I execute it, I get this error:

An unhandled exception of type 'System.IO.FileNotFoundException'
occurred in HSVFServerOpt-F.exe
Additional information: File or assembly name AxInterop.MSChart20Lib, or
one of its dependencies, was not found.

What do I do with that? I think it is related to the chart control, but
I don't know how to handle this file or dependency in .NET....

Thank you!
 
¤ Hi,
¤
¤ I am using a MSChart6 control in my VB.NET project. When I run the
¤ program in debug mode, it is working fine, but when I compile for a
¤ release and I execute it, I get this error:
¤
¤ An unhandled exception of type 'System.IO.FileNotFoundException'
¤ occurred in HSVFServerOpt-F.exe
¤ Additional information: File or assembly name AxInterop.MSChart20Lib, or
¤ one of its dependencies, was not found.
¤
¤ What do I do with that? I think it is related to the chart control, but
¤ I don't know how to handle this file or dependency in .NET....

The MSChart control is an ActiveX control that must be distributed with your application and
registered on the client machine. It also requires the interop file (AxInterop.MSChart20Lib) that is
created in the bin folder of your project.


Paul ~~~ (e-mail address removed)
Microsoft MVP (Visual Basic)
 
Back
Top