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. Web Development
  3. ASP.NET
  4. Application.DoEvents in ASP.Net?

Application.DoEvents in ASP.Net?

Scheduled Pinned Locked Moved ASP.NET
csharpasp-nethelpquestionlearning
5 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.
  • M Offline
    M Offline
    Mei Yoong
    wrote on last edited by
    #1

    Dear All, I'm a beginner in ASP.Net and was building a asp.net application. Just wanna to ask is there any commands or functions in asp.net which can act similiarly like Application.DoEvents in windows programming? Please help. Thanks!

    S M 2 Replies Last reply
    0
    • M Mei Yoong

      Dear All, I'm a beginner in ASP.Net and was building a asp.net application. Just wanna to ask is there any commands or functions in asp.net which can act similiarly like Application.DoEvents in windows programming? Please help. Thanks!

      S Offline
      S Offline
      safat
      wrote on last edited by
      #2

      You can use client scripts i.e., java script to execute the applications by using var wshShell = new ActiveXObject("WScript.Shell"); object. :mad:

      Sathik

      1 Reply Last reply
      0
      • M Mei Yoong

        Dear All, I'm a beginner in ASP.Net and was building a asp.net application. Just wanna to ask is there any commands or functions in asp.net which can act similiarly like Application.DoEvents in windows programming? Please help. Thanks!

        M Offline
        M Offline
        Mei Yoong
        wrote on last edited by
        #3

        Actually my web application is link to a scanner where tags/bar code goes over the scanner, the tag number will be display in a listbox. There are a DO loop in the program checking whether any tags had been scanned. If yes, the program will display the tag in a listbox. Else the program will continue to loop till the user press stop scan. At first i thought in web application, there is functions such as Application.DoEvents which will process the event once it detect user input. Any idea on how to display tag numbers which were scanned and display it in the list box on shot without refresh the page? Please help. Thanks alot.

        S 1 Reply Last reply
        0
        • M Mei Yoong

          Actually my web application is link to a scanner where tags/bar code goes over the scanner, the tag number will be display in a listbox. There are a DO loop in the program checking whether any tags had been scanned. If yes, the program will display the tag in a listbox. Else the program will continue to loop till the user press stop scan. At first i thought in web application, there is functions such as Application.DoEvents which will process the event once it detect user input. Any idea on how to display tag numbers which were scanned and display it in the list box on shot without refresh the page? Please help. Thanks alot.

          S Offline
          S Offline
          safat
          wrote on last edited by
          #4

          You can use a client control or server control with client script to achieve this by using AJAX

          :mad:
          Sathik

          M 1 Reply Last reply
          0
          • S safat

            You can use a client control or server control with client script to achieve this by using AJAX

            :mad:
            Sathik

            M Offline
            M Offline
            Mei Yoong
            wrote on last edited by
            #5

            Dear Sathik, Thanks for your reply. I try using AJAX in my application but i face another problem. Is it anyway for me to execute some functions under the button.click event before calling the client script functions using Ajax? Thansk in advance.

            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