infopath used in windows service

J

Joseph

Is it possible to implement InfoPath automation in an .NET Windows Service
application? I would like to open an xsn file, manipulate the data on the
form, and send the form to recipient like it is currently done by the option
"Send to Mail Recipient" under the File menu on an InfoPath form. What I
want is that the recipient can actually see the form in an Outlook email
message, rather than opening the form from an attachment. Is there any
samples online?

thanks,
Joseph
 
D

Darwin Abustan[MSFT]

--------------------
From: "Joseph" <[email protected]>
Subject: infopath used in windows service
Date: Fri, 27 Aug 2004 10:55:58 +0800

Is it possible to implement InfoPath automation in an .NET Windows Service
application? I would like to open an xsn file, manipulate the data on the
form, and send the form to recipient like it is currently done by the option
"Send to Mail Recipient" under the File menu on an InfoPath form. What I
want is that the recipient can actually see the form in an Outlook email
message, rather than opening the form from an attachment. Is there any
samples online?

thanks,
Joseph


It is possible to implement InfoPath automation in a .Net Windows Service. However, it is not recommended. Office 2003 applications and earlier Office applications are
designed for user interaction. You may encounter unexpected behaviour when you are automating any of the Office application including InfoPath in a Windows Service. For
example, if the file that is opened with InfoPath is corrupted, InfoPath may display a Dialog informing the interactive user of the error. In this situation, because InfoPath is
automated in a Windows Service the dialog may appear in a hidden Window Station and the symptom would be as if your Windows Service is hung.

As far as I know, there is no method from a sending application to send emails with InfoPath forms displaying in the body rather than as an attachment.

Darwin Abustan
Support Engineer

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

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