Can vbscript code contained in an InfoPath 2003 form be accessed from VS2005 on a machine running Office 2010?
We are testing Office 2010 our our PC's and the custom task pane code that works just fine on PC's running Office/InfoPath 2007 does not run on the test PC's. I've been reading that the vbscript code in the form can't be edited directly when opening
the form in InfoPath 2010, but that's not what I'm trying to do. I want to access the vbscript code through the
The existing code, which runs perfectly on PC's with Office/InfoPath 2007, looks like this ...
var xDoc = window.external.Window.XDocument;
When run on PC's with Office/InfoPath 2010 the code throws error "Class doesn't support Automation". Are we trying something that is no longer possible? Any help is appreciated.
View Complete Post