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

My suggestion for VB wishlist

Is there any emil alias for sending suggestions for new VB features ?
Here's one. I wish there was a keyword like AbsoluteNamespace.
The reason is recurring on my projects. I usually set the Root Namespace
project property because it simplifies changing it later. My problem happens
when I have to define a type that will not be anywhere under that root
namespace, then I cannot define it in another namespace without removing the
Root Namespace setting and changing ALL the files in the project to be
contained in the original root namespace.
The Namespace keyword creates a Sub-namespace under the root namespace, I
wis I could create a type in a totally different namespace. something like:

'project Root Namespace: MyProj
Namespace OtherProj
Public Class C1
'MyProj.OtherProj.C1
End Class
End Namespace

'wish!
AbsoluteNamespace MyOtherNamespace 'or Absolute Namespace MyOtherNamespace
Public Class C1
'MyOtherNamespace.C1 -- GREAT!!!
End Class
End AbsoluteNamespace 'or End Namespace
--
TJoker
MVP: Paint, Notepad, Solitaire

****************************************


Nov 20 '05 #1
4 1205
Hi TJoker,

Then that throws the root namespace idea out the window... You can't define
anything under the root namespace anyways, even with other languages because
then you no longer have that root namespace.

--
HTH,
-- Tom Spink, Über Geek

Please respond to the newsgroup,
so all can benefit

" System.Reflection Master "

==== Converting to 2002 ====
Remove inline declarations
"TJoker .NET [MVP]" <no****@nonono.no> wrote in message
news:e4**************@TK2MSFTNGP10.phx.gbl...
Is there any emil alias for sending suggestions for new VB features ?
Here's one. I wish there was a keyword like AbsoluteNamespace.
The reason is recurring on my projects. I usually set the Root Namespace
project property because it simplifies changing it later. My problem happens when I have to define a type that will not be anywhere under that root
namespace, then I cannot define it in another namespace without removing the Root Namespace setting and changing ALL the files in the project to be
contained in the original root namespace.
The Namespace keyword creates a Sub-namespace under the root namespace, I
wis I could create a type in a totally different namespace. something like:
'project Root Namespace: MyProj
Namespace OtherProj
Public Class C1
'MyProj.OtherProj.C1
End Class
End Namespace

'wish!
AbsoluteNamespace MyOtherNamespace 'or Absolute Namespace MyOtherNamespace
Public Class C1
'MyOtherNamespace.C1 -- GREAT!!!
End Class
End AbsoluteNamespace 'or End Namespace
--
TJoker
MVP: Paint, Notepad, Solitaire

****************************************

Nov 20 '05 #2
try ms****@microsoft.com

This group is also monitored by both MVPs and Microsoft employees that will
pass items along, if they think they have merit. The above address is a more
direct link, per:

http://support.microsoft.com/default...NoWebContent=1

--
Gregory A. Beamer
MVP; MCP: +I, SE, SD, DBA

************************************************** ********************
Think Outside the Box!
************************************************** ********************
"TJoker .NET [MVP]" <no****@nonono.no> wrote in message
news:e4**************@TK2MSFTNGP10.phx.gbl...
Is there any emil alias for sending suggestions for new VB features ?
Here's one. I wish there was a keyword like AbsoluteNamespace.
The reason is recurring on my projects. I usually set the Root Namespace
project property because it simplifies changing it later. My problem happens when I have to define a type that will not be anywhere under that root
namespace, then I cannot define it in another namespace without removing the Root Namespace setting and changing ALL the files in the project to be
contained in the original root namespace.
The Namespace keyword creates a Sub-namespace under the root namespace, I
wis I could create a type in a totally different namespace. something like:
'project Root Namespace: MyProj
Namespace OtherProj
Public Class C1
'MyProj.OtherProj.C1
End Class
End Namespace

'wish!
AbsoluteNamespace MyOtherNamespace 'or Absolute Namespace MyOtherNamespace
Public Class C1
'MyOtherNamespace.C1 -- GREAT!!!
End Class
End AbsoluteNamespace 'or End Namespace
--
TJoker
MVP: Paint, Notepad, Solitaire

