I really miss C#.
In C# if I have:
Image i = new Image()
and I have the following at the top of the file:
using System;
using System.Web.UI.HtmlControls
There is no question whether I am using a System.Web.UI.HtmlControl.HtmlImage or a System.Drawing.Image object because I can just look up at my using statements.... not in VB!!!
In VB the Namespace isnt shown. If you want to know what you are using you have to look at the project properties... which is just retarted. What happens when I move a file from one project to another where the project properties arent the same? Or what happens when VBs namespace conventions dont match with the company you are working for (see below)
Can you turn off a default so every page (code behind) will have:
Namespace System
Namespace System.Web
etc.
Because it is really screwing me up since I have a WebPage called Index and a WebControl in a folder called controls called Index. Because of VBs ignorant so-called dummy proof features it wants to give me compile errors. So I put the Namespace in myself, but then it screws up my code behind. Im about to turn every so-called smart feature off because its just slowing me down because I have to undo what was working that it changed!
Also on that note the same can be said for OptionStrict and OptionExplicit... what if I move a file that was created with OptionStrict off into a project that has OptionStrict on... well know I got to go re-work the file and update the source.
Sorry.... just venting.... any C# programmer who has had the joy of working in VB knows what Im talking about...
In C# if I have:
Image i = new Image()
and I have the following at the top of the file:
using System;
using System.Web.UI.HtmlControls
There is no question whether I am using a System.Web.UI.HtmlControl.HtmlImage or a System.Drawing.Image object because I can just look up at my using statements.... not in VB!!!
In VB the Namespace isnt shown. If you want to know what you are using you have to look at the project properties... which is just retarted. What happens when I move a file from one project to another where the project properties arent the same? Or what happens when VBs namespace conventions dont match with the company you are working for (see below)
Can you turn off a default so every page (code behind) will have:
Namespace System
Namespace System.Web
etc.
Because it is really screwing me up since I have a WebPage called Index and a WebControl in a folder called controls called Index. Because of VBs ignorant so-called dummy proof features it wants to give me compile errors. So I put the Namespace in myself, but then it screws up my code behind. Im about to turn every so-called smart feature off because its just slowing me down because I have to undo what was working that it changed!
Also on that note the same can be said for OptionStrict and OptionExplicit... what if I move a file that was created with OptionStrict off into a project that has OptionStrict on... well know I got to go re-work the file and update the source.
Sorry.... just venting.... any C# programmer who has had the joy of working in VB knows what Im talking about...