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. textbox auto postback

textbox auto postback

Scheduled Pinned Locked Moved Visual Basic
question
5 Posts 3 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.
  • S Offline
    S Offline
    Sarfaraj Ahmed
    wrote on last edited by
    #1

    textbox name txtBarcode, when user will put 11 character then automatically it will call a function getbarcodeDetails(txtBarcode.text) How will i do it?

    Sarfarj Ahmed

    T 1 Reply Last reply
    0
    • S Sarfaraj Ahmed

      textbox name txtBarcode, when user will put 11 character then automatically it will call a function getbarcodeDetails(txtBarcode.text) How will i do it?

      Sarfarj Ahmed

      T Offline
      T Offline
      Taylor
      wrote on last edited by
      #2

      lots of ways... one of them is to get the length of the text with len function (vb6 and vb.net support) if the legnth was equal to 11 so it calls the function.

      A.E.K

      S 1 Reply Last reply
      0
      • T Taylor

        lots of ways... one of them is to get the length of the text with len function (vb6 and vb.net support) if the legnth was equal to 11 so it calls the function.

        A.E.K

        S Offline
        S Offline
        Sarfaraj Ahmed
        wrote on last edited by
        #3

        thanks for ur reply if txtBarcode.text.length = 11 then msgbox("Length is 11") end if so do i need to write down the code under txtBarcode? thanks

        Sarfarj Ahmed

        N 1 Reply Last reply
        0
        • S Sarfaraj Ahmed

          thanks for ur reply if txtBarcode.text.length = 11 then msgbox("Length is 11") end if so do i need to write down the code under txtBarcode? thanks

          Sarfarj Ahmed

          N Offline
          N Offline
          nishkarsh_k
          wrote on last edited by
          #4

          you have to put this code in key press even of the text box

          S 1 Reply Last reply
          0
          • N nishkarsh_k

            you have to put this code in key press even of the text box

            S Offline
            S Offline
            Sarfaraj Ahmed
            wrote on last edited by
            #5

            thanks I got it .

            Sarfarj Ahmed

            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