comp.lang.idl-pvwave archive
Messages from Usenet group comp.lang.idl-pvwave, compiled by Paulo Penteado

Home » Public Forums » archive » Finding Resource Files
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Switch to threaded view of this topic Create a new topic Submit Reply
Finding Resource Files [message #64250] Thu, 11 December 2008 06:55
David Fanning is currently offline  David Fanning
Messages: 11724
Registered: August 2001
Senior Member
Folks,

I find as I write larger programs for distribution to other
users that I have more and more need for resource files, by
which I mean bitmaps for buttons, special color table files,
the GSHHS vector files for overlays, etc. I am never certain
if, or where, these files are located on client machines.

To that end, I have written an IDL program that can search
in specific locations for a particular resource file, and if
it finds it, will return a fully-qualified path to that file.
It will look first in the IDL resource directories, then in
local resource directories (with respect to the location
of the program itself), then it will search the entire
IDL Path for the file.

The program, named Find_Resource_File, can be found here:

http://www.dfanning.com/programs/find_resource_file.pro

The program requires error_message.pro and programrootdir.pro
from the Coyote Library.

Cheers,

David
--
David Fanning, Ph.D.
Fanning Software Consulting, Inc.
Coyote's Guide to IDL Programming: http://www.dfanning.com/
Sepore ma de ni thui. ("Perhaps thou speakest truth.")
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: Re: Which subroutine is used to calculate the decimal order of an array?
Next Topic: % RESTORE: Procedure RUNFROMIDL can't be restored while active.

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ] [ PDF ]

Current Time: Fri Oct 10 17:28:33 PDT 2025

Total time taken to generate the page: 0.56122 seconds