Page 1 of 1

Path for filenames using resource provider

Posted: Mon Jan 23, 2006 19:27
by boldt
Hi Guys

Currently I'm working with the default resource provider, but have a problem with placement of resource files. I do not want the paths to be relative to the runtime directory of the application, but they must be relative to a resource directory which I want to specify.

Is there a way to do this with the default resource provider or is the only option to write a new resource provider which inherits from the abstract resource provider?

Any suggestion or hints will be appreciated

Thanks, Niels

Re: Path for filenames using resource provider

Posted: Mon Jan 23, 2006 20:56
by lindquist
The DefaultResourceProvider is very simple, it only opens the file by passing the given filename. Resourcegroups are not even used for anything.

You'll very likely be best off making your own... But it's very simple.. I'm sure you'll figure it out.

HTH