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 / April 2007

Tip: Looking for answers? Try searching our database.

Adding custom code to Infopath web forms in MOSS 2007

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
~john - 18 Apr 2007 19:43 GMT
If an infopath form is web-enabled inside a MOSS 2007 form library, am
I still able to add my own C# code into the form like I am with the
fat-client forms?

~john
Frank Mueller (MSFT) - 20 Apr 2007 21:02 GMT
Yes, you can write C# code for your web-enabled templates. You just have to
make sure it uses the Office 2007 object model.
See here for details:

http://msdn2.microsoft.com/en-us/library/ms772259.aspx

Not all classes of the .NET framework will work when used in a web-enabled
form. (e.g., you cannot open a MessageBox using System.Windows.Forms)

Thanks,
Frank

Signature

This posting is provided "AS IS" with no warranties, and confers no rights.

> If an infopath form is web-enabled inside a MOSS 2007 form library, am
> I still able to add my own C# code into the form like I am with the
> fat-client forms?
>
> ~john
 
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.