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 (24 items) < Previous 1 2 3 Next > Re: Submit button that sends completed form to a network share and also prints the form It doesn't like when I change the values of 'tempFolder' and 'Filename' If I use: this.CurrentView.Export(@"\\SHARE\test.pdf", Microsoft.Office.InfoPath.ExportFormat.Pdf); Is it possible to pull the filename from a field value in the form or maybe todays date and time instead of using 'test' ? Posted to Code (Forum) by jambou9182 on 11-11-2010 Re: Submit button that sends completed form to a network share and also prints the form I added the try infront of the code, I get a few errors: The type or namespace name 'Process' could not be found (are you missing a using directive or an assembly reference?) The name 'tempFolder' does not exist in the current context The name 'Filename' does not exist in the current context The name ... Posted to Code (Forum) by jambou9182 on 11-11-2010 Re: Submit button that sends completed form to a network share and also prints the form Hi, thank you for all your help on this, it's greatly appreciated. I get an error at: }syntax error, 'try' expected catch { } What is the name of the tool to purchase? Posted to Code (Forum) by jambou9182 on 11-11-2010 Re: Submit button that sends completed form to a network share and also prints the form Awesome that worked! Is it possible to export the pdf to the share and also make it print out onto a network printer? Posted to Code (Forum) by jambou9182 on 11-11-2010 Re: Submit button that sends completed form to a network share and also prints the form Hey, I got it to work by capitalizing the "p" in this.Print(); Now, is it possible to have the form export to my share in .PDF format? Posted to Code (Forum) by jambou9182 on 11-10-2010 Re: Submit button that sends completed form to a network share and also prints the form ok, I checked, and InfoPath Filler Form is definately selected. Here is the form code: using Microsoft.Office.InfoPath; using System; using System.Windows.Forms; using System.Xml; using System.Xml.XPath; using mshtml; namespace Form12 { public partial class FormCode ... Posted to Code (Forum) by jambou9182 on 11-10-2010 Re: Submit button that sends completed form to a network share and also prints the form I'm using the client, everyone has InfoPath 2010 on their laptops, it's not a browser enabled form. Posted to Code (Forum) by jambou9182 on 11-10-2010 Possible to customize "Show insert button and hint text" link My form has alot of Optional Sections, where people can insert if needed. Is there a way to customize the way the "Show insert button and hint text" displays? Maybe a button or picture, instead of the default orange circle with a white arrow and the hint text? Or is it possible to increase the size of the default? ... Posted to General (Forum) by jambou9182 on 11-10-2010 Re: Submit button that sends completed form to a network share and also prints the form When I add the code I get a build error: "Form1.FormCode" does not contain a definition for 'print' Posted to Code (Forum) by jambou9182 on 11-10-2010 Re: Submit button that sends completed form to a network share and also prints the form Thanks for your reply. I'm new to InfoPath, I'm not sure what to do with your code... Posted to Code (Forum) by jambou9182 on 11-08-2010 Page 2 of 3 (24 items) < Previous 1 2 3 Next > Copyright © 2003-2019 Qdabra Software. All rights reserved.View our Terms of Use.