System.IO.FileNotFoundExceptio
Author Message
 System.IO.FileNotFoundException

Hi,

I have added a ActiveX dll reference to my project. I realized that if the
dll is missing, renamed or deleted, my application will throw a
System.IO.FileNotFoundException. Where do I find this code in my project so
I can handle this exception.

Thanks in advance,

Randy



Mon, 31 Jan 2005 22:33:01 GMT  
 System.IO.FileNotFoundException
Hi,

Quote:
> I have added a ActiveX dll reference to my project. I realized that if the
> dll is missing, renamed or deleted, my application will throw a
> System.IO.FileNotFoundException. Where do I find this code in my project
so
> I can handle this exception.

References are stored in the assembly metadata,
but you may intercept AppDomain.AssemblyResolve event
and load an assembly manually if new location is known to you.

--
Dmitriy Lapshin
X-Unity Unit Testing and Integration Environment
http://x-unity.miik.com.ua



Mon, 31 Jan 2005 22:59:58 GMT  
 
 [ 2 post ] 

 Relevant Pages 

1. System.IO.FileNotFoundException and imageupload

2. System.IO.FileNotFoundException

3. Scripting.FileSystemObject.TYPE in System.IO

4. System.Runtime.InteropServices.VTableCallsNotSupportedException

5. DIRE NEED OF HELP!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

6. <VBFixedString(16), System.Runtime.InteropServices.MarshalAs(System.Runtime.InteropServices.UnmanagedType.ByValTStr, SizeConst:=16)> Public myString As String

7. trouble with system.io.file.copy

8. File locks when deleting files using SYSTEM.IO

9. How _copy_ a directory using System.IO

10. System.IO.StreamReader

11. How to use System.IO.Stream

 

 
Powered by phpBB® Forum Software