Results 1 to 4 of 4

Thread: Text data to Listview.

  1. #1

    Thread Starter
    Junior Member
    Join Date
    Sep 2008
    Posts
    29

    Text data to Listview.

    Okay lets say I load a listview of items in a .text file with a string split.

    Eg in txt file:

    word1 - word2

    so listview1 would be word 1
    and listview2 would be word2

    Then if it fails to sign in to the account it adds the data to text1 and text2.

    So text1 becomes word1 and text2 becomes word2.

    How do i then transfer text1.text to listview3?

    ive tried:

    Code:
    ListView3.ListItems.Add , Text1.Text
    Code:
    ListView3.ListItems.Add (Text1.Text)
    Cheers (H) Ben

  2. #2

    Thread Starter
    Junior Member
    Join Date
    Sep 2008
    Posts
    29

    Re: Text data to Listview.

    ?

  3. #3
    I'm about to be a PowerPoster! Joacim Andersson's Avatar
    Join Date
    Jan 1999
    Location
    Sweden
    Posts
    14,649

    Re: Text data to Listview.

    ListView3.ListItems.Add Text:=Text1.Text

  4. #4
    Freelancer akhileshbc's Avatar
    Join Date
    Jun 2008
    Location
    Trivandrum, Kerala, India
    Posts
    7,652

    Re: Text data to Listview.

    Code:
    ListView3.ListItems.Add , , Text1.Text
    Will this help you..???

    If my post was helpful to you, then express your gratitude using Rate this Post.
    And if your problem is SOLVED, then please Mark the Thread as RESOLVED (see it in action - video)
    My system: AMD FX 6100, Gigabyte Motherboard, 8 GB Crossair Vengance, Cooler Master 450W Thunder PSU, 1.4 TB HDD, 18.5" TFT(Wide), Antec V1 Cabinet

    Social Group: VBForums - Developers from India


    Skills: PHP, MySQL, jQuery, VB.Net, Photoshop, CodeIgniter, Bootstrap,...

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width