CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 4 of 4
  1. #1
    Join Date
    Mar 2000
    Location
    Arizona, USA
    Posts
    493

    Multithreading A Timer

    Can you multithread a timer in VB?
    If so can anyone tell me how to do this
    or provide some sample code?
    Thanks in advance!

    Kris
    Software Engineer
    Phoenix, AZ USA

  2. #2
    Join Date
    Apr 2000
    Posts
    737

    Re: Multithreading A Timer

    so far, I don't think vb support multithread until next version as we all know. however, you can create an activeX which contain a timer and raise an event when the timer trigger. you can program the activeX in vc which support multithreading and raise an event where vb can capture it.

    hope this help.

    cksiow
    http://vblib.virtualave.net - share our codes




  3. #3
    Join Date
    Apr 2000
    Location
    South Carolina,USA
    Posts
    2,210

    Re: Multithreading A Timer

    There is a recent offering on Http://Planet-Source-Code.com/vb that is supposed to show how to Multi-Thread using VB. Haven't tried it but it gets a very high rating from people that have. Can't get its actual address or name because PSC.com is broke right now. You might try searching o Multi-Threading or the like. Maybe look in recent postings or Newest/ Best categories

    John G

  4. #4
    Join Date
    Apr 2005
    Location
    INDIA
    Posts
    35

    Re: Multithreading A Timer

    I Think VB doesnt support that.

    U can use VC++ AfxBeginThread() to implement same very easily.

    Regards
    PS
    [email protected]

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured