Search - InfoPath Dev

InfoPath Dev

Search

Page 1 of 1 (6 items)
  • Re: Time Calculations

    you may've already thought of this, and i'm not sure what environment you're using, but do you know about the system.Datetime object? As long as you're working with Microsoft I'd think you'd have it available to you. Here's a link with some documentation on it. If you have to do math with dates and times using a pre-made object is the only way ...
    Posted to Code (Forum) by DuneBug on 02-16-2007
  • Re: Using the "IsNothing" keyword

    I don't know what coding interface you are using (VB.net or the built-in infopath script. you might try this: dim obj as object if not obj is nothing then ' do blah end if ''Is'' is the comparison operator for reference types. Using it is the same thing as saying ''if obj = nothing'' except since obj and nothing are both reference types the ...
    Posted to Code (Forum) by DuneBug on 02-16-2007
  • Re: Weird semitrust/security error

    yes there's plenty of code in both forms. We think it's a problem with security certificates and my status as a trusted publisher. But if that's so, I still don't understand why it would work sometimes and not work others. It's the same path of execution each time with nearly the same parameters.
    Posted to General (Forum) by DuneBug on 02-16-2007
  • Weird semitrust/security error

    i have an infopath form load up forms from 2 different templates.. Using the line: thisApplication.XDocuments.NewFromSolution(path) path is a variable containing the URI. The error is this: System.Runtime.InteropServices.COMException InfoPath cannot create a new, blank form. InfoPath cannot load this form. The signature on this form is not from ...
    Posted to General (Forum) by DuneBug on 02-13-2007
  • Re: Problems with a repeating table:

    'Code to traverse Table and append to a string: Dim oNodeList As IXMLDOMNodeList Dim oNode As IXMLDOMNode Dim item As IXMLDOMNode Dim output As String Dim xpath As String = ''dfs:myFields/dfs:dataFields/d:table/d:foreignkeytable'' Dim k As Int16 = 0 oNodeList = thisXDocument.DOM.selectNodes(xpath) If (oNodeList.length > 0) Then For Each ...
    Posted to Code (Forum) by DuneBug on 12-21-2006
  • Problems with a repeating table:

    First off: I'm running IP2003 with VS.net 2003 I have a repeating table bound to a table in my Main Data Connection. I created a custom select statement that gets all the rows where id = N. The select statement works, and the fields fill auto-magically. The problem comes when I try to read these fields with code: Fields that have an empty ...
    Posted to Code (Forum) by DuneBug on 12-15-2006
Page 1 of 1 (6 items)
Copyright © 2003-2019 Qdabra Software. All rights reserved.
View our Terms of Use.