473,396 Members | 1,764 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.

development of the language

Could anyone please tell me
1) If control arrays may be reintroduced in a future
version of Visual Basic
2) If non-zero based arrays are likely to be reintroduced
3) If there is any way of getting a flat version of the
combobox, or image combobox control. I cannot understand
this striking omission from the properties of this control.

Regards
Doug
Nov 20 '05 #1
23 956
Hi,

1)
http://msdn.microsoft.com/library/de...et05132003.asp

3) Add image to combobox.
http://www.onteorasoftware.com/ComboBox.aspx#AnsCQ1

Ken
------------------------------

"Doug McLeod" <tu******@optusnet.com.au.REMOVETHIS> wrote in message
news:03****************************@phx.gbl...
Could anyone please tell me
1) If control arrays may be reintroduced in a future
version of Visual Basic
2) If non-zero based arrays are likely to be reintroduced
3) If there is any way of getting a flat version of the
combobox, or image combobox control. I cannot understand
this striking omission from the properties of this control.

Regards
Doug

Nov 20 '05 #2
1) Yes, they will be in the Whidbey release.
2) I don't think so (please correct me if I'm wrong!)
3) You'll have to use a 3rd party control. There are many of them:
http://www.google.be/search?hl=nl&ie...bobox+.net&met
a=
--
Greetz

Jan Tielens
________________________________
Read my weblog: http://weblogs.asp.net/jan
"Doug McLeod" <tu******@optusnet.com.au.REMOVETHIS> wrote in message
news:03****************************@phx.gbl...
Could anyone please tell me
1) If control arrays may be reintroduced in a future
version of Visual Basic
2) If non-zero based arrays are likely to be reintroduced
3) If there is any way of getting a flat version of the
combobox, or image combobox control. I cannot understand
this striking omission from the properties of this control.

Regards
Doug

Nov 20 '05 #3
"Doug McLeod" <tu******@optusnet.com.au.REMOVETHIS> schrieb
Could anyone please tell me
1) If control arrays may be reintroduced in a future
version of Visual Basic
As the others said: yes. I don't need them anymore.
2) If non-zero based arrays are likely to be reintroduced
I don't know. I hope they will - despite I unexpectedly lived quite will
with only-zero-based arrays.
3) If there is any way of getting a flat version of the
combobox, or image combobox control. I cannot understand
this striking omission from the properties of this control.


I don't like the flat style. Back to DOS.... (I know that's not what you
want to know)
--
Armin

http://www.plig.net/nnq/nquote.html
http://www.netmeister.org/news/learn2quote.html

Nov 20 '05 #4
"Armin Zingler" <az*******@freenet.de> schrieb
As the others said: yes. I don't need them anymore.


Clarification: I don't need _control arrays_ anymore, not "the others". :)
--
Armin

Nov 20 '05 #5
Cor
Hi Doug,

Just because my answer is another than from the others
2) If non-zero based arrays are likely to be reintroduced


As far as I know they did not disapear, you can use the arrays (the VB ones)
still from 1.
The vb collection you can only use from one.

Although I dont like that behaviour and I have seen a lot of crititique on
it and would be glad if it did not exist, it takes now some extra checking.

But if I am wrong, please correct me?

Cor
Nov 20 '05 #6
Thanks for pointing out that page and those "Adventure" articles. They are
VERY helpful.

Michael

"Ken Tucker [MVP]" <vb***@bellsouth.net> wrote in message
news:uj**************@TK2MSFTNGP11.phx.gbl...
Hi,

1)
http://msdn.microsoft.com/library/de...et05132003.asp
3) Add image to combobox.
http://www.onteorasoftware.com/ComboBox.aspx#AnsCQ1

Ken
------------------------------

"Doug McLeod" <tu******@optusnet.com.au.REMOVETHIS> wrote in message
news:03****************************@phx.gbl...
Could anyone please tell me
1) If control arrays may be reintroduced in a future
version of Visual Basic
2) If non-zero based arrays are likely to be reintroduced
3) If there is any way of getting a flat version of the
combobox, or image combobox control. I cannot understand
this striking omission from the properties of this control.

Regards
Doug


