input ini file text to infopath textbox - InfoPath Dev
in

InfoPath Dev

input ini file text to infopath textbox

Last post 02-01-2010 11:30 PM by Qazi Anis. 1 replies.
Page 1 of 1 (2 items)
Sort Posts: Previous Next
  • 02-01-2010 10:29 PM

    input ini file text to infopath textbox

    Hi Guys, I need to input a text from ini file to a textbox in my form. I managed to read the ini file using the code below

    string section="receiver";

    string key="name";

    string readinifile=Inireader.IniReadValue(section,key);

    but the problem is, after reading, i don't know the code to input the text into the textbox after reading. Can anyone help? thank you so much.

  • 02-01-2010 11:30 PM In reply to

    Re: input ini file text to infopath textbox

    XPathNavigator xnDoc = this.MainDataSource.CreateNavigator();

    xnDoc.SelectSingleNode("/my:myFields/my:textbox_name", this.NamespaceManager).SetValue(readinifile)

     

    Qazi Anis
    Technical Architect
    Bitwise Inc
Page 1 of 1 (2 items)
Copyright © 2003-2019 Qdabra Software. All rights reserved.
View our Terms of Use.