Programmatically select all items in a multiple-selection list box - InfoPath Dev
in

InfoPath Dev

Use our Google Custom Search for best site search results.

Programmatically select all items in a multiple-selection list box

Last post 02-07-2012 10:08 AM by bush3102. 1 replies.
Page 1 of 1 (2 items)
Sort Posts: Previous Next
  • 11-14-2011 10:24 AM

    Programmatically select all items in a multiple-selection list box

    Hi, may I have help with the following?  I wish to select all items in a multiple selection list box by having the user click a button.  I followed the steps provided below in VB.   I have been getting an error when using the function, AddItem.  "Object reference not set to an instance of an object."  Any help, if allowed, would be great.  Thanks

    http://www.bizsupportonline.net/infopath2007/programmatically-select-all-items-multi-select-list-box.htm 

     

  • 02-07-2012 10:08 AM In reply to

    • bush3102
    • Not Ranked
      Male
    • Joined on 01-03-2012
    • Columbus, OH
    • Posts 4

    Re: Programmatically select all items in a multiple-selection list box

     I used this and it seemed to help.

     http://www.bizsupportonline.net/blog/2009/03/programmatically-retrieve-selected-items-multiple-selection-list-box-infopath/

     

    Use this URL to convert the C++ to VB.NET

     http://www.developerfusion.com/tools/convert/csharp-to-vb/

     

    Hope this helps.

    Filed under: ,
Page 1 of 1 (2 items)
Copyright © 2003-2019 Qdabra Software. All rights reserved.
View our Terms of Use.