Comment / Uncomment Feature Missing On VS2010

May 16, 2010

I've been working a lot in VS2010 express and notice when you highlite code and right click you can comment and uncomment it. Very handy.I've just started using VS 2010 Professional at work and that feature is not there.Why can't you do it on the professional version? (Or is it just missing on my machine?)


Properly Comment Using The '''<summary> Feature Built Into VB?

May 2, 2009

According to conventional programming, how is it to properly comment using the '''<summary> feature built into Visual Basic? Would I have to use the part that says


View 3 Replies View Related

Feature In VS2010 - Set Of Instructions And Save It As A Macro (ex: MYMACRO)

Dec 1, 2011

There is a feature I used to have in zOS assembler environment that I'd like to know if it's available in VS2010 (VB .net). In assembler it is called macro language : 

First, I define a set of instructions and save it as a macro (ex: MYMACRO)

Second, anywhere in my source code I can call the macro (by adding the line "MYMACRO")

Third, when i launch the compilation/link step, the compiler implicitly replaces all the "MYMACRO" lines in the source code by the content of MYMACRO defined in first step. 

Is there a feature like this in VS2010 ?


Content of macro CONTEXTSTART with a parameter &id



View 3 Replies View Related

How To Comment

Jun 22, 2010

What is comment in VB.Net and how to comment.

View 4 Replies View Related

Why Is REM A Comment

May 23, 2012

I found something weird in VB2010 a few minutes ago. The problem is making a variable called "rem". I searched on Google and found that "REM" is a comment, similar to single apostrophe '. Why is this the current behavior? Why not stick to ' only? Sincerely yours,


View 5 Replies View Related

Comment More Than One Line?

Oct 22, 2010

If we need to comment more than one line we'll use the following syntax in C#.NET.

