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 1 of 3 (29 items) 1 2 3 Next > Re: Error while hiding a section control Can you tell us a little about the parameters you use in your code? XPathNavigator node = MainDataSource.CreateNavigator().SelectSingleNode("/my:myFields/my:OptionalEULAGroup", NamespaceManager); CurrentView.SelectNodes(node, node, "CTRL82"); CurrentView.ExecuteAction(ActionType.XOptionalRemove, ... Posted to Code (Forum) by InfoPathN00b on 06-09-2008 Re: Error while hiding a section control What code are you using to hide it? What happens around line 199? Have you tried hiding it using conditional formatting and rules i.e. not through code? Posted to Code (Forum) by InfoPathN00b on 06-06-2008 Switching betweeen VSTA and Design mode? Why is there no way to switch to and from VSTA directly from design mode? If not are there any plans to do so in a later release? Currently I have to select a control's properties, and click 'Edit Form Code'. Posted to Code (Forum) by InfoPathN00b on 06-06-2008 Finding System.Windows.Forms 'Unsupported feature in code' errors I'm trying to make my form browser compatible but when I do compatibilty check I get several 'Unsupported feature in code' errors which read User interface operations are not supported. Consider removing the following usage: System.Windows.Forms unfortunately it doesn't give a line number for the offending code (why not?) so to ... Posted to Browser Forms (Forum) by InfoPathN00b on 06-06-2008 Re: How to open a popup window in infopath I don't know if this is still useful to you but I think the following method should answer your question: 1.Go to the Design Tasks panel on the left, click Controls and add a button to your form 2.Right click on the button, select properties 3.Click Rules, Add 4.Click add action and from the Action combo list select 'Show a dialog box ... Posted to Browser Forms (Forum) by InfoPathN00b on 06-06-2008 Re: Browser compatible MessageBox.Show() alternative? Thanks Clay, that's a good idea but I can't figure out how to show and hide textfields in code. I'm referencing it like this: XPathNavigator txtError = this.CreateNavigator().SelectSingleNode("/my:myFields/my:txtError", this.NamespaceManager); I'm looking for something like txtError.Show() or txtError.Hide() but ... Posted to Browser Forms (Forum) by InfoPathN00b on 06-06-2008 Browser compatible MessageBox.Show() alternative? I want to make my form web compatible but have some custom code in C# which uses MessageBox.Show() notifications from System.Windows.Forms to notify the user if something has gone wrong or if they have entered an invalid value. Unfortunately the DesignChecker flags all occurances of these as a 'Unsupported feature in code'. What can I ... Posted to Browser Forms (Forum) by InfoPathN00b on 06-05-2008 Re: Submit a form to a email data connector in C#? I couldn't find a solution to the The name 'thisXDocument' does not exist in the current context error and foudn a different way of doing it using the Mail Envelope class from http://msdn.microsoft.com/en-us/library/microsoft.office.infopath.mailenvelope.aspx but now am getting Error 1 The type or ... Posted to Code (Forum) by InfoPathN00b on 06-05-2008 Re: Some basic Managed Code questions Turns out I can answer my own questions now so for anyone else who might be wondering the same thing: 1. Class Library Reference for Managed Code Form Templates http://msdn.microsoft.com/en-us/library/aa948293.aspx 2. Looks like it's compiled when the form is published 3. It is stored in a seperate file the VSTA default location is ... Posted to Code (Forum) by InfoPathN00b on 06-04-2008 Submit a form to a email data connector in C#? I need to submit a form to a email data connector in code (I'm using C# in InfoPath 2007). This article How To: Submit Data as an E-mail Message http://msdn.microsoft.com/en-us/library/bb250998.aspx gives an example (in VB) using the EmailAdapter which references the data conenction but I can't find any C# equivalent (the rest of my code ... Posted to Code (Forum) by InfoPathN00b on 06-04-2008 Page 1 of 3 (29 items) 1 2 3 Next > Copyright © 2003-2019 Qdabra Software. All rights reserved.View our Terms of Use.