Re: Error Trapping for trying to run an exe file without supporting files
- From: "PJ on Development" <pjondevelopment@xxxxxxxxx>
- Date: 11 Jan 2006 16:01:31 -0800
Hi Paul,
Well, the easiest way to do this is to check for the file presense
before running any real code.
I use to check for the files I need first, and when I don't find them I
ask the user where they are and store it on my application settings
(INI File, Registry, whatever) so the next time I know where to look
when I need them.
But if the files you need are somewhat a must have (such as Assemblies,
and other supporting file) then instead of asking the user where the
files are you just show the user an error message and exit the
application gracefully.
I hope it helps,
PJ
http://pjondevelopment.50webs.com
.
- Follow-Ups:
- Re: Error Trapping for trying to run an exe file without supporting files
- From: Paul Bromley
- Re: Error Trapping for trying to run an exe file without supporting files
- References:
- Error Trapping for trying to run an exe file without supporting files
- From: Paul Bromley
- Error Trapping for trying to run an exe file without supporting files
- Prev by Date: Re: Open pdf file with button in VB 2005
- Next by Date: Re: VS2005 - Debug and Locked Files
- Previous by thread: Error Trapping for trying to run an exe file without supporting files
- Next by thread: Re: Error Trapping for trying to run an exe file without supporting files
- Index(es):
Relevant Pages
|