Nov 20 '05 #7
* "Doug McLeod" <tu******@optusnet.com.au.REMOVETHIS> scripsit:
1) If control arrays may be reintroduced in a future
version of Visual Basic
Yes.
2) If non-zero based arrays are likely to be reintroduced
I don't think so, but I hope they will be reintroduced.
3) If there is any way of getting a flat version of the
combobox, or image combobox control. I cannot understand
this striking omission from the properties of this control.


Samples at <http://www.codeproject.com> and
<http://www.vbaccelerator.com>.

--
Herfried K. Wagner [MVP]
<http://www.mvps.org/dotnet>
Nov 20 '05 #8
* "Cor" <no*@non.com> scripsit:
Just because my answer is another than from the others
2) If non-zero based arrays are likely to be reintroduced
As far as I know they did not disapear, you can use the arrays (the VB ones)
still from 1.


I don't understand what you want to tell us with this sentence.
The vb collection you can only use from one.

Although I dont like that behaviour and I have seen a lot of crititique on
it and would be glad if it did not exist, it takes now some extra checking.


What?

--
Herfried K. Wagner [MVP]
<http://www.mvps.org/dotnet>
Nov 20 '05 #9
In article <uO**************@TK2MSFTNGP09.phx.gbl>, Herfried K. Wagner [MVP] wrote:
* "Doug McLeod" <tu******@optusnet.com.au.REMOVETHIS> scripsit:


<snip>
2) If non-zero based arrays are likely to be reintroduced


I don't think so, but I hope they will be reintroduced.


Personally, I don't care if they do or not - but it is a matter of
implementation, not a limitation of the framework. Native .NET arrays
do allow arbitrary bounds. In fact, you can use arbitrary bounds in
VB.NET if your array has more then one dimension. I'm sure you realize
this, but I just thought I'd point it out. If people really want this
feature, then it shouldn't be all that difficult for MS to implement.
--
Tom Shelton
MVP [Visual Basic]
Nov 20 '05 #10
Doug,
2) If non-zero based arrays are likely to be reintroduced


In Whidbey you'll at least be able to explicitly specify that the
lower bound is zero with

Dim arr(0 To 9) As Integer

That's a start...

Mattias

--
Mattias Sjögren [MVP] mattias @ mvps.org
http://www.msjogren.net/dotnet/ | http://www.dotnetinterop.com
Please reply only to the newsgroup.
Nov 20 '05 #11
* Tom Shelton <to*@mtogden.com> scripsit:
2) If non-zero based arrays are likely to be reintroduced


I don't think so, but I hope they will be reintroduced.


Personally, I don't care if they do or not - but it is a matter of
implementation, not a limitation of the framework. Native .NET arrays
do allow arbitrary bounds. In fact, you can use arbitrary bounds in
VB.NET if your array has more then one dimension. I'm sure you realize
this, but I just thought I'd point it out. If people really want this
feature, then it shouldn't be all that difficult for MS to implement.


I remember the early VB.NET beta days when thousands of VB users wanted
arbitrary bounds back. They were told that this was not possible to
allow language interoperability, IMO a bad excuse.

--
Herfried K. Wagner [MVP]
<http://www.mvps.org/dotnet>
Nov 20 '05 #12
Uhm this may be a dumb comment but I thought that there was a Command
something like Option Exlicit that let array's be 0 or 1 based i'm not sure
of the Syntax though I'd have to look it up.

Although why would you want Arrays to be 1 based in every other lanuage they
are 0 based.
Mike Bulava

"Doug McLeod" <tu******@optusnet.com.au.REMOVETHIS> wrote in message
news:03****************************@phx.gbl...
Could anyone please tell me
1) If control arrays may be reintroduced in a future
version of Visual Basic
2) If non-zero based arrays are likely to be reintroduced
3) If there is any way of getting a flat version of the
combobox, or image combobox control. I cannot understand
this striking omission from the properties of this control.

Regards
Doug

Nov 20 '05 #13
"Herfried K. Wagner [MVP]" <hi***************@gmx.at> wrote...
I remember the early VB.NET beta days when thousands of VB users wanted
arbitrary bounds back. They were told that this was not possible to
allow language interoperability, IMO a bad excuse.


Gosh, thank goodness clearer heads prevailed :-) .Net is sold by virtue of
it having language interoperability, it's a key feature.

I seem to recall that the VB6 implementation didn't retain knowledge of the
"weird" numbering scheme when such an array was passed as a parameter to
another function. I could be remembering wrong but if that is the case then
it seems clear they are a horrible idea.

