.NET configuration file in Infopath

X

Xin Chen

I can using .NET toolkit to build some Infopath app. But I want to store
setting in configuration file as in .NET development. Does Infopath support
the configuration file so that I can use .NET configuration API inside the
infopath "code behind"? thanks
 
J

Josh Meyer

You can't use the app.config file in InfoPath, it's not supported. You have
to add an XML file as a secondary datasource and then store your
configuration settings in there. at least that's the best way I've found to
do it. InfoPath uses the manifest.xsf file to store config settings, but I
don't really think it's meant to be used in the same manner as an app.config
file. HTH.

Josh Meyer, MCAD
Sr. Systems Analyst
The Trident Group, Inc.
 

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