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

Very dumdum questions

Hi & TIA everyone

Q1 : Is there a way, at runtime, one may put Data in a ComboBox
permanently?

Q2 : Is there a maximum of item in ComboBox?

Q3 : What is the difference between LIST property and ITEM property?
Thanks
JMM
Jul 17 '05 #1
3 2721

"Miljours" <sr******@yahoo.ca> wrote

Q1 : Is there a way, at runtime, one may put Data in a ComboBox
permanently?
No. Like the program itself, data has to be stored somewhere. If its
not in the program when you compile it, then you will have to load it
from a file when the program runs.

Q2 : Is there a maximum of item in ComboBox?
Yes, but it is far larger than you should ever put in a list. It is not
an exact number, but can be dependant on the size of the items you add.
Do some tests to see if it will be enough....

Q3 : What is the difference between LIST property and ITEM property?


Of what? My combo boxes don't have an Item property.
The List property is an array of the items you have added to the 'list'.

LFS

-----= Posted via Newsfeeds.Com, Uncensored Usenet News =-----
http://www.newsfeeds.com - The #1 Newsgroup Service in the World!
-----== Over 100,000 Newsgroups - 19 Different Servers! =-----
Jul 17 '05 #2


Thank you Larry for rapid answers

In my comboboxes, i do have an ITEMDATA property and also a LIST property.
Both seems to me equivalents. I Havn't experienced these two yet.

Thanks (many)

JMM

"Larry Serflaten" <Ab***@SpamBusters.com> a écrit dans le message de
news:40**********@corp.newsgroups.com...

"Miljours" <sr******@yahoo.ca> wrote

Q1 : Is there a way, at runtime, one may put Data in a ComboBox
permanently?


No. Like the program itself, data has to be stored somewhere. If its
not in the program when you compile it, then you will have to load it
from a file when the program runs.

Q2 : Is there a maximum of item in ComboBox?


Yes, but it is far larger than you should ever put in a list. It is not
an exact number, but can be dependant on the size of the items you add.
Do some tests to see if it will be enough....

Q3 : What is the difference between LIST property and ITEM property?


Of what? My combo boxes don't have an Item property.
The List property is an array of the items you have added to the 'list'.

LFS

-----= Posted via Newsfeeds.Com, Uncensored Usenet News =-----
http://www.newsfeeds.com - The #1 Newsgroup Service in the World!
-----== Over 100,000 Newsgroups - 19 Different Servers! =-----

Jul 17 '05 #3

The List property is an array of strings. (to be displayed)

The ItemData property is an array of Longs. (to be used for identifying
List items in code)
You might use the ItemData property if several items in the list have the
same meaning. Or you might use the ItemData property if the user selects
an item which has some numeric meaning. It's there if you need it.

Don't put more than 32767 (the maximum integer value) items in a ListBox
or ComboBox. VB won't stop you from adding more, but some funny thing
happen. For example, if you add a few more items, the ListCount property
will return the wrong value. Certainly, if you have more items than this,
you should be using a String array, a temp file, or some other method.

I don't understand the first question. If your code doesn't have the
ability to remove items, then the items are permenant. (?)

On Mon, 5 Apr 2004 19:03:00 -0400, Miljours <sr******@yahoo.ca> wrote:
Hi & TIA everyone

Q1 : Is there a way, at runtime, one may put Data in a ComboBox
permanently?

Q2 : Is there a maximum of item in ComboBox?

Q3 : What is the difference between LIST property and ITEM property?
Thanks
JMM


Jul 17 '05 #4

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

Similar topics

5
by: hellrazor | last post by:
Hi there, First of all, I'm very much a C++ amateur (i.e., a newb). I'm having to program a win32 system service for my employer, and I'm almost done with the task, but I need help with...
21
by: Steve | last post by:
Hi, I have a form containing a lot of various forms objects (about 120-150). It takes about 10 minutes for the solution to load (only one project). If I modify the corresponding .h file and...
10
by: hn | last post by:
Hi all, I have to design a quiz page which includes up to 200 questions. What users do is they start the quiz, go to page1 with question1, enter some answers, click next to go page2 with...
1
by: HankG | last post by:
I use MS Access (W95 version on an XP computer) to create databases for my own use, and would like to develop a stand-alone version of one, which could be marketed to a specific group of...
16
by: nleahcim | last post by:
Hi - I am starting to look at doing something that I think will be amazingly difficult. I ideally would like to do this in C, as that is what I am best in. I can handle C++ but I am not particuarly...
3
by: thermate | last post by:
We give you the top links and material on the subject. THIS IS REAL SMOKING GUN !!! EVIDENCE: 911 was CONTROLLED DEMOLITION to make muslims 2nd class We have now video evidence that 911 was an...
1
by: rajesh.us.it.recruiter | last post by:
Hi Guys/Partners, We have a URGENT Requirement for Perl Programmer with H1 visa in India/US for one of our prestigious Client. Location : New Jersey Requirements : Should be very strong in...
52
by: robert | last post by:
I'm very pleased to announce that Foundations of F#, the first book to be published on the F# programming, will finish its first printing run, tomorrow, Friday 25th May. It should reach any...
1
by: Rik Wasmus | last post by:
On Tue, 17 Jun 2008 00:52:16 +0200, Twayne <nobody@devnull.spamcop.net> wrote: Euhm, no you can't. The only thing remotely close is something like: echo 'foo','bar'; .... which is nothing...
5
by: chrispoliquin | last post by:
I need to represent the hyperlinks between a large number of HTML files as a graph. My non-directed graph will have about 63,000 nodes and and probably close to 500,000 edges. I have looked...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
1
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 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 former...

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.