I can think of a single benefit to reintroducing them but why stop there...
how about even numbered elements only? How about negatively number element
arrays?

Clearly they will return (or not) due to the actions of MS not us, but I
wouldn't use them in any case.
Nov 20 '05 #14
Cor
> I don't understand what you want to tell us with this sentence.
The vb collection you can only use from one.


I thought you did know this.

http://msdn.microsoft.com/library/de...isualBasic.asp

Zero-Based and One-Based Collections
A collection is either zero-based or one-based, depending on what its
starting index is. As you might guess, the former means that the index of
the first item in the collection is zero, and the latter means that it is
one. An example of a zero-based collection is the Controls collection,
discussed above. An instance of the Collection object, also discussed above,
is an example of a one-based collection.

One-based collections are more intuitive to use, because the index ranges
from one to Count, where the Count property returns the number of items in a
collection. The index of a zero-based collection, by contrast, ranges from
zero to one less than the Count property.

The .NET Framework is standardizing collection as being zero-based. The
Visual Basic Collection class is one based primarily for the purpose of
compatibility with previous versions


Nov 20 '05 #15
In article <eL*************@tk2msftngp13.phx.gbl>, Tom Leylan wrote:
"Herfried K. Wagner [MVP]" <hi***************@gmx.at> wrote...

<snip>
Clearly they will return (or not) due to the actions of MS not us, but I
wouldn't use them in any case.


Me neither. I never used them in VB.CLASSIC - so I'm not about to start
now :) The only change I want made is to put the pre-beta2 declarations
back. You know, declaring the number of elements - not the upperbound.
Don't think that's going to happen though :(

--
Tom Shelton
MVP [Visual Basic]
Nov 20 '05 #16
In article <uT**************@TK2MSFTNGP11.phx.gbl>, Herfried K. Wagner [MVP] wrote:
* Tom Shelton <to*@mtogden.com> scripsit:
2) If non-zero based arrays are likely to be reintroduced

I don't think so, but I hope they will be reintroduced.


Personally, I don't care if they do or not - but it is a matter of
implementation, not a limitation of the framework. Native .NET arrays
do allow arbitrary bounds. In fact, you can use arbitrary bounds in
VB.NET if your array has more then one dimension. I'm sure you realize
this, but I just thought I'd point it out. If people really want this
feature, then it shouldn't be all that difficult for MS to implement.


I remember the early VB.NET beta days when thousands of VB users wanted
arbitrary bounds back. They were told that this was not possible to
allow language interoperability, IMO a bad excuse.


Well, yes and no. It seems to me that VB.NET has pretty much tried to
force CLS compliance - and non-zero based arrays are not, probably
because they don't exist in most languages. But, with the introduction
of unsigned types in Whidbey, they won't really have that excuse
anymore. The native array type, does support this.

--
Tom Shelton
MVP [Visual Basic]
Nov 20 '05 #17
* "Cor" <no*@non.com> scripsit:
The vb collection you can only use from one.


I thought you did know this.

http://msdn.microsoft.com/library/de...isualBasic.asp

Zero-Based and One-Based Collections
A collection is either zero-based or one-based, depending on what its
starting index is. As you might guess, the former means that the index of
the first item in the collection is zero, and the latter means that it is
one. An example of a zero-based collection is the Controls collection,
discussed above. An instance of the Collection object, also discussed above,
is an example of a one-based collection.

One-based collections are more intuitive to use, because the index ranges
from one to Count, where the Count property returns the number of items in a
collection. The index of a zero-based collection, by contrast, ranges from
zero to one less than the Count property.

The .NET Framework is standardizing collection as being zero-based. The
Visual Basic Collection class is one based primarily for the purpose of
compatibility with previous versions


ACK. IMO really silly. I would like to be all collections and arrays
1-based and I would like to specify the number of elements in the array
when declaring it instead of specifying the upper bound. VB.NET would
be much more intuitive...

--
Herfried K. Wagner [MVP]
<http://www.mvps.org/dotnet>
Nov 20 '05 #18
* Tom Shelton <to*@mtogden.com> scripsit:
Personally, I don't care if they do or not - but it is a matter of
implementation, not a limitation of the framework. Native .NET arrays
do allow arbitrary bounds. In fact, you can use arbitrary bounds in
VB.NET if your array has more then one dimension. I'm sure you realize
this, but I just thought I'd point it out. If people really want this
feature, then it shouldn't be all that difficult for MS to implement.


