Asynchronous programming via C# - InfoPath Dev
in

InfoPath Dev

Use our Google Custom Search for best site search results.

Asynchronous programming via C#

Last post 08-23-2017 11:57 PM by kromeda. 0 replies.
Page 1 of 1 (1 items)
Sort Posts: Previous Next
  • 08-23-2017 11:57 PM

    Asynchronous programming via C#

    Hello, question to c# users does anyone tryied to use async thread in InfoPath? So it can make heavy calculation work (or read data from db) in another thread? It doesn't look like form is "Not responsing" and all user controls become grey untill process is over. Here's simple example: XPathNavigator xp = MainDataSource.CreateNavigator(); string res = "Processing"; Task.Factory.StartNew(() => xp.SelectSingleNode("/my:myFields/my:status", NamespaceManager).SetValue(res)); when code is hit message appears "Microsoft.Office.InfoPath.Client.Internal.Host.Interop.pdb not loaded" and AccessVioletionException. So InfoPath is not familiar to this technology?
Page 1 of 1 (1 items)
Copyright © 2003-2018 Qdabra Software. All rights reserved.
View our Terms of Use.