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 6 of 9 (86 items) « First ... < Previous 4 5 6 7 8 Next > ... Last » Open new form with a different view I have an IP 2003 form with C# code. I would like to add a button that will open up a new form in a different view. Does anybody know how to do this? Posted to Code (Forum) by Lawson on 04-09-2010 Re: Save and Close Button Thanks, I'll try this. How can I get the current name of the form and combine it with the DateTime.Now.ToString("s")? I think this will give it the best chance at being unique. -Lawson Posted to Code (Forum) by Lawson on 03-16-2010 Re: Save and Close Button Thanks Jimmy, Can I use the now() function for the formName to uniquely name the form? -Lawson Posted to Code (Forum) by Lawson on 03-16-2010 Re: Save and Close Button I tried this with the following code:this.Save_OnClick(@"C:\Users\Lawson\Documents\Saved Forms"); this.close(); But I got the following errors. Error 1-- The best overloaded method match for 'eFileroom_3_13_10.FormCode.Save_OnClick(Microsoft.Office.Interop.InfoPath.SemiTrust.DocActionEvent)' has some invalid ... Posted to Code (Forum) by Lawson on 03-15-2010 Save and Close Button I would like to create a button that saves the form to a specific path and then closes the form. Does anybody know how to do this in C#? Thanks, -Lawson Posted to Code (Forum) by Lawson on 03-14-2010 Re: Missing commas Hilary, Your code was exactly right. I replaced it, and it worked great. Thanks, You're Awesome! My bulldog says the same. -Lawson Posted to Code (Forum) by Lawson on 03-02-2010 Missing commas I have an InfoPath form with three textboxes, one attachment, and one button. When an attachment is added and the button is pressed, a csv file is created with the contents of the textboxes and saved to a specified folder. My problem is with the csv file. I need a file that separates the contents of the text boxes by commas, but I get a csv file ... Posted to Code (Forum) by Lawson on 03-02-2010 Re: Repeating Section Since you’re up, I’ve got a different question. If you have some time, maybe you can point me in the right direction. I need to create a button that converts the contents of textboxes on a form to a .csv file and saves the .csv file to a specified path. Do you know how to do this??? THanks -Lawson Posted to Code (Forum) by Lawson on 02-26-2010 Re: Repeating Section Yep, made the changes, and it works great. Thanks for all your help man! My bulldog says the same... Posted to Code (Forum) by Lawson on 02-25-2010 Re: Repeating Section I made the suggested changes.DOMNodeList n = thisXDocument.DOM.selectNodes("/my:myFields/my:group1/my:group2/my:field1"); //Get the text of the node. foreach (IXMLDOMNode node in n)if (node.text.Length > 0) { InfoPathAttachmentEncoding.InfoPathAttachmentDecoder myDecoder = ... Posted to Code (Forum) by Lawson on 02-25-2010 Page 6 of 9 (86 items) « First ... < Previous 4 5 6 7 8 Next > ... Last » Copyright © 2003-2019 Qdabra Software. All rights reserved.View our Terms of Use.