I remember the early VB.NET beta days when thousands of VB users wanted
arbitrary bounds back. They were told that this was not possible to
allow language interoperability, IMO a bad excuse.


Well, yes and no. It seems to me that VB.NET has pretty much tried to
force CLS compliance - and non-zero based arrays are not, probably
because they don't exist in most languages. But, with the introduction
of unsigned types in Whidbey, they won't really have that excuse
anymore. The native array type, does support this.


I hope it will only be a matter of time until arbitrary array bounds are
re-introduced.

;-)

--
Herfried K. Wagner [MVP]
<http://www.mvps.org/dotnet>
Nov 20 '05 #19
Cor
Hi Herfried

ACK. IMO really silly. I would like to be all collections and arrays
1-based and I would like to specify the number of elements in the array
when declaring it instead of specifying the upper bound. VB.NET would
be much more intuitive...


I don't and just because I dont like this
\\\
for index as integer = 1 to array-length
controlItem(index-1) = array.item(index)
next
///
Or do I understand you wrong?

Cor
Nov 20 '05 #20
"Cor" <no*@non.com> schrieb
for index as integer = 1 to array-length

I don't wanna be pedantic, but I think it is

... to array.length - 1

isn't it? :-)
--
Armin

Nov 20 '05 #21
Cor
Hi Armin,

I don't wanna be pedantic, but I think it is

... to array.length - 1

isn't it? :-)

I am smilling now, because I did this express even the - in array-length and
not a dot was express.

I used the word array to show that it is very disturbing when you do it with
an array and was hoping Herfried was giving a kind of comment you did.

When I had written first

dim myarray as vb-collection

You would not have written this message I think.

:-)))

Cor



Nov 20 '05 #22
"Cor" <no*@non.com> schrieb

I used the word array to show that it is very disturbing when you do
it with an array and was hoping Herfried was giving a kind of comment
you did.

When I had written first

dim myarray as vb-collection

You would not have written this message I think.

:-)))

Cor


I shouldn't jump into topics that I don't understand, or at least read the
thread more thoroughly... ;-(
--
Armin

Nov 20 '05 #23
* "Armin Zingler" <az*******@freenet.de> scripsit:
for index as integer = 1 to array-length

I don't wanna be pedantic, but I think it is

... to array.length - 1

isn't it? :-)


Cor starts the loop with 1.

;-)

--
Herfried K. Wagner [MVP]
<http://www.mvps.org/dotnet>
Nov 20 '05 #24

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

Similar topics

37
by: seberino | last post by:
I've been reading the beloved Paul Graham's "Hackers and Painters". He claims he developed a web app at light speed using Lisp and lots of macros. It got me curious if Lisp is inherently faster...
9
by: Olivier Gautier | last post by:
For UI development we need ideas to help us choose the preferred language (C# or VB.Net). Earlier with Visual Studio 6, VB used to be the preferred option for UI development and also for rapid...
4
by: Jared Thirsk | last post by:
== Introduction to DAF == I am interested in the next generation of approaches to software development. Over the last decades, there has been an obvious shift in how our most complex software...
8
by: whodunit | last post by:
What is the difference in development time, if you can use a rule of thumb, between ASP and ASP.NET? I have read many places that ASP.NET makes you more productive? Well, by how much? I hear...
4
by: Richard Levasseur | last post by:
(Forewarning, most of these problems and solutions come from being the only developer in a 1 server department with no budget, few resources, unresponsive IT, and non-technical managers, so thats...
4
by: MPA | last post by:
Hi, We are a small company with experience in client-server apps with PowerBuilder and most major databases. We have no internet experience. We are now looking into slimming our main application,...
9
by: pauldepstein | last post by:
The problem with learning from c++ texts is that the coding examples are very small. To prepare for a workplace setting, I would think a person needs access to huge coding projects that occur in...
31
by: walterbyrd | last post by:
"Once you start down the Dark path, forever will it dominate your desiny. Consume you, it will." - Yoda I'm fairly new to web-development, and I'm trying out different technologies. Some people...
7
by: Benjamin Vigneaux | last post by:
Well, I'm very interested in game development, I'm just starting out though, browsing here and there for tutorials, references, etc.. and learning about the game development industry... What...
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: 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...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
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:
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...
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...

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.