DotNetNewsgroup.com  
web access to complete list of Microsoft.NET newsgroups
   home   |   control panel login   |   archive  |  
 
  carried group
academic
adonet
aspnet
aspnet.announcements
aspnet.buildingcontrols
aspnet.caching
aspnet.datagridcontrol
aspnet.mobile
aspnet.security
aspnet.webcontrols
aspnet.webservices
assignment_manager
datatools
dotnet.distributed_apps
dotnet.general
dotnet.myservices
dotnet.nternationalization
dotnet.scripting
dotnet.security
dotnet.vjsharp
dotnet.vsa
dotnet.xml
dotnetfaqs
framework
framework.clr
framework.compactframework
framework.component_services
framework.controls
framework.databinding
framework.drawing
framework.enhancements
framework.interop
framework.odbcnet
framework.performance
framework.remoting
framework.sdk
framework.setup
framework.webservices
framework.windowsforms
framework.wmi
frwk.windowsforms.designtime
lang.csharp
lang.jscript
lang.vb
lang.vb.controls
lang.vb.data
lang.vb.upgrade
lang.vc
lang.vc.libraries
  
 
start date: Tue, 31 Jul 2007 13:06:26 GMT,    posted on: microsoft.public.dotnet.framework.compactframework        back       

Thread Index
  1    sh


FileNotFoundException When Accessing My.Resources   
I have a resource called "Location". When I try to access it with the 
statement If My.Resources.Location = "Office" Then ... I get the 
following error message:

"A first chance exception of type 'System.IO.FileNotFoundException' 
occurred in mscorlib.dll"

Why? Aren't resources part of the application? How can I avoid this 
error (besides with a Try...Catch statement).

Someone suggested I use My.Settings instead of My.Resources, but there 
is no My.Settings tab in a mobile device program.

Any suggestions?

Thanks for any assistance.
Date:Tue, 31 Jul 2007 13:06:26 GMT   Author:  

Google
 
Web dotnetnewsgroup.com


COPYRIGHT ?2005, EUROFRONT WORLDWIDE LTD., ALL RIGHT RESERVE  |   Contact us