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 (11 items) 1 2 Next > Re: prevent digital signatures from being deleted Correction Please add the OnBeforeChange handler code to the ''signatureN'' group where the signature is stored, not to the section you are signing. In other words (my excample) browse to : Tools - Form Options - Digital Signatures - ''Enable digital signature for specific data'' - Modify/Add Note the ''Store signatures in the following ... Posted to Code (Forum) by nkelkar on 03-31-2006 prevent digital signatures from being deleted Question How do I prevent users from deleting existing digital signatures? Background: A] The project is in VB.net (IDE is visual studio) B] There are 2 sections in the form, section1 and section2 C] Section1 is where users enter data D] Section2 is where they add signatures (more than one allowed) E] If Section2 is signed then I have made all ... Posted to Code (Forum) by nkelkar on 03-31-2006 removechild strange A very very strange removechild error, or I am missing something really important. Removing all rows in a repeating table using removechild with vb.net code as below: 01 Dim numRows = thisXDocument.DOM.selectNodes(''//d:Details'').length() 02 Dim deleteNode As IXMLDOMNode 03 thisXDocument.UI.Alert(''Total of '' & numRows & '' to be ... Posted to Code (Forum) by nkelkar on 11-02-2005 Re: Visual Basic.net 2 Lines here thisXDocument.SetDirty(False) thisApplication.Quit(False) Posted to Code (Forum) by nkelkar on 11-01-2005 Re: make field read only vb.net ? One alternate suggested by Patrick Halstead (on another group) is to have a boolean field called as say ''FldReadOnly'' On Form load (or other) use the business logic to check if the fields on the form need to be read-only or allow them to be edited. If fields need to be readonly, within your managed code you can set the field ''FldReadOnly'' ... Posted to Code (Forum) by nkelkar on 10-31-2005 make field read only vb.net ? A simple option which I am unable to conclude or get an answer. Field(s) on the form need to be made read-only during runtime, ''How do I make a field read only in managed code (I am using vb.net, based on some logic)?'' I know there are options within infopath, by clicking on field properties and changing Display -> ReadOnly BUT BUT BUT, ... Posted to Code (Forum) by nkelkar on 10-31-2005 Re: accessing repeating table node A check to see if there 'really' are 3 rows or not: Dim numRows = thisXDocument.DOM.selectNodes(''//d:RepeatingTable'').length() if numRows >= 3 then Dim cellValue = thisXDocument.DOM.selectSingleNode(''//d:RepeatingTable['' & 3 & '']/@CellYouWant'')).text else ' Place logic here end if The trick is you could iterate through the entire rows ... Posted to Code (Forum) by nkelkar on 10-04-2005 Re: simple drop down box get value error I think I am ready to *** myself. In the database field was named as SubmitttedBy In my vbcode I was checking against SubmittedBy Notice a missing 't' Anyways here is the code thats working for me now <InfoPathEventHandler(MatchPath:=''BTN_TEST'', EventType:=InfoPathEventType.OnClick)> _ Public Sub ... Posted to Code (Forum) by nkelkar on 10-04-2005 Re: simple drop down box get value error Sorry, not working either. I have tried all possible pathnames, with all kinds of .nodename .nodetype .nodetypedvalue .nodetypestring .nodevalue - all without any success. The thing thats cra**ing out is check for Nothing, it Always is True, ie, the cVal is Always Nothing. Very Very strange. When I simply alert other form text box directly, ... Posted to Code (Forum) by nkelkar on 10-04-2005 simple drop down box get value error Within infopath form I have fields that are stored on the SQL Datbase. No problem. Using this assistance http://weblogs.asp.net/jan/archive/2004/03/16/90533.aspx I have a dropdown list of all the users of a Site bound to ''SubmittedBy''. (this dropdown list is an XML file) Now I have done a simple ''Test'' button (using vb.net) to Alert who the ... Posted to Code (Forum) by nkelkar on 10-04-2005 Page 1 of 2 (11 items) 1 2 Next > Copyright © 2003-2019 Qdabra Software. All rights reserved.View our Terms of Use.