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

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!
 
P

Paul Clement

¤ 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)
 

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