****************************************

Nov 20 '05 #3
Maybe I didn't make myself clear. I do like the root namespace idea.
Currently if you set the root namespace and use the Namespace block in you
code you are actually defining a namespace under the root, like my
MyProj.OtherProj.C1 example below.
I like defining most of my types without specifying a namespace and knowing
that they'll all be under the root namespace and that I can change the root
namespace and recompile my library before the release anytime some manager
or architect decides that the namespace needs to be renamed because the
product name has changed or some other excuse.
I still want that but I can see a lot of value in being able to define some
minority of the types in my assembly in a totally different namespace. For
example if you look at the system.Data assembly you'll notice that it has
the type System.Xml.XmlDataDocument (as opposed to
System.Data.Xml.XmlDataDocument).
I'd like to do the same without any major hassle like editing all existing
files that do not have a Namespace block (I'll have to do that if I remove
the Root Namespace setting).
--
TJoker, MCSD.NET
MVP: Paint, Notepad, Solitaire

****************************************
"Tom Spink" <th**********@ntlworld.com> wrote in message
news:Ob**************@TK2MSFTNGP10.phx.gbl...
Hi TJoker,

Then that throws the root namespace idea out the window... You can't define anything under the root namespace anyways, even with other languages because then you no longer have that root namespace.

--
HTH,
-- Tom Spink, Über Geek

Please respond to the newsgroup,
so all can benefit

" System.Reflection Master "

==== Converting to 2002 ====
Remove inline declarations
"TJoker .NET [MVP]" <no****@nonono.no> wrote in message
news:e4**************@TK2MSFTNGP10.phx.gbl...
Is there any emil alias for sending suggestions for new VB features ?
Here's one. I wish there was a keyword like AbsoluteNamespace.
The reason is recurring on my projects. I usually set the Root Namespace
project property because it simplifies changing it later. My problem

happens
when I have to define a type that will not be anywhere under that root
namespace, then I cannot define it in another namespace without removing

the
Root Namespace setting and changing ALL the files in the project to be
contained in the original root namespace.
The Namespace keyword creates a Sub-namespace under the root namespace, I wis I could create a type in a totally different namespace. something

like:

'project Root Namespace: MyProj
Namespace OtherProj
Public Class C1
'MyProj.OtherProj.C1
End Class
End Namespace

'wish!
AbsoluteNamespace MyOtherNamespace 'or Absolute Namespace MyOtherNamespace Public Class C1
'MyOtherNamespace.C1 -- GREAT!!!
End Class
End AbsoluteNamespace 'or End Namespace
--
TJoker
MVP: Paint, Notepad, Solitaire

****************************************


Nov 20 '05 #4
Hi TJoker,

Good example, and I can understand what you mean, after further thought, it
may be useful...

It does however, IMO, sound a bit messy, having a root namespace, then an
absolute namespace. It sounds like you have 'GoTo' *shudders* statements all
over, and it may reduce the integrity of your source code.

--
HTH,
-- Tom Spink, Über Geek

Please respond to the newsgroup,
so all can benefit

" System.Reflection Master "

==== Converting to 2002 ====
Remove inline declarations
"TJoker .NET [MVP]" <no****@nonono.no> wrote in message
news:#h**************@TK2MSFTNGP09.phx.gbl...
Maybe I didn't make myself clear. I do like the root namespace idea.
Currently if you set the root namespace and use the Namespace block in you
code you are actually defining a namespace under the root, like my
MyProj.OtherProj.C1 example below.
I like defining most of my types without specifying a namespace and knowing that they'll all be under the root namespace and that I can change the root namespace and recompile my library before the release anytime some manager
or architect decides that the namespace needs to be renamed because the
product name has changed or some other excuse.
I still want that but I can see a lot of value in being able to define some minority of the types in my assembly in a totally different namespace. For
example if you look at the system.Data assembly you'll notice that it has
the type System.Xml.XmlDataDocument (as opposed to
System.Data.Xml.XmlDataDocument).
I'd like to do the same without any major hassle like editing all existing
files that do not have a Namespace block (I'll have to do that if I remove
the Root Namespace setting).
--
TJoker, MCSD.NET
MVP: Paint, Notepad, Solitaire

