C
Chris Mahoney
Hi everyone
I'm trying to create email messages in Outlook that contain links to an
InfoPath form. Currently I'm using the following HTML in my message:
<html>
<head>
<title>InfoPath Launcher</title>
<script language="javascript" type="text/javascript">
function launchInfoPath()
{
objInfoPath = new ActiveXObject("InfoPath.Application");
strXSFPath =
"D:\\VBProjects\\LibraryPhotos\\LibraryPhotos\\manifest.xsf";
objInfoPath.XDocuments.NewFromSolution(strXSFPath);
}
</script>
</head>
<body>
Click <a href="javascript:launchInfoPath();">here</a> to open form.
</body>
</html>
That code works perfectly in IE (InfoPath opens and the form appears),
but not in Outlook. When you click the link, IE opens for a
split-second then closes itself, and InfoPath doesn't start at all.
Any ideas?
Thanks
Chris
I'm trying to create email messages in Outlook that contain links to an
InfoPath form. Currently I'm using the following HTML in my message:
<html>
<head>
<title>InfoPath Launcher</title>
<script language="javascript" type="text/javascript">
function launchInfoPath()
{
objInfoPath = new ActiveXObject("InfoPath.Application");
strXSFPath =
"D:\\VBProjects\\LibraryPhotos\\LibraryPhotos\\manifest.xsf";
objInfoPath.XDocuments.NewFromSolution(strXSFPath);
}
</script>
</head>
<body>
Click <a href="javascript:launchInfoPath();">here</a> to open form.
</body>
</html>
That code works perfectly in IE (InfoPath opens and the form appears),
but not in Outlook. When you click the link, IE opens for a
split-second then closes itself, and InfoPath doesn't start at all.
Any ideas?
Thanks
Chris