Search - InfoPath Dev Sign in | Join | Help InfoPath Dev InfoPath Dev is dedicated to bringing you the information and tools you need to be successful in your Microsoft Office InfoPath development projects. Home Blogs Forums Photos Downloads Search More Search Options Page 2 of 3 (28 items) < Previous 1 2 3 Next > Re: Using events in custom panes I use VSTA and I'm not sure if there is a OnFocus eventhandler. The following MSDN article indicates what are the events: http://msdn.microsoft.com/en-us/library/bb250984.aspx You may be able to work with a BeforeChange event. Posted to Code (Forum) by ocampod84 on 04-28-2009 Re: How can I get a WORD print view, when print view will not work Response to Q1: Couldn't you do a Print View that gathers all the data in your InfoPath form into one view instead of Word? What benefit would you get from Word? If necessary, it can be done, but programmatically. The following link shows an ... Posted to Newbie Questions (Forum) by ocampod84 on 04-27-2009 Re: Domain Permission Level error Has anyone resolved this problem? One of my users is experiencing this issue. Posted to General (Forum) by ocampod84 on 04-27-2009 Re: How to Save with code? In VB, to work with the DOM, you'll need to enter the following code: Dim DOM as XPathNavigator = MainDatasource.CreateNavigator() To reference a node, you'll need to copy the XPath from the node's data source and paste it into code: Dim field1 as XPathNavigator = DOM.SelectSingleNode("xpath", NamespaceManager) Look ... Posted to Code (Forum) by ocampod84 on 04-26-2009 Re: Issues deploying forms with code I think this link is describing the issue that I'm having: http://blogs.microsoft.co.il/blogs/itaysk/archive/2008/04/18/net-framework-3-5-and-infopath-compatibility-issue.aspx Has anyone else encountered this issue? Thanks! Posted to Newbie Questions (Forum) by ocampod84 on 04-22-2009 Issues deploying forms with code Hi, We recently deployed an IP 2007 form to a SharePoint list. The form contains some VB code and it seems to work well on my PC and several others, however, the code does NOT work on others PCs. These users get errors indicating that there is an issue in the form's code. I googled what this meant, and MS said that it can be attributed to the ... Posted to Newbie Questions (Forum) by ocampod84 on 04-22-2009 Re: How to Save with code? You can use this code to start you off: If Me.[New] ThenMe.SaveAs("C:\form.xml") ElseMe.Save() End If You will need to make references to nodes in order to get a custom file name. Posted to Code (Forum) by ocampod84 on 04-21-2009 Re: Tabbed navigation Sorry, I didn't get back to you earlier. I'm glad that you got it figured out and that it worked. Posted to Code (Forum) by ocampod84 on 04-21-2009 Re: Issues creating MSI file in IP2007 Thanks JosLake! It's just what I needed. Posted to Newbie Questions (Forum) by ocampod84 on 04-21-2009 Re: Add Months to Date You need to use the AddMonths method of the Date class. This should get you started: Once you enter the number of months for the contract, the code will produce the date by using the AddMonths method.Public Sub field2_Changed(ByVal sender As Object, ByVal e As XmlEventArgs) ' Write your code here to change the main data source.Dim DOM As ... Posted to Code (Forum) by ocampod84 on 04-21-2009 Page 2 of 3 (28 items) < Previous 1 2 3 Next > Copyright © 2003-2019 Qdabra Software. All rights reserved.View our Terms of Use.