Visual Studio

Welcome to the Visual Studio UserVoice site. Let us know what you would like to see in future versions of the Visual Studio suite of products. This site is for suggestions and ideas. If you need to file a bug, visit the Visual Studio Connect site: http://connect.microsoft.com/visualstudio.

ASP.NET Runtime/Web Tooling suggestions have moved! All your ideas, including your votes, have been transferred and are searchable in the ASP.Net Uservoice forum. Please submit any new ASP.NET Runtime/Web Tooling suggestions, or vote on existing suggestions by going to http://aspnet.uservoice.com.

We look forward to hearing from you!

Thanks – Deon Herbert
Visual Studio Team

Terms of Service and Privacy Policy

I suggest you ...

You've used all your votes and won't be able to post a new idea, but you can still search and comment on existing ideas.

There are two ways to get more votes:

  • When an admin closes an idea you've voted on, you'll get your votes back from that idea.
  • You can remove your votes from an open idea you support.
  • To see ideas you have already voted on, select the "My feedback" filter and select "My open ideas".
(thinking…)

Enter your idea and we'll search to see if someone has already suggested it.

If a similar idea already exists, you can vote and comment on it.

If it doesn't exist, you can post your idea so others can vote on it.

Enter your idea and we'll search to see if someone has already suggested it.

  • Hot ideas
  • Top ideas
  • New ideas
  1. In vb.net, textbox in multi-line mode

    Can you add a design-time property that allows for either automatic clearing of the textbox when full, or over-write at the beginning (~circular queue).

    I use a multi-line, textbox for a serial protocol analyzer real-time display. After about 3 days running, the textbox freezes, but the analyzer is still running. I setup a timer to clear the box every 4 hours. I don't want to test the remaining buffer size each time I write, since I am writing from multiple subs.

    It's easy to use the textbox for this, as when an error occurs a dump of the textbox can…

    6 votes
    Vote
    Sign in
    Check!
    (thinking…)
    Reset
    or sign in with
    • facebook
    • google
      Password icon
      I agree to the terms of service
      Signed in as (Sign out)
      You have left! (?) (thinking…)
      0 comments  ·  Languages - Visual Basic  ·  Flag idea as inappropriate…  ·  Admin →
    • Start Making VB and C# closer to each other.

      Start Making VB and C# closer to each other in every future versions.
      And finally merge them in 5 or 6 versions from now. (when the differences will be almost nothing)

      5 votes
      Vote
      Sign in
      Check!
      (thinking…)
      Reset
      or sign in with
      • facebook
      • google
        Password icon
        I agree to the terms of service
        Signed in as (Sign out)
        You have left! (?) (thinking…)
        4 comments  ·  Languages - Visual Basic  ·  Flag idea as inappropriate…  ·  Admin →
      • Bring the "Enable Single Instance Application" for VB.Net (WPF) on Framework 4.0

        Add the option of single instance application (program.. IDK) in VB.Net with WCF and .Net 4.0.
        We need to make single instance applications while using VB.net, too, not just VB!
        Example of program which needs it:

        C4D-Alpha: A launcher program which enables and launches some features on a specific program (external).
        C4D-Alpha saves the settings for next launch on every change.
        C4D-Alpha's best use is assigning it to a keyboard shortcut (ie. CTRL ALT SHIFT C) and then when its up (after a quarter of a second) press the corresponding key for the feature you want to launch.

        Link: http://www.mediafire.com/download.php?lz58m1zqaiidnfy

        5 votes
        Vote
        Sign in
        Check!
        (thinking…)
        Reset
        or sign in with
        • facebook
        • google
          Password icon
          I agree to the terms of service
          Signed in as (Sign out)
          You have left! (?) (thinking…)
          0 comments  ·  Languages - Visual Basic  ·  Flag idea as inappropriate…  ·  Admin →
        • Make the declaring matching operators (such as =/<>) optional

          When defining an operator such as:
          Public Shared Operator =(value1 As Binary, value2 As Integer)
          Return value1.ToInt32() = value2
          End Operator

          The compiler should automatically default the matching "<>" to "Not =" thus avoiding the now mandatory declaration:
          Public Shared Operator <>(value1 As Binary, value2 As Integer)
          Return Not value1 = value2
          End Operator

          5 votes
          Vote
          Sign in
          Check!
          (thinking…)
          Reset
          or sign in with
          • facebook
          • google
            Password icon
            I agree to the terms of service
            Signed in as (Sign out)
            You have left! (?) (thinking…)
            under review  ·  2 comments  ·  Languages - Visual Basic  ·  Flag idea as inappropriate…  ·  Admin →
          • Please sell the code of vb6's complier.

            Since microsoft Don't want to bring back vb6, so please sell the code of vb6's compiler to the people who want bring back it.

            5 votes
            Vote
            Sign in
            Check!
            (thinking…)
            Reset
            or sign in with
            • facebook
            • google
              Password icon
              I agree to the terms of service
              Signed in as (Sign out)
              You have left! (?) (thinking…)
              1 comment  ·  Languages - Visual Basic  ·  Flag idea as inappropriate…  ·  Admin →
            • Collection initializers for read-only collection properties in VB.NET

              I'm very happy that Microsoft is committed to VB.NET have the same features as C#.
              One feature I use extensivle in C# is collection initializers. I've just noticed that VB.NET supports these but not for read-only class properties.
              I found at http://msdn.microsoft.com/en-us/library/dd293617.aspx that if a collection has a an Add method, it is used to initialize the variable. This should also apply to read-only collection properties.

              Here is compilable C# code showing the feature working:

              using System;
              using System.Collections.Generic;

              namespace ConsoleApplication3
              {
              class Class1
              {
              private readonly List<Int32> list = new List<Int32>();

              public List<Int32> ListProp
              {
              get
              {
              return this.list; …

              5 votes
              Vote
              Sign in
              Check!
              (thinking…)
              Reset
              or sign in with
              • facebook
              • google
                Password icon
                I agree to the terms of service
                Signed in as (Sign out)
                You have left! (?) (thinking…)
                under review  ·  2 comments  ·  Languages - Visual Basic  ·  Flag idea as inappropriate…  ·  Admin →
              • 5 votes
                Vote
                Sign in
                Check!
                (thinking…)
                Reset
                or sign in with
                • facebook
                • google
                  Password icon
                  I agree to the terms of service
                  Signed in as (Sign out)
                  You have left! (?) (thinking…)
                  0 comments  ·  Languages - Visual Basic  ·  Flag idea as inappropriate…  ·  Admin →
                • Implement Interface members Implicitly

                  It 'll be nice if we can declare the interface members implicitly without mention the implemented member from the interface.
                  In other words, we can write for example this

                  Public Sub Method1()

                  End Sub

                  instead of

                  Public Sub Method1() Implements InterfaceName.Method1

                  End Sub

                  4 votes
                  Vote
                  Sign in
                  Check!
                  (thinking…)
                  Reset
                  or sign in with
                  • facebook
                  • google
                    Password icon
                    I agree to the terms of service
                    Signed in as (Sign out)
                    You have left! (?) (thinking…)
                    0 comments  ·  Languages - Visual Basic  ·  Flag idea as inappropriate…  ·  Admin →
                  • Exception-type list after the Catch keyword

                    Try
                    ....PossibleException()
                    Catch aException, bException, cException
                    ....MessageBox.Show("a or b or c ERROR")
                    End Try

                    In addition, I'd like to propose a reserved keyword wich can represent the Exception object of the current Try-Catch block for example with the following built-in and hidden declaration:
                    CurrentException As Exception

                    Try
                    ....PossibleException()
                    Catch aException, bException, cException
                    ....MessageBox.Show(CurrentException.Message)
                    End Try

                    4 votes
                    Vote
                    Sign in
                    Check!
                    (thinking…)
                    Reset
                    or sign in with
                    • facebook
                    • google
                      Password icon
                      I agree to the terms of service
                      Signed in as (Sign out)
                      You have left! (?) (thinking…)
                      under review  ·  6 comments  ·  Languages - Visual Basic  ·  Flag idea as inappropriate…  ·  Admin →
                    • the most wanted feature in basic.net now (and still) is *comments within multiline statements*

                      I have to repeat the begging for comments within multiline statements in visual basic... yes, I know you refused to do that for me and numerous others over the last 6-7 years stating that it is "by design"... so what? our continuous and numerous complaints just show that this request has its roots, so do not make excuses of design... *change that design detail* and everything will be ok... mr. hejlsberg on /BUILD/ conference talks about 'paste as c#' and 'paste as vb.net' and you are not able to convince yourself of the need to change that tiny design glitch...…

                      4 votes
                      Vote
                      Sign in
                      Check!
                      (thinking…)
                      Reset
                      or sign in with
                      • facebook
                      • google
                        Password icon
                        I agree to the terms of service
                        Signed in as (Sign out)
                        You have left! (?) (thinking…)
                        2 comments  ·  Languages - Visual Basic  ·  Flag idea as inappropriate…  ·  Admin →

                        Hey gjuro,

                        We’ve considered inline/multiline comments in VB several times. In the past it’s been a very expensive thing to implement because of the way the language parser was designed and the way the IDE integrates with it. The VB and C# code bases are, for historical reasons, very different. Anyway, in Roslyn such a thing isn’t as difficult anymore but we still question the value. In fact “is it worth it” is the real obstacle at this point.

                        We don’t actually see much use of inline/multiline comments even in C# which makes us even more hesitant to add them to VB.

                        Now, what we have been able to make work in Roslyn is this:

                        Dim q = From x In y ’ This is a from clause
                        Where x < z ’ And this is the where
                        Select x ’ This select is redundant

                        That is, comments after implicit…

                      • add // for a comment and eat up semicolon at the end of the line

                        while pasting to VB.NET a sample I managed to develop in C# I understood that most of reediting needed consisted of changing // into ' for starting comments and deleting terminating semicolons

                        by chaning this two tiny details you would greatly help porting C# to VB.NET code

                        4 votes
                        Vote
                        Sign in
                        Check!
                        (thinking…)
                        Reset
                        or sign in with
                        • facebook
                        • google
                          Password icon
                          I agree to the terms of service
                          Signed in as (Sign out)
                          You have left! (?) (thinking…)
                          0 comments  ·  Languages - Visual Basic  ·  Flag idea as inappropriate…  ·  Admin →
                        • The "Is" keyword let be a real reference in the Select block.

                          Select Case i
                          Case 1, 5, 10 To 20
                          FuncSpec()
                          Case IIf(Is Mod 2 = 0, Is, Nothing) ' the "Is" keyword is a read-only reference of the "i" variable
                          FuncEven()
                          Case IIf(IsPrime(Is), Is, Nothing) ' the "Is" keyword is a read-only reference of the "i" variable
                          FuncPrime()
                          Case Else
                          FuncOther()
                          End Select

                          'Advantages:
                          ' - branching by any kind of case (not only by equality or range or comparison operator)
                          ' - no need to convert to If block (what is redundant and less readable)

                          4 votes
                          Vote
                          Sign in
                          Check!
                          (thinking…)
                          Reset
                          or sign in with
                          • facebook
                          • google
                            Password icon
                            I agree to the terms of service
                            Signed in as (Sign out)
                            You have left! (?) (thinking…)
                            5 comments  ·  Languages - Visual Basic  ·  Flag idea as inappropriate…  ·  Admin →
                          • Include Visal Basic on .NET Native

                            Please do not forget Visual Basic when making .NET Native! C# being the most popular language on Windows Store doesn't mean we must be forgotten. :(

                            4 votes
                            Vote
                            Sign in
                            Check!
                            (thinking…)
                            Reset
                            or sign in with
                            • facebook
                            • google
                              Password icon
                              I agree to the terms of service
                              Signed in as (Sign out)
                              You have left! (?) (thinking…)
                              0 comments  ·  Languages - Visual Basic  ·  Flag idea as inappropriate…  ·  Admin →
                            • The idea: "Visual Basic".

                              Summary: Bring back an Independent VB IDE, capable to create all kind of applications and solutions. Mobile, WinRT, WinForms, Web, Installers, images and other media files, help files, reports and charts. Capable to do it by using WebForms, Web MVC/Razor, Silverlight (not just Lightswitch but Silverlight really), and WPF of course. And if Microsoft can do it, OS multiplatform. This time, the IDE must be purely for the VB language.

                              BASIC as a programming language is not "just for kids", as is often read in forums and sometimes hear from other programmers. This is a high-level language, easy understanding and…

                              4 votes
                              Vote
                              Sign in
                              Check!
                              (thinking…)
                              Reset
                              or sign in with
                              • facebook
                              • google
                                Password icon
                                I agree to the terms of service
                                Signed in as (Sign out)
                                You have left! (?) (thinking…)
                                2 comments  ·  Languages - Visual Basic  ·  Flag idea as inappropriate…  ·  Admin →
                              • using the API of Master Data Services(SQL Server2008)inASP

                                How I can create Model, Entity & Attributes in MDS via Web-Application and how I can work with attribute values (select, update, edit or delete the values)

                                4 votes
                                Vote
                                Sign in
                                Check!
                                (thinking…)
                                Reset
                                or sign in with
                                • facebook
                                • google
                                  Password icon
                                  I agree to the terms of service
                                  Signed in as (Sign out)
                                  You have left! (?) (thinking…)
                                  0 comments  ·  Languages - Visual Basic  ·  Flag idea as inappropriate…  ·  Admin →
                                • 4 votes
                                  Vote
                                  Sign in
                                  Check!
                                  (thinking…)
                                  Reset
                                  or sign in with
                                  • facebook
                                  • google
                                    Password icon
                                    I agree to the terms of service
                                    Signed in as (Sign out)
                                    You have left! (?) (thinking…)
                                    0 comments  ·  Languages - Visual Basic  ·  Flag idea as inappropriate…  ·  Admin →
                                  • Implement a Strictly .net mode for VB.net.

                                    implement a compiler switch that when turned on. vb.net is no longer backwards compatible with vb6.

                                    Option DotNetOnly On

                                    So now you'll get compiler errors if you use any on the vb6 keywords and legacy functions.
                                    A c# like approach to shared methods, only accessible via the class, not an instance.

                                    4 votes
                                    Vote
                                    Sign in
                                    Check!
                                    (thinking…)
                                    Reset
                                    or sign in with
                                    • facebook
                                    • google
                                      Password icon
                                      I agree to the terms of service
                                      Signed in as (Sign out)
                                      You have left! (?) (thinking…)
                                      2 comments  ·  Languages - Visual Basic  ·  Flag idea as inappropriate…  ·  Admin →

                                      Hey Adam,

                                      Thanks for the suggestion. Could you be more specific on what specific things you’d want disallowed and very specifically why they “don’t make the cut”. I ask because as written this suggestion could mean different things to different people; “VB6 keywords” “VB6 compatibility” isn’t very meaningful objectively. For instance AddressOf, Alias, And, As, Boolean, ByRef, Byte, ByVal, Call, Case, Date, Declare, Dim, Do, Double, Each, Else, ElseIf, End , Exit, False, For,Function, Get, GoTo, If, In, Integer, Is, Let, Lib, Like, Long, Loop, Me, Mod, New,Next, Not, Nothing, Object, On, Option, Optional, Or, Private, Property, Public, ReDim, REM, Resume, Return, Select, Set, Single, Static, Step, Stop, String, Sub, Then, To, True, While, With, and Xor all are just some of the keywords which were in VB6 – I don’t imagine you’re suggesting disallowing all of them. Also it’s not very clear how you delineate what is .…

                                    • Inline assignment inside while statement

                                      I think VB developers miss the inline assignment inside while clause feature, which is already exist in c#
                                      its great if we can find the equivalent for this in VB

                                      while ((bytesRead = stream.Read(buffer, 0, buffer.Length)) > 0)
                                      {
                                      // Use the data you've read
                                      }

                                      'll be

                                      While (bytesRead = stream.Read(buffer, 0, buffer.Length)) > 0
                                      ' Use the data you've read
                                      End While

                                      i know the VB uses = as equality operator inside while, but while VB uses the same operator for assignment, perhaps we can find a proper solution for this

                                      4 votes
                                      Vote
                                      Sign in
                                      Check!
                                      (thinking…)
                                      Reset
                                      or sign in with
                                      • facebook
                                      • google
                                        Password icon
                                        I agree to the terms of service
                                        Signed in as (Sign out)
                                        You have left! (?) (thinking…)
                                        0 comments  ·  Languages - Visual Basic  ·  Flag idea as inappropriate…  ·  Admin →
                                      • Befehlseingabe über Benutzeroberfläche

                                        Ich vermisse die komfortable Eingabe von Befehlen (vielleicht gibt es sie ja und ich bin nur noch nicht so weit).
                                        Sollte es diese Funktion nicht geben, werde ich sie nachfolgend beschreiben.

                                        Beispiel bei Excel:
                                        Wenn ich in Excel in der Befehlszeile das Gleichheitszeichen eingebe und die Funktion Summe ausgewählt ist, brauche ich nur im Tabellenblatt die Zellen markieren, welche ich addieren will.
                                        Excel fügt die Syntax währenddessen automatisch richtig in die Befehlszeile ein (z. B. "=B3:B8").


                                        Dies sollte auch bei Visualbasic funktionieren.

                                        Beispiel Visualbasic:
                                        Ich möchte nach Klick auf einem Button, dass in einem Textfeld das Wort "Test" erscheint.
                                        Textfeld…

                                        4 votes
                                        Vote
                                        Sign in
                                        Check!
                                        (thinking…)
                                        Reset
                                        or sign in with
                                        • facebook
                                        • google
                                          Password icon
                                          I agree to the terms of service
                                          Signed in as (Sign out)
                                          You have left! (?) (thinking…)
                                          0 comments  ·  Languages - Visual Basic  ·  Flag idea as inappropriate…  ·  Admin →
                                        • If block with return value

                                          n = If i > 1 Then
                                          ........If = 1
                                          ....ElseIf j > 1 Then
                                          ........If = 2
                                          ....ElseIf k > 1 Then
                                          ........If = 3
                                          ....Else
                                          ....If = 0
                                          ....End If

                                          'Advantages:
                                          ' - no redundancy
                                          ' - safer code
                                          ' - clear purpose
                                          ' - good reading
                                          ' - good maintaining
                                          ' - no need new VB keyword

                                          3 votes
                                          Vote
                                          Sign in
                                          Check!
                                          (thinking…)
                                          Reset
                                          or sign in with
                                          • facebook
                                          • google
                                            Password icon
                                            I agree to the terms of service
                                            Signed in as (Sign out)
                                            You have left! (?) (thinking…)
                                            14 comments  ·  Languages - Visual Basic  ·  Flag idea as inappropriate…  ·  Admin →
                                          • Don't see your idea?

                                          Feedback and Knowledge Base