473,410 Members | 1,907 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,410 software developers and data experts.

Help with solution

I am a newbie, have a project that requires me to take
users input of "Name" and "Pieces Completed". I must as
the book requests, after inputting all the data, have a
label display the name of the user that produces the
most "Pieces Completed". I don't know how to perform
this, even if I had the name of this type of procedure it
would help. Thanks in advance.
Nov 20 '05 #1
3 1061
"Mike Busch" <wi******@bellatlantic.net> scripsit:
I am a newbie, have a project that requires me to take
users input of "Name" and "Pieces Completed". I must as
the book requests, after inputting all the data, have a
label display the name of the user that produces the
most "Pieces Completed". I don't know how to perform
this, even if I had the name of this type of procedure it
would help. Thanks in advance.


How do you store the (Name, Pieces Completed) pairs?

--
Herfried K. Wagner
MVP · VB Classic, VB.NET
<http://www.mvps.org/dotnet>
Nov 20 '05 #2
They are both Txt.Boxes, The Most earned is a Lbl. So
txt.Name and txt.PiecesCompleted need to have the
employee's name with the highest count of Pieces
Completed, display in the lblMostEarned. Thanks in
advance.
-----Original Message-----
"Mike Busch" <wi******@bellatlantic.net> scripsit:
I am a newbie, have a project that requires me to take
users input of "Name" and "Pieces Completed". I must as
the book requests, after inputting all the data, have a
label display the name of the user that produces the
most "Pieces Completed". I don't know how to perform
this, even if I had the name of this type of procedure it would help. Thanks in advance.


How do you store the (Name, Pieces Completed) pairs?

--
Herfried K. Wagner
MVP · VB Classic, VB.NET
<http://www.mvps.org/dotnet>
.

Nov 20 '05 #3
"Mike Busch" <wi******@bellatlantic.net> scripsit:
They are both Txt.Boxes, The Most earned is a Lbl. So
txt.Name and txt.PiecesCompleted need to have the
employee's name with the highest count of Pieces
Completed, display in the lblMostEarned. Thanks in
advance.


\\\
Private m_PiecesCompleted As Integer
..
..
..
Dim i As Integer = Integer.Parse(Me.TextBox1.Text)
If i > m_PiecesCompleted Then
m_PiecesCompleted = i
Me.lblMostEarned.Text = m_PiecesCompleted.ToString()
Me.lblName = Me.TextBox2.Text
Else
MsgBox("Not the best")
End If
///

--
Herfried K. Wagner
MVP · VB Classic, VB.NET
<http://www.mvps.org/dotnet>
Nov 20 '05 #4

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

Similar topics

2
by: Robert | last post by:
Ref. Windows 2000 proffessional 5.00.2195 Service pack 4 Internet explorer 6.0.2800.1106 Visual basic .NET Standard 2003 MSDN library for Visual Studio .NET 2003 Microsoft Data Access Component...
28
by: stu_gots | last post by:
I have been losing sleep over this puzzle, and I'm convinced my train of thought is heading in the wrong direction. It is difficult to explain my circumstances, so I will present an identical...
9
by: Daz | last post by:
Hello hello! I'm trying to finish off putting my design into HTML and I've come across a problem that I can't get my head around. I've got divs floating in two columns, but I'm having problems...
14
by: alwayshouston | last post by:
Hi All! I am working on this very small database and I am confused in the designing a simple form. I only have three tables in the database. First Table: tblExpense Columns: ExpenseID ;...
13
by: Brett Baisley | last post by:
At school, we do all of our coding in emacs, but I am trying to get the example apps working at home using Visual C++.net. In the example, there are 4 .cpp files (canvas.cpp, main.cpp,...
4
by: VicVic | last post by:
Dear Great Experts, I have a problem and need your help! We have a Flat DLL built in C++ (CCC), and on top of it, we built another DLL built in C# (SSS), which has .Net Assembly. CCC was...
13
by: sd00 | last post by:
Hi all, can someone give me some coding help with a problem that *should* be really simple, yet I'm struggling with. I need the difference between 2 times (Target / Actual) However, these times...
45
by: davy.zou | last post by:
I have started learning c++ and I need help. I need to write a program, the question is as follows. At a post office, there are a certain number of 2, 7, and 9cents stamps, now, given a total...
0
by: GroupReader | last post by:
We have a shared solution that is in VSS. The solution contains several projects in addition to the main website "project". The solution seems to work fine. All developers can open the solution...
5
by: JoeW | last post by:
Now before I go into detail I just want to say that this is purely for my own benefit and has no real world usage. I remember way back when the tool for *nix systems called forkbomb was created. I...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
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
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
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
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
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
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...
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.