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 19 of 31 (310 items) « First ... < Previous 17 18 19 20 21 Next > ... Last » Re: referencing mshtml.dll Hi, You need to copy Microsoft.mshtml.dll into the GAC of your machine (typically: C:\WINDOWS\assembly). Then you need to register the file (with a batch file for example): C:\WINDOWS\Microsoft.NET\Framework\v1.1.4322\gacutil.exe /i C:\WINDOWS\assembly\Microsoft.mshtml.dll C:\WINDOWS\Microsoft.NET\Framework\v1.1.4322\regasm.exe ... Posted to Code (Forum) by franck on 10-25-2005 Re: Dynamically toggle "Show on the View menu when..." Hi Brian, I don't believe that you can manipulate individual items in the built-in menus, but you can hide the entire menu bar. If you want to do that, look at code I posted there:http://www.infopathdev.com/forums/topic.asp?TOPIC_ID=957 Hope that it helps. Regards, Franck Dauché Posted to General (Forum) by franck on 10-25-2005 Re: [C#] '#PCDATA' is NULL-Content Hi, Before trying to set your date value by code, you need to use: IXMLDOMNode oNode = thisXDocument.DOM.selectSingleNode(''//my:Begin''); oNode.attributes.removeNamedItem(''xsi:nil''); Regards, Franck Dauché Posted to Code (Forum) by franck on 10-25-2005 Re: Extract from file cannot be sign If your xsn is directly in your folder with regform, you can skip the copy command in the batch file, right? Regards, Franck Dauché Posted to General (Forum) by franck on 10-24-2005 Re: Extract from file cannot be sign Hi, You need to copy RegForm.exe (found in the InfoPath SDK) in your bin\Debug folder. Then, you create a batch file in the same folder with the following: copy C:\MyFolder1\......\MyForm.xsn regform /U urn:MyForm:MyCompany /T Yes /MSI MyForm.xsn It will generate the msi that you are looking for. Regards, Franck Dauché Posted to General (Forum) by franck on 10-24-2005 Re: Extract from file cannot be sign Hi Connie, You are not supposed to work with the xsn from the bin folder. The urn of your fully trusted is pointing to the manifest.xsf, it can't point to the xsn at a different location with the same urn (urn and location are saved in the registry). It will work OK when you deploy the form on a client computer. Just generate an msi for it and ... Posted to General (Forum) by franck on 10-24-2005 Re: Saving without user interface Lee, did you try to call your code from the OnContextChange event (with the check for IsNew(), but to try to call your code automatically)? Just a thought... Regards, Franck Dauché Posted to Code (Forum) by franck on 10-24-2005 Re: More than one button per form? I am assuming that you are not using VS.Net with InfoPath, but InfoPath alone. In that case, go to: Tools / Programming / MS Scrit Editor. Regards, Franck Dauché Posted to General (Forum) by franck on 10-24-2005 Re: More than one button per form? Hi Janice, Yes, you can take control of the Submit behavior by code by using OnSubmitRequest. In there you can control the Submit behavior based on your logic, status of the form, etc. As an alternative you can bypass entirely the built-in Submit feature and build your own button with your own code. Hope that it helps. Regards, Franck Dauché Posted to General (Forum) by franck on 10-24-2005 Re: Saving without user interface I am confused now, do you to save locally? C:\\XYZ.xml or submit back to Sharepoint? To get the dialog box, you need to look into: thisXDocument.UI.SetSaveAsDialogFileName(''YourName''); To submit to Sharepoint by code, you will need a DAVAdapter... Regards, Franck Dauché Posted to Code (Forum) by franck on 10-24-2005 Page 19 of 31 (310 items) « First ... < Previous 17 18 19 20 21 Next > ... Last » Copyright © 2003-2019 Qdabra Software. All rights reserved.View our Terms of Use.