You can't use app.config. Here's an old thread in the ugly new google groups
interface...
http://groups-beta.google.com/group/microsoft.public.infopath/browse_thread/thre
ad/db428a3a30cf75ea/d428ad85de373fb7?q=infopath.exe.config
--Matthew Blain
http://tips.serriform.com/
http://www.developingsolutionswithinfopath.com/
> How can I add a configuration file to an infopath project in VS.NET ?
>
[quoted text clipped - 36 lines]
> d:\duray\test\infopathproject1\formcode.cs:line 50
> at
Microsoft.Office.Interop.InfoPath.SemiTrust._ButtonEventSink_SinkHelper.OnCl
ick(DocActionEvent pEvent)
> The app config is there but just does not work...
>
[quoted text clipped - 17 lines]
>
> A small key opens big doors.
Matthew Blain \(Serriform\) - 11 Dec 2004 21:21 GMT
But (as mentioned in the referenced thread) you can use your own XML files
as a secondary data source.
I'm replying to myself to point out the following cool-looking solution to
the offline problem:
http://jelle.druyts.net/PermaLink.aspx?guid=79de2f23-4e00-4b5e-8001-395f2a6ba23d
"Matthew Blain (Serriform)" <matthewblain@nospam.serriform.com> wrote in
message news:eEPoNMy3EHA.3616@TK2MSFTNGP11.phx.gbl...
> You can't use app.config. Here's an old thread in the ugly new google groups
> interface...
http://groups-beta.google.com/group/microsoft.public.infopath/browse_thread/thre
ad/db428a3a30cf75ea/d428ad85de373fb7?q=infopath.exe.config
> --Matthew Blain
> http://tips.serriform.com/
[quoted text clipped - 40 lines]
> > d:\duray\test\infopathproject1\formcode.cs:line 50
> > at
Microsoft.Office.Interop.InfoPath.SemiTrust._ButtonEventSink_SinkHelper.OnCl
> ick(DocActionEvent pEvent)
> >
[quoted text clipped - 20 lines]
> >
> > A small key opens big doors.