Results 1 to 21 of 21

Thread: Permanently turn off vb.namespace?

Hybrid View

  1. #1
    Super Moderator jmcilhinney's Avatar
    Join Date
    May 2005
    Location
    Sydney, Australia
    Posts
    111,221

    Re: Permanently turn off vb.namespace?

    Note though that this is still just removing an Import. Every VB.NET app has an implicit reference to the Microsoft.VisualBasic.dll assembly. I guess removing the Import will mean that you would have to qualify all Runtime functions so you will not use any inadvertently. As I posted before though, it is quite simple to identify when you are using a Runtime function. What you do is up to you of course, and this will do no harm, but it seems to me to be a solution to a problem that doesn't exist.
    Why is my data not saved to my database? | MSDN Data Walkthroughs
    VBForums Database Development FAQ
    My CodeBank Submissions: VB | C#
    My Blog: Data Among Multiple Forms (3 parts)
    Beginner Tutorials: VB | C# | SQL

  2. #2
    I'm about to be a PowerPoster! mendhak's Avatar
    Join Date
    Feb 2002
    Location
    Ulaan Baator GooGoo: Frog
    Posts
    38,170

    Re: Permanently turn off vb.namespace?

    Quote Originally Posted by jmcilhinney
    Note though that this is still just removing an Import. Every VB.NET app has an implicit reference to the Microsoft.VisualBasic.dll assembly. I guess removing the Import will mean that you would have to qualify all Runtime functions so you will not use any inadvertently. As I posted before though, it is quite simple to identify when you are using a Runtime function. What you do is up to you of course, and this will do no harm, but it seems to me to be a solution to a problem that doesn't exist.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width