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. C#
  4. Automatically Display Expire Date

Automatically Display Expire Date

Scheduled Pinned Locked Moved C#
question
4 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.
  • A Offline
    A Offline
    ASGill
    wrote on last edited by
    #1

    Hi, Im trying to implement a function where a message will pop up, say a week before a particular expiry date and every day after that, until the expiry date..can anyone tell me whats the best way to go around this..and is there a namespace to make this function easier? CODER

    C 1 Reply Last reply
    0
    • A ASGill

      Hi, Im trying to implement a function where a message will pop up, say a week before a particular expiry date and every day after that, until the expiry date..can anyone tell me whats the best way to go around this..and is there a namespace to make this function easier? CODER

      C Offline
      C Offline
      Colin Angus Mackay
      wrote on last edited by
      #2

      ASGill wrote: Im trying to implement a function where a message will pop up, say a week before a particular expiry date and every day after that, until the expiry date That is a bit vague. What is the mechanism for determining the expiry date. At what point is the message to pop-up? (Application start? Or is is supposed to sit in the background somewhere until it needs to display a reminder?) ASGill wrote: and is there a namespace to make this function easier? What do you mean by this? Do you mean is there a class to make this easier? Perhaps the System.Threading.Timer[^] class would be helpful.


      "If a man empties his purse into his head, no man can take it away from him, for an investment in knowledge pays the best interest." -- Joseph E. O'Donnell Can't manage to P/Invoke that Win32 API in .NET? Why not do interop the wiki way!

      A 1 Reply Last reply
      0
      • C Colin Angus Mackay

        ASGill wrote: Im trying to implement a function where a message will pop up, say a week before a particular expiry date and every day after that, until the expiry date That is a bit vague. What is the mechanism for determining the expiry date. At what point is the message to pop-up? (Application start? Or is is supposed to sit in the background somewhere until it needs to display a reminder?) ASGill wrote: and is there a namespace to make this function easier? What do you mean by this? Do you mean is there a class to make this easier? Perhaps the System.Threading.Timer[^] class would be helpful.


        "If a man empties his purse into his head, no man can take it away from him, for an investment in knowledge pays the best interest." -- Joseph E. O'Donnell Can't manage to P/Invoke that Win32 API in .NET? Why not do interop the wiki way!

        A Offline
        A Offline
        ASGill
        wrote on last edited by
        #3

        well the message is supposed to sit in the background and pops up when it needs to display a reminder. thx for the information abt the class...ill look into it. CODER

        R 1 Reply Last reply
        0
        • A ASGill

          well the message is supposed to sit in the background and pops up when it needs to display a reminder. thx for the information abt the class...ill look into it. CODER

          R Offline
          R Offline
          Roman Rodov
          wrote on last edited by
          #4

          Look up the System.PopupWindows.ExpiryDateNotifyBallon class

          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