****************************************
"Tom Spink" <th**********@ntlworld.com> wrote in message
news:Ob**************@TK2MSFTNGP10.phx.gbl...
Hi TJoker,

Then that throws the root namespace idea out the window... You can't define
anything under the root namespace anyways, even with other languages

because
then you no longer have that root namespace.

--
HTH,
-- Tom Spink, Über Geek

Please respond to the newsgroup,
so all can benefit

" System.Reflection Master "

==== Converting to 2002 ====
Remove inline declarations
"TJoker .NET [MVP]" <no****@nonono.no> wrote in message
news:e4**************@TK2MSFTNGP10.phx.gbl...
Is there any emil alias for sending suggestions for new VB features ?
Here's one. I wish there was a keyword like AbsoluteNamespace.
The reason is recurring on my projects. I usually set the Root Namespace project property because it simplifies changing it later. My problem

happens
when I have to define a type that will not be anywhere under that root
namespace, then I cannot define it in another namespace without
removing
the
Root Namespace setting and changing ALL the files in the project to be
contained in the original root namespace.
The Namespace keyword creates a Sub-namespace under the root

namespace, I wis I could create a type in a totally different namespace. something

like:

'project Root Namespace: MyProj
Namespace OtherProj
Public Class C1
'MyProj.OtherProj.C1
End Class
End Namespace

'wish!
AbsoluteNamespace MyOtherNamespace 'or Absolute Namespace MyOtherNamespace Public Class C1
'MyOtherNamespace.C1 -- GREAT!!!
End Class
End AbsoluteNamespace 'or End Namespace
--
TJoker
MVP: Paint, Notepad, Solitaire

****************************************



Nov 20 '05 #5

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

Similar topics

11
by: John Wellesz | last post by:
Hello, It would be great if there was an option to tell PHP to let the user manage all the HTTP headers instead of sending what it thinks is good for the programmer... For example when you...
5
by: John | last post by:
Hi: I'd like to implement a simple map, which is a 2-D plane with many points, e.g., 100. The points are not evenly distributed, i.e., some points may have two neighbor points; some may have 5...
83
by: newby2c | last post by:
My personal K&R (3rd edition) wish list: 1. That a 3rd edition is actually published! 2. Make any and all corrections from earlier editions. 3. Update to comply with the c99 Standard. 4. A...
1
by: Marco | last post by:
Is there a wishlist for c# (or .Net) where we could suggest changes or improvements ? Mine is to have access to SmallChange property of Panel scrollbars as well as access to theirs Scroll event....
5
by: | last post by:
I love the .NET framwework. Compared to mfc this is a dream to work with. I would love if the C# and maybe other languages too, somehow gives more friendly messages when executed on a machine...
7
by: J.Marsch | last post by:
I don't know whether this is the appropriate place to give product feedback, but here goes: I would love to see some kind of diagnostic to let me know when implicit boxing has occurred. We...
1
by: Olaf Baeyens | last post by:
Something for the C#/JIT wishlist. I am looking at the generated IL Assembler code and the generated real x86 code and I am facinated about the quality of the generated code. It comes to near...
17
by: Jedrzej Miadowicz | last post by:
I recently (re)discovered data binding in Windows Forms thanks to its advances in Visual Studio 2005. As I looked a little deeper, however, I realize that it still suffers from an irksome tendency...
4
by: John Salerno | last post by:
I apologize for the slightly off-topic nature, but I thought I'd just throw this out there for anyone working on text editors or IDEs with auto-completion. I think it should be a feature, when...
20
by: Allan Ebdrup | last post by:
I have a suggestion for C# I would like reader/writer locks to be built in to the language. When you want to aquire a loct on an object o you write lock(o) { ...//critical region } I would...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
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: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
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)...
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
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
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.