how to set timer for different urls

Discussion in 'Questions (Windows Mobile)' started by Pratibha_Pillai, Aug 19, 2009.

  1. Hi,
    I am working on a windows mobile application(c#) which does the work of RSS feed reader.I have a form wherein I allow the user to enter a url and also a checkbox is there which says if the feeds need to be updated after every 5 minutes.

    1) I have implemented the same by using a timer for single subscribed url.(once subscribed the feeds are displayed in a treeview and after 5 mins thy are downloaded again).Can anyone provide me a sample code as to how can i set the timer for more than 1 subscibed url.Do we have to set different timer for each subscribed urls?

    code used for single subscribed url is:
    if (checkBox1.Checked)
    timerdownload = new Timer();
    timerdownload.Enabled = true;
    timerdownload.Interval = 300000;
    timerdownload.Tick += new EventHandler(timerdownload_Tick);
    Its an urgent requirement.Please provide pointers.
    Thanks in advance
  2. Erel

    Erel Administrator Staff Member Licensed User

    This is a forum for discussion of Basic4ppc issues, not C#.
  3. ExcludeReality

    ExcludeReality Active Member Licensed User

    Well, I think we can help him out anyways.
    Unfortunately I only have experience with C++ and web-based languages.

    I can suggest you post your question on Stack OverFlow.
    No signup is required to ask or answer there
  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice