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();

[code]....

View 3 Replies


ADVERTISEMENT

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

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 vb.net?

View 5 Replies

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 vb.net using VS 2010?

View 4 Replies

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="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">[code].....

View 1 Replies

How To Comment

Jun 22, 2010

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

View 4 Replies

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,

[Code]...

View 5 Replies

How To Do A Multiline Comment

Feb 18, 2006

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

View 4 Replies

Multiline Comment In VB?

Jul 25, 2006

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

View 11 Replies

Xml :: Linq Comment VB?

Aug 10, 2009

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

<MyXML>
<event type="MyEvent" uid="3">
<start>2009-02-01T12:00:00</start>

[code].....

View 1 Replies

Add A Comment To XmlSchema From Datatable?

Nov 17, 2010

I am developing an application using vb.net 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

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

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

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

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.

'''<summary>
'''Class Name:
'''Programmer:
'''Description:

[code]....

View 7 Replies

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

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

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 ///

CODE:

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

View 1 Replies

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

Shortcut For Multiple Lines Comment?

Feb 4, 2009

Is there any SHORCUT for multi lines commenting in vb.net .. 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

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

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

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?)

View 4 Replies

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

Make Comment Maker Character For Whole Paragraph?

Jul 26, 2009

how make comment maker character for whole paragraph

View 7 Replies

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

[Code]...

View 3 Replies

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:
<TD>6949/TD>
But instead I end up with just the tags and no information:
<TD></TD>

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

Stop Program From Showing Xml Comment Preview?

Jul 1, 2011

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

<Summary>...

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

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

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







Copyrights 2005-15 www.BigResource.com, All rights reserved