L
Lee Newson
Hi,
I have just written my first application using VB.NET. The app works fine
when i am running it within .NET for debugging purposes, however when i try
to run the app from the .exe file that .NET creates i get the following
error message:
"An unhandled exception of type 'System.IO.FileNotFoundException' occurred
in VisioTimeline.exe
Additional information: File or assembly name AxInterop.VisOcx, or one of
its dependencies, was not found."
In VS.NET this file is referenced when you look in the solution explorer (as
AxInterop.VisOcx), however when you look at the definition for this it looks
like this:
AxMicrosoft.Office.Interop.VisOcx
I assume that this .dll file was supposed to be added to the GAC when i
installed either the VisioViewer or the Visio SDK. It hasn't and when i try
to add it, it throws another error saying that the file is not strongly
named!!
after a lot of messing about the i have finally managed to get the program
to use the JITDebugging and it has finally showed me that the app falls over
when trying to initialize the components on the form (The visio activex
control included).
Does anyone know how i can fix this?? i have tried looking on the net for
the correct file but cant seem to find it anywhere.
cheers for any and all help it is greatly appreciated
regards
Lee
I have just written my first application using VB.NET. The app works fine
when i am running it within .NET for debugging purposes, however when i try
to run the app from the .exe file that .NET creates i get the following
error message:
"An unhandled exception of type 'System.IO.FileNotFoundException' occurred
in VisioTimeline.exe
Additional information: File or assembly name AxInterop.VisOcx, or one of
its dependencies, was not found."
In VS.NET this file is referenced when you look in the solution explorer (as
AxInterop.VisOcx), however when you look at the definition for this it looks
like this:
AxMicrosoft.Office.Interop.VisOcx
I assume that this .dll file was supposed to be added to the GAC when i
installed either the VisioViewer or the Visio SDK. It hasn't and when i try
to add it, it throws another error saying that the file is not strongly
named!!
after a lot of messing about the i have finally managed to get the program
to use the JITDebugging and it has finally showed me that the app falls over
when trying to initialize the components on the form (The visio activex
control included).
Does anyone know how i can fix this?? i have tried looking on the net for
the correct file but cant seem to find it anywhere.
cheers for any and all help it is greatly appreciated
regards
Lee