473,669 Members | 2,414 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

count down multiple textboxes

hallow

i have the folowing code to add somme textboxes
comboboxes and checkboxes

Private Sub Button1_Click_1 (ByVal sender As System.Object, ByVal e As
System.EventArg s) Handles Button1.Click

ControlCount = ControlCount + 1

Dim check As New CheckBox()

check.Name = "checkonoff "

check.Location = New Point(m_Locatio n.X + 150, m_Location.Y - 3)

check.Size = New Size(30, 30)

Controls.Add(ch eck)

Dim combo As New ComboBox()

combo.Text = "1"

combo.Name = "combochan"

combo.Location = New Point(m_Locatio n.X + 180, m_Location.Y)

combo.Size = New Size(60, 20)

For inti = 1 To 16

Select Case dchanState(inti )

Case "Output"

combo.Items.Add (inti)

End Select

Next inti

Controls.Add(co mbo)

Dim text As New TextBox()

text.Text = "0"

text.Name = "txtvalue"

text.Location = New Point(m_Locatio n.X + 250, m_Location.Y)

text.Size = New Size(70, text.Height)

Controls.Add(te xt)

m_Location.Y = m_Location.Y + text.Height + 5

End Sub

Private Sub Button3_Click(B yVal sender As System.Object, ByVal e As
System.EventArg s) Handles Button3.Click

If Button3.Text = "Start" Then

Button3.Text = "Stop"

Button3.ImageIn dex = 8

Timer1.Enabled = True

Timer1.Interval = 1000

ElseIf Button3.Text = "Stop" Then

Button3.Text = "Start"

Button3.ImageIn dex = 0

Timer1.Enabled = False

End If

End Sub

Private Sub Timer1_Tick(ByV al sender As System.Object, ByVal e As
System.EventArg s) Handles Timer1.Tick

'txtvalue.text = txtvalue - 1

End Sub

when i add for example 100 textboxes

how can i make the text of all textboxes countdown per second with 1 timer

something like the above example
Nov 21 '05 #1
2 1039
Maarten,

You have placed a lot of questions in this newsgroup with a lot of follow
up.

Do you read those answers? Because you don't confirm that.

Please confirm if answers fit and as well when not.

That feed back helps to make the answers more trustable for others who
search this newsgroup.

Cor
Nov 21 '05 #2

yes i do read them all, they al have helped me a lot.

indeed as you say i do not confirm them all sorry for that.

i wil confirm them all in the futere.

greets Maarten

"Cor Ligthert" <no************ @planet.nl> wrote in message
news:Oi******** ******@TK2MSFTN GP15.phx.gbl...
Maarten,

You have placed a lot of questions in this newsgroup with a lot of follow
up.

Do you read those answers? Because you don't confirm that.

Please confirm if answers fit and as well when not.

That feed back helps to make the answers more trustable for others who
search this newsgroup.

Cor

Nov 21 '05 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

7
4071
by: Drew | last post by:
I have a db table like the following, UID, int auto-increment RegNo Person Relation YearsKnown Now here is some sample data from this table,
9
10837
by: Terry E Dow | last post by:
Howdy, I am having trouble with the objectCategory=group member.Count attribute. I get one of three counts, a number between 1-999, no member (does not contain member property), or 0. Using LDIFDE as a comparison I get the same results. No members means just that, an empty group. Zero means that the DirectorySearcher.SizeLimit has been exceeded....
4
8442
by: M O J O | last post by:
Hi, I'm using a RichTextBox with WordWrap=True and MultiLine=False. When the text is to long, it fills more lines. How do I get the number of lines the text uses? Thanks!
19
9074
by: nazgulero | last post by:
Hello all, I wonder if anybody can give me a hint about what I have to do to get this working: I am creating a drop down box using the script below. The result is two text fields; now I want to pass those values, which come from the drop down box, to the next page. The next page should then simply look like this:
10
1939
by: Marc R. | last post by:
Hi all, I edit records using a form that have multiple control bind on Dataview, But I don't want to update right always to database, I would like to delay until all Changes (add all new record using a form or edit various existing records) This way I could minimize transaction on server..
1
5062
by: sparksol | last post by:
I have a form with a drop down box. If you select an option in the drop down box (depending which option is selected) one or two textbox(es) and a submit button display. I would like to keep the textbox(es) and the submit button showing until another option is selected. Also the data that's submitted is showing on the form page. Here's an example - I need the code below to do this: 1. I go to the page - I see a drop down box. 2. I...
2
1444
by: ajaymohank | last post by:
Hello friends.......... i have 3 dropdown in my project, in which 3 of them are linked with each other. ie.... i select a value from the 1st drop down and based on that value, the corresponding values will be displayed in the 2nd drop down and based on the value selected from the 2nd dropdown the corresponding value will be displayed in the 3rd dropdown. the problem is that in my page ,there are textboxes for entering name,date,phno...
3
11990
by: pipeme | last post by:
Hi I am using Access 2003 and I have a form with 120 textboxes in a grid layout. Depending on a selection made in a combo box, I want to change the visibility of certain textboxes in the grid. This is easy enough to do as a one-by-one basis but due to the number of textboxes I need to change I am wondering if there is a way I can make it hide a group of these boxes all at once? For example, I group textboxes 1-11 and 30-40 as GroupA and...
3
2975
by: cubekid | last post by:
Dev't Tool: Visual C# 2003 and Javascript System Type: Web Application One requirement of the system is to dynamically create a table on client-side (Javascripting using createElement method.) The table has textboxes inside each cell. a few sample code: for (i = 0; i < 4; i ++) // four columns { textBoxes = document.createElement("INPUT");
0
8465
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, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
8894
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, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
8658
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 protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
1
6210
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
5682
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 then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
4206
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
4384
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
2792
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
2029
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

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.