473,411 Members | 2,030 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,411 software developers and data experts.

VB 2010 Repeat (need help)

Hello everyone im newbie,

I have a question about vb2010.

I have a few timers and a few buttons. One button start, one button stop the program.
My timer works with this way:

Expand|Select|Wrap|Line Numbers
  1. Private Sub Timer1_Tick(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Timer1.Tick
  2.         SendKeys.Send("{1}")
  3.     End Sub
  4.     Private Sub Timer2_Tick(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Timer2.Tick
  5.         SendKeys.Send("{2}")
  6.     End Sub
Its mean if i click button 1, its click "1" with 2050 interval on my keyboard. and the second timer is click "2" with 2090 interval.
But if i didnt stop the program its being like lately. everytime i lose like 40 interval. Everytime its click the "1" 40 interval lately.
Can you recommend me a few code for repeat ? Its like the timers will stop automatically after 2090 interval, and will start automatically when its stop.
Feb 14 '15 #1
1 1346
Dear Noober,
You will have to be more descriptive in your asking.If you upload the .vb file (minus the non essential codes) it will be helpfull to answer.I can reprocess that .vb file at my end and achieve what you want.The file should have controls that will explain your problem.Otherwise answers also will be vague.It will become a vicious circle.
regards
Venkatraman
Mar 22 '15 #2

Sign in to post your reply or Sign up for a free account.

Similar topics

0
by: xunling | last post by:
i have a question about answering ..... this topic is "need help" what do i have to write at te topic line, !after i have klicked the "answer message" button ive tried many possibilities,...
2
by: ern | last post by:
My command-line application must be able to run text scripts (macros). The scripts have commands, comments, and flags. Comments are ignored (maybe they are any line beginning with " ; ") Commands...
10
by: ImortalSorrow | last post by:
Hey, I hope you can help me with a prog i'm making. Everything is working well except a part where i want to repeat the riddle if the answer isnt correct. here's the bit of the bode where i need help...
8
by: Freelancer71 | last post by:
I have a few projects to work on. I havent the time to complete them myself. If anyone is willing to work/help me I would appreciate it. email at f93c0532@yahoo.com Thanks
1
by: carter09 | last post by:
I need help writting a program. 1) Random string generation 2) no repeating letters Can anyone help me,please? I am so confused. The only problem is I have to use the code that is written...
0
by: danielmessick | last post by:
Hey all !! I'm having a frustrating time trying to create a particular Java applet for a class.. I have no clue how to accomplish this, and really need HELP.. Anyone, PLEASE help me if you can, any...
3
by: Gurunath Dhage | last post by:
Need help on access database design and queries Hi All, I’m working on a small project for loan Financial service company. I’m developing a Schedule Entry System . It has a Leasee who takes the...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.