Hi Patrick,
Just as a clarification - any user that wants to interact with an InfoPath
form (i.e. fill it out) will need to have InfoPath installed on their
machine.
Now with that said, here are steps for a quick and easy sample:
- Launch Notepad
- Paste in the following code:
<HTML>
<BODY>
<BUTTON ID="Button1" >Open InfoPath Form </BUTTON>
</BODY>
<script language=vbscript>
Function Button1_OnClick()
Window.open "Form1.xml"
End Function
</script>
</HTML>
- Save this in your wwwroot folder as: OpenIPTest.HTM
- Double-click any existing InfoPath XSN you have and save the form as
Form1.XML in the wwwroot folder
- Launch IE, load OpenIPTest.HTM and click the button - result: the
InfoPath form should be loaded using InfoPath.
I hope this helps!
Scott L. Heim
Microsoft Developer Support
This posting is provided "AS IS" with no warranties, and confers no rights.