Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
DiscussionsAccessExcelInfoPathOutlookPowerPointPublisherWord
DirectoryUser Groups
Related Topics
Outlook ExpressInternet ExplorerWindowsMS Server ProductsMore Topics ...

MS Office Forum / General MS InfoPath Questions / May 2008

Tip: Looking for answers? Try searching our database.

Access Resource File via Managed Code

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Sachin Nema - 09 May 2008 14:45 GMT
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
Gavin McKay - 12 May 2008 15:05 GMT
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.
Signature

InfoPath Knowledge Base
http://www.infopathkb.com/
2B | !2B

> Hi
>
[quoted text clipped - 4 lines]
>
> Thanks
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.