/* this.comboBox1 = new System.Windows.Forms.ComboBox();
this.button1 = new System.Windows.Forms.Button();
this.dataGridView1 = new System.Windows.Forms.DataGridView();
this.textBox1 = new System.Windows.Forms.TextBox();


View 3 Replies View Related

How To Do A Multiline Comment

Feb 18, 2006

nice east one, how can i do a multiline comment ?

View 4 Replies View Related

Multiline Comment In VB?

Jul 25, 2006

Is there a multiline comment in VB.NET besides '?

View 11 Replies View Related

Xml :: Linq Comment VB?

Aug 10, 2009

How do you retrieve a comment from an XMLElement using Linq in VB? For example:

<event type="MyEvent" uid="3">


View 1 Replies View Related

Add A Comment To XmlSchema From Datatable?

Nov 17, 2010

I am developing an application using which generates an xml file  from Datagridview contents at the end. the datasource for DGVW is a datatable and i generate the xml file using method[code]....

View 2 Replies View Related

Add XML Comment During Serialize/deserialize?

Mar 31, 2009

I have an XML document that I am deserializing (VB .NET 3.5 Framework), changing some values, and the serializing again. The original document has several XML Comments in it. When I go through all the deserialize/serialize all of the comments are lost. Is there a way to preserve the comments? If not, is there a way to add comments on serialization without having to walk through with the writer and manually add all of the comments back in the appropriate place?

View 1 Replies View Related

Comment Out Lines Of XML Code Through VB?

Jun 16, 2011

When reading and writing data to an XML file, in XML code, through a VB application, how does one go about commenting out a specific XML code line? From what I've gathered the original <!-- and --> tags aren't compatible. So what would be the VB alternative? Or is it just not possible to comment out a line of XML code using XML code through VB?

View 5 Replies View Related

Intellisense XML Comment Tooltip

Mar 25, 2009

I have read that it is possible, but how do I use them in VS2008? I would like to start commenting class's commands and properties, but I can't find how to.[URL]

View 1 Replies View Related

Show A Custom Comment?

Apr 17, 2010

I would like to know how to show a customized comment everytime i declare a class, function, or sub routine. I just dont want to copy and paste the summary comments everytime i declare a class, function, or sub routine.

'''Class Name:


View 7 Replies View Related

VS 2008 Comment Control?

Apr 24, 2010

Im working on a comment control. I mean a control, that has an input area for text and images and a line or an arrow for pointing to something. It should a bit look like the comment control in Adobe Acrobat.

My first idea is to put four standard controls together:

1) a RichTextBox to hold text and images

2) a Panel to hold the RichTextBox and some GrabRectangles around it (the Panel needs to be a bit greater than the RTB for the GrabRectangles)

3) a little Panel (3x3 or 4x4 Pixel) to hold another GrabRectangle for placing and resizing the line (the arrow)

4) a LineShape for pointing (its startpoint on the RTB and endpoint on the little Panel)

I have added a drawing.My question is: what can I use to put these controls together? Another Panel would probably do a good job. But it would cover a lot of additional area around the contained controls and hide other controls, so that they dont get mouse clicks.

View 4 Replies View Related

Why There's No Block Comment Capability

Feb 4, 2010

Does anyone know why there's no block comment capability in VB .NET? (Unless there really is

View 4 Replies View Related

How To Comment Multiple Line Quickly

Jul 13, 2009

I saw the video from microsoft teaching the techique of programming and found out they can comment multiple line and the same time.

View 2 Replies View Related

Microsoft - Code Comment Structure

May 18, 2010

What is the Microsoft Standard for Code Commenting

1. In case of Class  'Class header Comments

2. Function Comments

3. Subroutine Comments

There are different ways to comments like XML Documentation using ///


Which Stnd should follow? May be something else other than above?

View 1 Replies View Related

Possible To Comment Out More Than 1 Line Of Code At A Time?

Dec 15, 2009

i know in java and other nice languages it's possible to comment out a bunch of lines at the same time. is it possible to do this in

View 5 Replies View Related

Remove Comment With The Key Combination Ctrl + K?

Feb 6, 2011

I have just comment and remove comment with the key combination ctrl + k, then ctrl + c and ctrl + k, then ctrl + u. But I think, I have pressed one time an another key. And I get the small mark in the code. What is this, and how can I get rid of it?[URL]..

View 3 Replies View Related

Shortcut For Multiple Lines Comment?

Feb 4, 2009

Is there any SHORCUT for multi lines commenting in .. Altouhgh i know there is an option in toolbar for multilines comments but i want to know a keyboard shorcut for it...

View 5 Replies View Related

VS 2010 Posting A Comment On Website

Aug 26, 2010

I would like to build an application with visual basic.NET ( i currently have visual studio 2010) which posts a comment from my application to the remote website.On my VB form :i have 4 textboxes ( name, email , site address , and the comment text)and one submit button.on the remote site: 4 texts and 1 submit button !! same fields as my VB form.anyway what i want to do is to just post a comment from my vb application to the site.

View 2 Replies View Related

Add A Block Of Xml Comment And Create A Try-catch To A Function?

Jul 7, 2011

We've created a little plugin to add a block of xml comment and create a try-catch to a function. (we simply add this to each and every function we write).But with the latest devexpress update I'm having a problem with the following code.[code].........

View 1 Replies View Related

Difference Between Description Attribute And Comment For Properties

May 16, 2010

In order to have a description for a property of a custom control to be shown in the Property Grid and also in the Object Browser, should I use a Description Attribute and also a Comment? This appears to be redundant, is there a way that the Object Browser displays the Property Description?

View 2 Replies View Related

Make Comment Maker Character For Whole Paragraph?

Jul 26, 2009

how make comment maker character for whole paragraph

View 7 Replies View Related

Regular Expression Does Not Remove HTML Comment?

Jun 30, 2011

I have the following string:
<TD><!-- 1.91 -->6949<!-- 9.11 --></TD>
I want to end up with:
But instead I end up with just the tags and no information:

This is the regular expression I am using:
RegEx.Replace("<TD><!-- 1.91 -->6949<!-- 9.11 --></TD>","<!--.*-->","")
How to keep the numbers and remove just what the comments.

View 3 Replies View Related

Stop Program From Showing Xml Comment Preview?

Jul 1, 2011

When you create an XML comment in C# and collapse it you only see:


But in VB you could potentially see

Initializes the fubble to the watzer. This is actually the second line.

Having that line over your code can introduce lots of unwanted noise when trying to debug a class. Is there any way to turn off xml comment previews for VB?

View 1 Replies View Related

User To Insert A Comment In The Shape Of A String?

May 14, 2012

i want to create a listbox in which a user introduces a name (Ex Item1) I also want to user to insert a comment in the shape of a string ( Ex. Item1 was added yesterday) and link it somehow to his Item1.

Once the program starts the user should be able to insert an item in the listbox with a comment; and once he selects the item i want a MsgBox appearing with the comment of the specific Item, that he also inserted.

Think something like a book library using a listbox.You go and browse books in a listbox and once you click on them they display on the right the cover of the book, the authors, date, ratings etc.I just need to know how to link a ListBoxItem to do something, and i want the Library administrator to do it in runtime.The MsgBox example should do it for me.

View 1 Replies View Related

VS 2010 Premium - XML Comment Documentation Not Working

Feb 21, 2012

I just downloaded the trial for this application and it doesn't seem to work. I went through the Quick Setup guide and it all looked great. Now when I place my cursor on a member of any type and press Ctrl+Shift+D it does nothing. I placed it on top, inside, etc... Nothing. If I press Ctrl+Shift+A (twice) on top of the member it tells me to place it "in the line of the form MyType myVariable;". I'm not quite sure what this means unless it's referring to C# but this project is VB.NET which it doesn't seem to recognize. Anyone else have this issue? I was hoping it would make things easier since I've read that it can document an entire document rather than having to member by member. Using VS 2010 Premium.

View 1 Replies View Related

Find Out If The TextBox Control Contains A HTML Comment But Without Closing Tag?

Aug 24, 2010

I need to find out if the TextBox control contains a HTML comment but without closing tag. e.g. <!-- content here notice that it's possible that they can enter more than one comments so all of the comments have their closing tag except one (or even more).

I just need to find if there is ONE or more html comments without closing tag.

View 19 Replies View Related

Get The User Input In Comment Textbox And Insert Into Database?

Nov 6, 2009

how to get the user input in comment textbox and insert into my database and then retrieve the data to output in another webform.

View 3 Replies View Related

IDE - Expand / Collapse Icons Disappear When Comment Out On Subs

Dec 22, 2009

When I comment out a particular Sub in my program the expand/collapse icon (+/-) disappears? I want to comment out a subroutine in my program & collapse it down to one line, but the +/- goes away when I do. It only happens on that one sub. When I comment out any other sub the "-" is there so I can collapse it.

View 5 Replies View Related

Insert A Variable Into XML Literals Comment Section And Have It Evaluated?

Mar 26, 2010

How can I get the variable My.Application.Info.Version.ToString to populate in the comments section?[code]..

View 2 Replies View Related

Multi-line Comment .net In Visual Studio 2010?

Mar 10, 2011

Is there a way to comment out more than one line of code in using VS 2010?

View 4 Replies View Related

Add Additional Text To The Comment Field In Access Database From A RichTextBox?

Feb 7, 2009

I need to add (Append) additional text to the Comment field in my access database from a RichTextBox. I am having difficulty with the sql connection syntax.

View 6 Replies View Related

Auto-comment ' In VisualStudio 2008 Stopped Working / How To Enable It Again

Aug 2, 2010

The auto-comment option in my Visual Studio 2008 suddenly stopped working. o_O..Does anybody know how to repair it and enable this feature again?I'm putting triple apostrophe above function and comment tags do not appear.

View 1 Replies View Related

Auto-comment ''' In VisualStudio 2008 Stopped Working - How To Enable It Again

Jan 5, 2010

The auto-comment option in my Visual Studio 2008 suddenly stopped working. o_ODoes anybody know how to repair it and enable this feature again?I'm putting triple apostrophe above function and comment tags do not appear

View 4 Replies View Related

Replace Any String That Contains Parentheses With Fixed Editorial Comment In Brackets

Feb 12, 2009

I need some help to create a regular expression. It is a little like a search and replace, I want to replace any string that contains parentheses with a fixed editorial comment in brackets."The Prime Minister (that idiot from Scotland) made a speech today" with "The Prime Minister [edited for abuse] made a speech today".

View 2 Replies View Related

C# - Regular Expression - Remove HTML Comment Spanning Multiple Line Breaks?

May 18, 2012

I'm using this script:

http:[url].....To convert some outlook HTML to plain text.It nearly works, the only thing that it leaves behind is the CSS which outlook places in html comment tags <!-- --> in addition to <style> tags (which are removed).This is the original text:

<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:x="urn:schemas-microsoft-com:office:excel" xmlns:m="" xmlns="">[code].....

View 1 Replies View Related

How To Add Update Feature

Jan 29, 2010

I dont really understand how to add the update function to my program.I want it to update from my computer

View 5 Replies View Related

Copyrights 2005-15, All rights reserved