Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7814681
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 2, 20262026-06-02T05:16:14+00:00 2026-06-02T05:16:14+00:00

I am working on a class library that tracks transit vehicles in close to

  • 0

I am working on a class library that tracks transit vehicles in close to real time using GPS lat/long co-ordinates.

The library gets the vehicles positions from a rest XML web service provided by the transit service. I want the vehicle coordinates to automatically update them selves without having to manually call and update them through a refresh method in my application. The class should automatically update itself with the latest data and raise an event when it updates.

Is it possible to auto refresh the data on a timer inside of an object using a timed event or is this not possible with out running a message pump within the class

I apologize if there is an existing question for this type of thing but if there is I couldn’t find it using Google or the site search.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-02T05:16:17+00:00Added an answer on June 2, 2026 at 5:16 am

    You can use a System.Threading.Timer. It doesn’t need a message loop as it “Ticks” on thread pool threads. That does mean you’ll have to marshal back to the UI thread to update the UI.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I am working on a class library using C#. I have designed 3 main
I am working on a class library that retrieves information from a third-party web
I'm working on a C# class library that needs to be able to read
I have a class Vector<T> , and am using a library that provides a
I have a class library that I created using the Class Library project template.
I'm working with a C++ class-library that provides a Thread base-class where the user
I am working in a project that has two main parts: a class library
Hi i'm working in a class library using C#, and i have some classes
I'm working on a small class library at work, and it naturally involves using
I'm working in a class library and there are other source projects associated with

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.