473,385 Members | 2,014 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,385 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 1227
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
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
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
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
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...

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.