•
•
•
•
What is DaniWeb IT Discussion Community?
You're currently browsing the Visual Basic 4 / 5 / 6 section within the Software Development category of DaniWeb, a massive community of 456,196 software developers, web developers, Internet marketers, and tech gurus who are all enthusiastic about making contacts, networking, and learning from each other. In fact, there are 3,924 IT professionals currently interacting right now! Registration is free, only takes a minute and lets you enjoy all of the interactive features of the site.
Please support our Visual Basic 4 / 5 / 6 advertiser: Programming Forums
Views: 864 | Replies: 4
![]() |
•
•
Join Date: May 2007
Posts: 3
Reputation:
Rep Power: 0
Solved Threads: 0
Hi im new to VB and ive built a program that uses two timers to produce an osilating output..But i want to change the value of each timer INTERVAL prior to running the timers. Ive created two txt boxes to hold the timer interval times and a start button..It all works at the moment except the txt boxes..
•
•
Join Date: May 2007
Posts: 12
Reputation:
Rep Power: 2
Solved Threads: 1
This is a very simple process
all you have to do to change the interval is this.
for example
[code]frminput.timer1.interval=1000
frminput.timer2.interval=1000 [code]
all you have to do is put this code were you want it. ex command button or form load
just place it in the area you want.
also 1000 is = to 1sec in vb.
i hope this was of some help.
all you have to do to change the interval is this.
for example
[code]frminput.timer1.interval=1000
frminput.timer2.interval=1000 [code]
all you have to do is put this code were you want it. ex command button or form load
just place it in the area you want.
also 1000 is = to 1sec in vb.
i hope this was of some help.
Last edited by 2thestart : May 7th, 2007 at 5:55 pm.
•
•
Join Date: May 2007
Posts: 3
Reputation:
Rep Power: 0
Solved Threads: 0
•
•
•
•
This is a very simple process
all you have to do to change the interval is this.
for example
[code]frminput.timer1.interval=1000
frminput.timer2.interval=1000 [code]
all you have to do is put this code were you want it. ex command button or form load
just place it in the area you want.
also 1000 is = to 1sec in vb.
i hope this was of some help.
Thanks for you reply..if i wanted a txt box to set the interval timer i could just change the 1000 in your code to a variable ''say I''..Its a work in progress thought..lol
![]() |
•
•
•
•
•
•
•
•
DaniWeb Visual Basic 4 / 5 / 6 Marketplace
•
•
•
•
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
Similar Threads
- Visual Basic Timer/Clock/Countdown. (Visual Basic 4 / 5 / 6)
- Text Timer (Visual Basic 4 / 5 / 6)
- Timer Question (Visual Basic 4 / 5 / 6)
Other Threads in the Visual Basic 4 / 5 / 6 Forum
- Previous Thread: Table not displayed in DataGrid
- Next Thread: Need help


Linear Mode