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

Q: Microsoft.VisualBasic Namespace

Hi group,

I've seen a number of articles where .NET programmers argue against using
the Microsoft.VisualBasic namesapce; I've also seen others that promote the
use of this namespace.

What is a general consensus on the use of the namespace by the people who
frequent this board?

And if the consensus is to NOT use the Microsoft.VisualBasic namespace, then
what is the alternative for creating a COM class? When I create a new Com
Class item, NET automatically puts the following attribute at the top of the
object:
<ComClass(PrototypeObjects.ClassId, PrototypeObjects.InterfaceId,
PrototypeObjects.EventsId)>

Thanks for your input.
Jan 26 '07 #1
1 1166
Use it if you need it. If I remember correctly, a lot of the functionality
of the library is optimized well.
I think most who are against its use are anti VB coders.

Schneider

"Richard J" <Ri******@discussions.microsoft.comwrote in message
news:E2**********************************@microsof t.com...
Hi group,

I've seen a number of articles where .NET programmers argue against using
the Microsoft.VisualBasic namesapce; I've also seen others that promote
the
use of this namespace.

What is a general consensus on the use of the namespace by the people who
frequent this board?

And if the consensus is to NOT use the Microsoft.VisualBasic namespace,
then
what is the alternative for creating a COM class? When I create a new Com
Class item, NET automatically puts the following attribute at the top of
the
object:
<ComClass(PrototypeObjects.ClassId, PrototypeObjects.InterfaceId,
PrototypeObjects.EventsId)>

Thanks for your input.

Jan 26 '07 #2

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

Similar topics

2
by: darrel | last post by:
I've built a control. At the top of my control, I have this: Imports Microsoft.VisualBasic Then, later, I call a function like this: DateTime.Now.Year.ToString() This works fine on my...
15
by: Phill. W | last post by:
Is anyone writing VB.Net (2003) code /without/ referencing the Microsoft.VisualBasic namespace(?), regardless of whether its Import'ed or not? The Powers That Be here are trying to introduce a...
2
by: Steve | last post by:
Having only recently migrated across from VB6 to VB.NET I'm still unsure whether or not I should be making (heavy) use of the Microsoft.VisualBasic namespace in new applications. I've read a lot...
1
by: Tom Kearney | last post by:
Hi - I'm trying to use "Microsoft.VisualBasic.Logging.FileLogTraceListener" from a set of C# aspx web pages, but I can't seem to use: <%@ Import Namespace="Microsoft.VisualBasic.Logging" %> I...
16
by: cj | last post by:
I am under the impression they are obsolete methods included for backward compatibility. For instance is using filedatetime("c:\myfile.txt") still the accepted way of getting the date...
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...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
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
1
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
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.