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 2 (16 items) 1 2 Next > Problem resolving email addresses I have an infopath form that automatically sends an email when the user chooses to "submit for approval". Based on who the user selects as their approver, an email is sent to that person. The user selects the approver from a drop-down box that contains approvers names (i.e. John Doe). I have someone in my department ... Posted to Code (Forum) by aehicks on 09-24-2007 Re: Close InfoPath using Code Yes, I am running InfoPath 2003. My code is running from the "Edit Form Code..." property on a button. Posted to Code (Forum) by aehicks on 06-22-2007 Close InfoPath using Code I have an infopath form that, for specific reasons, need to be able close using vbscipt. Right now I am using "Application.ActiveWindow.Close". Although the code works, I get a "catastrophic" error becuase of the code I am using. Any suggestions? Posted to Code (Forum) by aehicks on 06-22-2007 Re: Data Connection using Code You were correct. Once I changed the Query() to Submit() it worked perfectly. Thanks for your help. Posted to Code (Forum) by aehicks on 06-05-2007 Re: Data Connection using Code Thanks for your help. However, being new to InfoPath, I'm not really sure how to make the OnLoad handler work. Let me explain more on how I was to use it. I've written some code to run when the user clicks on the submit button. On of the final lines of code will call a data connection called ... Posted to Code (Forum) by aehicks on 06-05-2007 Submitting to Sharepoint Form Library using data connection I'm trying to subit a form to sharepoint using a data connection. Additionally, I have set the file name as the contents of a field on the form. When I submit the form, I get the following error: InfoPath cannot submit the form. An error occurred while the form was being submitted. The form cannot be submitted to the ... Posted to Data Connections (Forum) by aehicks on 05-31-2007 Data Connection using Code Does anyone know how to use VBScript code to invoke a data connection? Posted to Code (Forum) by aehicks on 05-31-2007 Disabling toolbars/command bars when form is loaded I would like to limit the number of toolbars and commands that users can see when my InfoPath 2003 form is loaded. I am using VBscript. Also, is there anyway to disable "File, Close" and "File, Exit", as well as the close button in the top right corner? Basically, I'm trying to force users to exit the form ... Posted to Code (Forum) by aehicks on 04-27-2007 Wscript Error, please help!! I am using the following code to pull the username of the person accessing my infopath form and insert their name into a field called Signature1: dim x var x = new ActiveXObject("Wscript.Network") dim user user = x.UserName XDocument.DOM.selectSingleNode("/my:myFields/my:Signature1").text = user When I run the form, I ... Posted to Newbie Questions (Forum) by aehicks on 04-25-2007 Re: How to reference a text box using VBscript Thanks Ramana and Shiva for your help. Unfortunately, neither solutions are working yet. When I use the following code Dim X set X = createobject("WSCRIPT.Network") dim user user=x.UserName I get an error that says "ActiveX component can't create object: 'WScript.Network'. When I use var x = new ... Posted to Newbie Questions (Forum) by aehicks on 04-24-2007 Page 1 of 2 (16 items) 1 2 Next > Copyright © 2003-2019 Qdabra Software. All rights reserved.View our Terms of Use.