如何清除 InfoPath Form 中的.Net 代码?

本文介绍如何在Microsoft Office InfoPath 2007中删除不必要的编程代码,包括步骤说明及注意事项。

摘要生成于 C知道 ,由 DeepSeek-R1 满血版支持, 前往体验 >

在开发 InfoPath Form 时,有时会不小时点到Programming ,而产生对应的 Visual Basic / C# 的.Net Project, 如何删除这些不需要的Code 或Project 呢?

 

原来很简单,按如下试即可。

 

参考网址如下:

http://support.microsoft.com/kb/922125

 

具体处理如下:

To resolve this behavior, remove the code from the form template before you publish the form template. To do this, follow these steps:

1.     Open the Microsoft Office InfoPath 2007 form template by using Visual Studio 2005.

2.     On the Tools menu, click Form Options.

3.     In the Form Options dialog box, click Programming.

4.     Click Remove Code, and then click Yes in the following message:

This will delete all script files and Visual Basic and C# assemblies associated with this form template.

Do you want to continue?

5.     Click OK, and then publish the form template to the Microsoft Office Forms Server 2007 Web site.

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值