Access Resource File via Managed Code

S

Sachin Nema

Hi

I've created an InfoPath 2007 form that contains resource files (added by
going to Tools->Resource Files, etc). I'd like to access them from my
managed code in the form. Is this possible? How does InfoPath store these
files so that they are accesible at runtime?

Thanks
 
G

Gavin McKay

Hello,

AFAIK InfoPath doesn't have any knowledge of resource files - it uses
physical files i.e. gifs, jpgs, xslt, xml, xsd, etc. and then runs it through
the InfoPath rendering engine to display the content. I don't think you can
use resource files in the way you want to i.e. swap out images, load files,
etc. This is because all references to files live in the xslt, so they exist
at design-time and can be used at run-time.

Is there something you are trying to achieve with the resource files?
Internationalization is just barely supported - there is a lot of work
required in InfoPath to get this to happen.

Gavin.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top