Computing.Net > Forums > Programming > Timer problem in VB

Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.

Timer problem in VB

Reply to Message Icon

Name: henry_joshua
Date: August 31, 2005 at 21:31:18 Pacific
OS: Win XP
CPU/Ram: p4/512
Comment:

Dear Firends,
I am doing a complex calculation and I want to use a timer parallely. The thing is that the timer works only after the calculation gets over. It takes around 2 min for the calculation. Is it possible to make the timer work when the calculation is being done.

Thanx in advance

Joshua



Sponsored Link
Ads by Google

Response Number 1
Name: Chi Happens
Date: September 1, 2005 at 05:41:13 Pacific
Reply:

If this is VB .NET then you can simply create a thread to execute the calculations.

If this is VB6 you need to use the WinAPI CreateThread function.

Hope this helps,
Chi

They mostly come at night...mostly.


0

Response Number 2
Name: henry_joshua
Date: September 1, 2005 at 21:51:01 Pacific
Reply:

Dear Friend,
How do I use the Win API, if possible give me some help.

Thanx

Joshua


0

Response Number 3
Name: Chi Happens
Date: September 3, 2005 at 18:07:25 Pacific
Reply:

From within VB6 IDE you should be able to go to tools/add ins/add in manager and then load the WIN32API.txt file and type in CreateThread.

If you can't or won't do that, then google:

CreateThread API VB6

Chi

They mostly come at night...mostly.


0

Sponsored Link
Ads by Google
Reply to Message Icon

Related Posts

See More







Post Locked

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.


Go to Programming Forum Home


Sponsored links

Ads by Google


Results for: Timer problem in VB

my second problem in vb (no. 2) www.computing.net/answers/programming/my-second-problem-in-vb-no-2/4130.html

Select-case problem in VB.net www.computing.net/answers/programming/selectcase-problem-in-vbnet/11240.html

VB Problem in addNew www.computing.net/answers/programming/vb-problem-in-addnew/7183.html