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 5 of 9 (86 items) « First ... < Previous 3 4 5 6 7 Next > ... Last » New Form 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. I am using the following code: XDocument NewForm = thisApplication.XDocuments.NewFromSolution(@"C:\Users\Lawson\Desktop\Switch View.xsn"); thisXDocument.View.SwitchView("View 2"); This code opens a new form, ... Posted to Views (Forum) by Lawson on 04-15-2010 Re: Get Attachment Name Can you try running this in IP 03 compatable mode to see if it will work with InfoPath 2003? Thanks for your help, -Lawson Posted to Code (Forum) by Lawson on 04-15-2010 New Form 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. I am using the following code: XDocument NewForm = thisApplication.XDocuments.NewFromSolution(@"C:\Users\Lawson\Desktop\Switch View.xsn"); thisXDocument.View.SwitchView("View 2"); This code opens a new form, ... Posted to Code (Forum) by Lawson on 04-14-2010 Get Attachment filename I have an IP 2003 form with C# code. The form has many attachment fields. I need to get the names of attachments and the document type from the attachment and place it in an output. Does anybody know how to get the file name and document type from an attachment in an InfoPath 2003 form? Example: document.doc Thanks, -Lawson Posted to Code (Forum) by Lawson on 04-14-2010 Re: Get Attachment Name I tried this, but I got over a dozen errors... Posted to Code (Forum) by Lawson on 04-14-2010 Re: Get Attachment Name Will the local variable "filename" give me the output I need? Posted to Code (Forum) by Lawson on 04-14-2010 Get Attachment Name I have an IP 2003 form with C# code. The form has many attachment fields. I need to get the names of attachments and the document type from the attachment and place it in an output. Does anybody know how to get the file name and document type from an attachment? Example: document.doc Thanks, -Lawson Posted to Code (Forum) by Lawson on 04-12-2010 New Form 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. I am using the following code: XDocument NewForm = thisApplication.XDocuments.NewFromSolution(@"C:\Users\Lawson\Desktop\Switch View.xsn"); thisXDocument.View.SwitchView("View 2"); This code opens a new form, ... Posted to Code (Forum) by Lawson on 04-12-2010 Re: Open new form with a different view I get an error message. NewForm method does not exist. Posted to Code (Forum) by Lawson on 04-11-2010 Re: Open new form with a different view I am using the following code: XDocument NewForm = thisApplication.XDocuments.NewFromSolution(@"C:\Users\Lawson\Desktop\Switch View.xsn"); thisXDocument.View.SwitchView("View 2"); This code opens a new form, but it doesn't change the view in the new form. Does anybody have any suggestions? Posted to Code (Forum) by Lawson on 04-09-2010 Page 5 of 9 (86 items) « First ... < Previous 3 4 5 6 7 Next > ... Last » Copyright © 2003-2019 Qdabra Software. All rights reserved.View our Terms of Use.