Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. Visual Basic
  4. Help Search Please

Help Search Please

Scheduled Pinned Locked Moved Visual Basic
csharpcomhelptutorial
3 Posts 2 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • F Offline
    F Offline
    FeRtoll
    wrote on last edited by
    #1

    Ok i have listbox and text box... If i type in textbox "Hell" then i want that it selects the first item in listbox that contains word "Hell" in item. So i go search... --------------------- | Hell | Search --------------------- Now i want that is selected first item that contains the word i searched... ---------------------------- | 32- Worms 2 | | 33- Worms 3 | | 34- Sims Vocation | | 35- Heaven and Hell | <- Selected | 36- 4x4 Evolution | ---------------------------- Then i search again... --------------------- | Hell | Search for next --------------------- Then i get other one that contains the searched world... ---------------------------- | 67- Max Payne2 | | 68- Return to Hell | <- Selected | 69- Red Faction2 | | 70- Civilization3 | | 71- Captain Claw | ---------------------------- If annyone knows how to do that please answer me please, please, please.... Thanks :doh:

    FeRtoll Software.net ------------ E-Mail me WebPage

    S 1 Reply Last reply
    0
    • F FeRtoll

      Ok i have listbox and text box... If i type in textbox "Hell" then i want that it selects the first item in listbox that contains word "Hell" in item. So i go search... --------------------- | Hell | Search --------------------- Now i want that is selected first item that contains the word i searched... ---------------------------- | 32- Worms 2 | | 33- Worms 3 | | 34- Sims Vocation | | 35- Heaven and Hell | <- Selected | 36- 4x4 Evolution | ---------------------------- Then i search again... --------------------- | Hell | Search for next --------------------- Then i get other one that contains the searched world... ---------------------------- | 67- Max Payne2 | | 68- Return to Hell | <- Selected | 69- Red Faction2 | | 70- Civilization3 | | 71- Captain Claw | ---------------------------- If annyone knows how to do that please answer me please, please, please.... Thanks :doh:

      FeRtoll Software.net ------------ E-Mail me WebPage

      S Offline
      S Offline
      sa Eish
      wrote on last edited by
      #2

      I hope this is usefull.:-D

          Private Function Search(ByVal _Listbox As ListBox, ByVal SearchText As String)
              Dim i As Integer
      

      Very simple, but it Works.... sometimes;P :zzz:

      F 1 Reply Last reply
      0
      • S sa Eish

        I hope this is usefull.:-D

            Private Function Search(ByVal _Listbox As ListBox, ByVal SearchText As String)
                Dim i As Integer
        

        Very simple, but it Works.... sometimes;P :zzz:

        F Offline
        F Offline
        FeRtoll
        wrote on last edited by
        #3

        not working buth thanks... :((

        FeRtoll Software.net ------------ E-Mail me WebPage

        1 Reply Last reply
        0
        Reply
        • Reply as topic
        Log in to reply
        • Oldest to Newest
        • Newest to Oldest
        • Most Votes


        • Login

        • Don't have an account? Register

        • Login or register to search.
        • First post
          Last post
        0
        • Categories
        • Recent
        • Tags
        • Popular
        • World
        • Users
        • Groups