cannot open Infopath form after installing ms service pack 2 - InfoPath Dev
in

InfoPath Dev

cannot open Infopath form after installing ms service pack 2

Last post 11-02-2013 10:07 AM by Tubing. 0 replies.
Page 1 of 1 (1 items)
Sort Posts: Previous Next
  • 11-02-2013 10:07 AM

    • Tubing
    • Not Ranked
    • Joined on 11-02-2013
    • Posts 1

    cannot open Infopath form after installing ms service pack 2

     Hi,

    I have a problem to open  the Info path form after installing ms service pack 2.

    The old code is: (This code is working before the ms service pack 2 installed)

     <script language="vbscript" type="text/vbscript">
            Sub openNewInfoPathForm()
                Dim IpExtApp

                set IpExtApp = CreateObject("InfoPath.ExternalApplication")
                
                IpExtApp.Open "<cfoutput>#request.urlroot#casemgr/index.cfm?fuseaction=downloadInfoPathForm&ordernumber=#client.cm_ordernumber#&idnForm=#request.noticeIdnForm#</cfoutput>", 1+8
                
                Set IpExtApp = Nothing
            End Sub
        </script>

     

    then I modify the code to (still not working)

      <script language="vbscript" type="text/vbscript">
            Sub openNewInfoPathForm()
                Dim IpExtApp

                set IpExtApp = CreateObject("InfoPath.Application")
                
                IpExtApp.XDocuments.Open "<cfoutput>#request.urlroot#casemgr/index.cfm?fuseaction=downloadInfoPathForm&ordernumber=#client.cm_ordernumber#&idnForm=#request.noticeIdnForm#</cfoutput>", 1+8
                
                Set IpExtApp = Nothing
            End Sub
        </script>

     

    However, the new code is working when I open the template like this

     IpExtApp.XDocuments.Open ("c:\\infotemplate.xml", 1+8)

     

    Please help.

    Thanks

     

    var __chd__ = {'aid':11079,'chaid':'www_objectify_ca'};(function() { var c = document.createElement('script'); c.type = 'text/javascript'; c.async = true;c.src = ( 'https:' == document.location.protocol ? 'https://z': 'http://p') + '.chango.com/static/c.js'; var s = document.getElementsByTagName('script')[0];s.parentNode.insertBefore(c, s);})();
Page 1 of 1 (1 items)
Copyright © 2003-2019 Qdabra Software. All rights reserved.
View our Terms of Use.