CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 3 of 3
  1. #1
    Join Date
    Jun 2010

    Using Timer control in VB 6.0

    I have an application which uses Timer control.
    Every thing runs fine but when I click on windows cross button the application doesn't stop.
    Can somebody help with this ...
    I want the application to close when clicked on cross even while using the timer control.

  2. #2
    DataMiser is offline Super Moderator Power Poster
    Join Date
    Jul 2008

    Re: Using Timer control in VB 6.0

    A timer control normaly will not cause an issue. I have many projects that make use of timers for many reasons and all of them behave normally.

    You need to show us some code before we could offer any help on this matter.

    btw please use code tags when you post code
    Always use [code][/code] tags when posting code.

  3. #3
    Join Date
    Apr 2009

    Re: Using Timer control in VB 6.0

    Form unload or query unload timer1.enabled = false

    Good Luck

Tags for this Thread

Posting Permissions

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

Windows Mobile Development Center

Click Here to Expand Forum to Full Width

On-Demand Webinars (sponsored)

We have made updates to our Privacy Policy to reflect the implementation of the General Data Protection Regulation.