Enabling Full Trust for Managed Code

This chapter’s procedures require the Visual Basic .NET event-handling code to run with full trust. You can’t digitally sign forms generated from the extracted template files in your project folder. In the .NET Framework’s default configuration, you can build—but not run—forms that require full trust for event-handling code. You must specify Full Trust and add a digital signature to the TemplateName.xsn file in the project’s ...\bin\Debug or ...\bin\Release folder to run the forms. Alternatively, you can register TemplateName.xsn by creating a Microsoft Installer (.msi) file with Regform.exe and then executing the .msi file.

Debugging signed or registered forms ordinarily requires a Visual Studio instance ...

Get Introducing Microsoft® Office InfoPath™ 2003 now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.