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

list box items as input

in VB .net

how do I arrange that the items in a list box will be used in
calculations in a formula,

thanks in advance

Nov 22 '05 #1
8 1229
Cor
Hi Portroe,

Let the user select the row(s) and calculate with the item(s) the user has
selected.

That can with the click event from a button (multiselect) or just with an
event from the listbox, by example selected itdex changed

I hope this helps a little bit.

Cor

how do I arrange that the items in a list box will be used in
calculations in a formula,

Nov 22 '05 #2
Cor
Hi Portroe,

Let the user select the row(s) and calculate with the item(s) the user has
selected.

That can with the click event from a button (multiselect) or just with an
event from the listbox, by example selected itdex changed

I hope this helps a little bit.

Cor

how do I arrange that the items in a list box will be used in
calculations in a formula,

Nov 22 '05 #3
Hi Cor,

can you possbly do this with a for... next loop, item by item?

thanks

Portroe

Cor wrote:
Hi Portroe,

Let the user select the row(s) and calculate with the item(s) the user has
selected.

That can with the click event from a button (multiselect) or just with an
event from the listbox, by example selected itdex changed

I hope this helps a little bit.

Cor

how do I arrange that the items in a list box will be used in
calculations in a formula,



Nov 22 '05 #4
Hi Cor,

can you possbly do this with a for... next loop, item by item?

thanks

Portroe

Cor wrote:
Hi Portroe,

Let the user select the row(s) and calculate with the item(s) the user has
selected.

That can with the click event from a button (multiselect) or just with an
event from the listbox, by example selected itdex changed

I hope this helps a little bit.

Cor

how do I arrange that the items in a list box will be used in
calculations in a formula,



Nov 22 '05 #5
Cor
Hi Portroe,

I thought yes in a multiselect, therefore you can have to look for the
selectedItems property

Cor

can you possbly do this with a for... next loop, item by item?

Nov 22 '05 #6
Cor
Hi Portroe,

I thought yes in a multiselect, therefore you can have to look for the
selectedItems property

Cor

can you possbly do this with a for... next loop, item by item?

Nov 22 '05 #7
my problem is selecting the items which are sitting in a listbox,

I then want process each item inside a for... next loop to , with a
formula, placing each result in the next list box,

thanks

portroe

Herfried K. Wagner [MVP] wrote:
* portroe <bo*@sleigh.com> scripsit:
how do I arrange that the items in a list box will be used in
calculations in a formula,

What's your exact problem? Selecting the items, calculating, ...?


Nov 22 '05 #8
my problem is selecting the items which are sitting in a listbox,

I then want process each item inside a for... next loop to , with a
formula, placing each result in the next list box,

thanks

portroe

Herfried K. Wagner [MVP] wrote:
* portroe <bo*@sleigh.com> scripsit:
how do I arrange that the items in a list box will be used in
calculations in a formula,

What's your exact problem? Selecting the items, calculating, ...?


Nov 22 '05 #9

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

Similar topics

3
by: Simon | last post by:
Hi, I'm hoping you could show me examples of how a functional/declarative language could be used to consicely describe resticted subsets of elements. I'm looking for a 'specification' style...
1
by: NickB | last post by:
Please could someone tell me what is wrong. Ther error is: An unhandled exception of type 'System.NullReferenceException' occurred in microsoft.visualbasic.dll Additional information: Object...
6
by: massimo | last post by:
Hey, I wrote this program which should take the numbers entered and sort them out. It doesnąt matter what order, if decreasing or increasing. I guess I'm confused in the sorting part. Anyone...
4
by: Rick | last post by:
I want to add items to a list and then submit these items via POST in a form. Below is my code and it adds the items fine but they are not selected when I submit the form how can I have them all...
3
by: Jeremy Owens-Boggs | last post by:
We are trying to implement a dual list box selection where you have two list boxes, You highlight items in the right side list box, click a button and this moves those items over to the left hand...
3
by: Kriston-Vizi Janos | last post by:
Dear Mr. Kern, and Members, Thank you very much for the fast answer, my question became over-simplified. My source code is appended below. It uses two text files (L.txt and GC.txt) as input...
1
by: puja | last post by:
hi all, I have a form which has checkbox list which has items as below 1) Input 1 2) Input 2 3) Input 3 4) Input 4 5) Input 5
6
by: Michael McGarry | last post by:
Hi, Please excuse me if this is not the right forum for this question. I would like to create a random permutation of a list of numbers. How can I do this in C? I was just going to draw a...
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...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
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
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,...

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.