Hi

Im new to VB. I am looking to write a basic code to do the following:

when a button is clicked, a valve has to close, after 5 seconds it has to open. This should be done 5 time, for every click.

Please help!

Thanks...

Recommended Answers

All 3 Replies

Hi, Use timer for this

> When a button is Clicked - Here Enable the Timer and Close the Valve
> After 5 Seconds (5000) - Disable the Timer and Open the Valve

Hi, Use timer for this

> When a button is Clicked - Here Enable the Timer and Close the Valve
> After 5 Seconds (5000) - Disable the Timer and Open the Valve

Ahh, i was late in post. Already answered by selvaganapathy :)

Hey thanks for the help....

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.