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. hi!!

hi!!

Scheduled Pinned Locked Moved Visual Basic
7 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.
  • V Offline
    V Offline
    vishalmishra
    wrote on last edited by
    #1

    i want to know if it is possible to set a timer to display a label for a while depending on the interval we set. and when the interval ends , show up another label object.

    R 1 Reply Last reply
    0
    • V vishalmishra

      i want to know if it is possible to set a timer to display a label for a while depending on the interval we set. and when the interval ends , show up another label object.

      R Offline
      R Offline
      rudy net
      wrote on last edited by
      #2

      Use the Timer class in System.Threading namespace.

      V 1 Reply Last reply
      0
      • R rudy net

        Use the Timer class in System.Threading namespace.

        V Offline
        V Offline
        vishalmishra
        wrote on last edited by
        #3

        i tried using it. but slightly confused here as which member property to use.... can u send me a sample code...

        R 1 Reply Last reply
        0
        • V vishalmishra

          i tried using it. but slightly confused here as which member property to use.... can u send me a sample code...

          R Offline
          R Offline
          rudy net
          wrote on last edited by
          #4

          Since you are using Windows Forms in your code then I guess it's easier if you use the System.Windows.Forms.Timer class. You can view an example at: http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpref/html/frlrfsystemwindowsformstimerclasstopic.asp[^]

          V R 2 Replies Last reply
          0
          • R rudy net

            Since you are using Windows Forms in your code then I guess it's easier if you use the System.Windows.Forms.Timer class. You can view an example at: http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpref/html/frlrfsystemwindowsformstimerclasstopic.asp[^]

            V Offline
            V Offline
            vishalmishra
            wrote on last edited by
            #5

            well... i am not using window forms...but asp.net web application... so... how to do in that .... pliz suggest...

            D 1 Reply Last reply
            0
            • R rudy net

              Since you are using Windows Forms in your code then I guess it's easier if you use the System.Windows.Forms.Timer class. You can view an example at: http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpref/html/frlrfsystemwindowsformstimerclasstopic.asp[^]

              R Offline
              R Offline
              rudy net
              wrote on last edited by
              #6

              In that case it sounds like you need a banner (also called AdRotator). You should be able to get plenty of code examples if you post your question in the asp.net forum.

              1 Reply Last reply
              0
              • V vishalmishra

                well... i am not using window forms...but asp.net web application... so... how to do in that .... pliz suggest...

                D Offline
                D Offline
                Dave Kreskowiak
                wrote on last edited by
                #7

                In that case, you're going to have to ask in the ASP.NET Forum. But, ASP.NET won't do this, since it is a server-side technology that generates HTML for browsers. What you want to do is entirely client-side and hence will have to be written in JavaScript. RageInTheMachine9532 "...a pungent, ghastly, stinky piece of cheese!" -- The Roaming Gnome

                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