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 5 (44 items) 1 2 3 4 5 Next > Re: Backwards Compatibility: Form Template&lt;&gt;Submisson Hey, If you are publishing to Sharepoint, you can use this method to have multiple versions of the same form published to the same form library. http://www.infopathdev.com/forums/topic.asp?TOPIC_ID=2923 MB Posted to General (Forum) by mbenbow on 12-21-2006 Re: Exporting to MHTML or PDF Hey, Here is some code that we used to create a MHT file of the form and send it via email. Note that your form will need to be fully trusted. In the button code put the following: Dim oFormNum, oFormName, sMHT Dim sTo, sCC, sBCC, sSubj, sBody 'grab the form number and title of current form Set oFormNum = ... Posted to General (Forum) by mbenbow on 11-21-2006 Re: Printing Problems (Portrait VS Landscape) Hey, When you have the InfoPath form open in Designer, select File/Extract Form Files. This will extract all the files that make up the XSN form template. Look for a file that you extracted called manifest.xsf......and open that file in Notepad. The line with the <xsf:property name=viewWith....> will be located under ... Posted to Views (Forum) by mbenbow on 11-09-2006 Re: Printing Problems (Portrait VS Landscape) Hey, Look in the manifest for that particular view and see what the the following view width states: <xsf:property name=''viewWidth'' type=''string'' value=''8.5in''></xsf:property> Sometimes, I have seen values get ''stuck'' in the designer that when changed manually in the manifest and recompiled - it fixed the problem. Hope that ... Posted to Views (Forum) by mbenbow on 11-09-2006 Re: Write to empty cell in excel Hey, Without knowing the complete details of how your project will be deployed, you might be able to use the following. It is written in VB Script: (Note: to use this code the form will need to be fully trusted - also, this code is off the top of my head and has not been tested.) Sub PopRowColValue(sFile, sToPop) 'sFile - is the path to your ... Posted to Newbie Questions (Forum) by mbenbow on 11-08-2006 Re: Accessing Intro field in MailEnvelope object Hey, The MailEnvelope object does not expose the Intro property. However, the EmailAdapter object does expose the Intro Property. You can access the EmailAdapter object via XDocument.DataAdapters(''Name of data adapter'') Alternatively, you can program directly to Outlook which will create an email message but not send it directly (but you can ... Posted to Code (Forum) by mbenbow on 09-22-2006 Re: UpperCase Hey, In the field property dialog box, set the default value "value" property to: translate(., "abcdefghijklmnopqrstuvwxyz", "ABCDEFGHIJKLMNOPQRSTUVWXYZ") The "." the field you are setting to upper case. It should appear in the Formula as a period with an underline. Hope that helps, MB Posted to General (Forum) by mbenbow on 09-22-2006 Re: Delete previous versions of templates Hey, How are your form deployed - through Sharepoint or installed on the user's machine or from a shared drive? More than likely you will need to clear the user's Form Cache to ''remove'' the old templates since Infopath caches the form to the users: C:\Documents and Settings\UserID\Local Settings\Application Data\Microsoft\InfoPath Hope that ... Posted to General (Forum) by mbenbow on 09-14-2006 Infopath 2007 and XPath Hey, Does anyone know if InfoPath 2007 is based on XPath 1.0 or XPath 2.0? Thanks, MB Posted to General (Forum) by mbenbow on 09-14-2006 Re: How to run .exe file from code? Hey, I don't see why not! You can create the file with File System Object and use the WriteLine method to enter data into the text file (see above with oTempFile.WriteLine) and instead of hard coding the info for the line, use the XDocument.DOM.selectSingleNode(''//my:FieldName'').Text Hope that helps! MB Posted to General (Forum) by mbenbow on 09-07-2006 Page 1 of 5 (44 items) 1 2 3 4 5 Next > Copyright © 2003-2019 Qdabra Software. All rights reserved.View our Terms of Use.