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


ADVERTISEMENT

Make Use Of Description Attribute?

Feb 28, 2010

I have a form that has appx 20 checkboxes. The data is stored in xml. We would like to have a textbox or panel at the bottom of the screen to display information about the check box. Just like the property box in the IDE. The information will be store in the description attribute. Does vb.net have functions that do that already or do I need to program for that? Also would I be best to but the description attribute on the xml or the property on the programs?

View 2 Replies

Set A Files Description Attribute?

Jan 16, 2011

I want to set a directory worth or files to a certain decription, I know how to list all the files in a directory but how do I set a files description attribute to what I want it to be?

View 11 Replies

IDE :: Description Pane Hidden At Bottom Of Properties Window In VB 2010?

Jun 11, 2012

At the bottom of the Properties window in the Visual Basic 2010 IDE, there should be a brief description of the selected property. For example "Text: the text associated with thecontrol". But it's reduced to a height of 0 so far as I can tell, and I haven'tfound a way to make it visible. Right-clicking the Properties window and selecting/checking"Description" has no effect. How do I make this pane visible?

View 2 Replies

Using Variables In Assigning Values To Attribute's Properties?

Aug 10, 2010

i was wondering if we could assign variables into the values of attribute properties like say:

<System.Xml.Serialization.XmlType(namespace:="Result" + x)>

where x is a string with value "qwe" so basically we get the output:

<System.Xml.Serialization.XmlType(namespace:="Resultqwe")

View 4 Replies

.net - MailMessage, Difference Between Sender And From Properties?

Apr 19, 2010

I've been using the System.Net namespace ever since we switched from .net Framework 1.1 to the 3.5 framework, but there's one thing that's been puzzling me since. What's the difference between the Sender and the From properties in the MailMessage class?Are they both the same, and if not is there a reason to use Sender together with From?

For example:
Using m As New System.Net.Mail.MailMessage()
m.Sender = New System.Net.Mail.MailAddress("test@test.com", "Name here")

[code].....

View 1 Replies

C# - Bind To The Difference Of Two Properties From Different ViewModels

Jan 12, 2011

I have two viewmodels (each with their own models):
AmendmentViewModel
YearViewModel

each have a property:
AmendmentViewModel.TotalAmended
YearViewModel.TotalCommitted

On the view there is a TabControl and each of the viewmodels is the datacontext for a tabcontrol page. Yes i know I could technically use one view model but its a LOT of code and a large view that Has to be in a tabcontrol. How do i set the binding of a TextBox to the sum of AmendmentViewModel.TotalAmended & YearViewModel.TotalCommitted ?

View 1 Replies

VS 2010 Using Reflection Difference Between Static And Instance Fields And Properties

Jun 6, 2012

I'm trying to obtain the values using the prospective GetValue(s) methods but I don't understand the syntax of the documentation. I'm sending the correct bindings (I believe) to filter the fields, and properties that i'm interested in usually

[Code]...

View 3 Replies

VS 2008 Textbox Tabbing - Cannot Find A Difference In Properties Of Textboxes Compared To Rest

Sep 1, 2010

I have a program that someone else designed the form on and sent to me to populate the code. I am not sure what could have been done to cause this problem, hoping for a quick oversight on my part. There are several fields of textboxes that the user enters numbers in. Normal behavior for textboxes is when you tab to them the current contents are highlighted. On one of these textbox fields, and only that one set of textboxes, the contents are highlighted like normal at first, but after the user edits the content of the textbox, if you tab to it again it will go directly into edit mode instead of highlighting the contents. Each textbox in the field does this individually, so if you just edit one, all the rest will continue to highlight contents until you edit them as well. It appears you don't actually have to change the value of the textbox, just entering edit mode and getting a blinking cursor is enough. I cannot find a difference in the properties of these textboxes compared to the rest.

View 4 Replies

What Are Classes , Objects , A Namespace , Subroutines,functions,methods,properties And Difference Between Byval And Byref

Jun 26, 2010

I want to know what are classes , objects , a namespace , subroutines,functions,methods,properties and differemce betweem byval and byref in your words.

View 18 Replies

Reading 'object-attribute-attribute Value' Triples From Column-based CSV Files

Nov 27, 2011

here any algorithms/pseudocode for reading/parsing 3-column csv data and determining unique objects/attributes/values?

example data:

john,height,1.75
george,age,21

[Code]....

i have already implemented a solution of my own but it's too slow and i can't find any relevant literature on the internet.

View 6 Replies

Unrecognized Attribute 'targetFramework Note That Attribute Names Are Case-sensitive?

Nov 10, 2011

Possible Duplicate: Unrecognized attribute 'targetFramework'. Note that attribute names are case-sensitive

I am using window xp and iis 5.1 to run the application.

error is occurred Unrecognized attribute 'targetFramework'. Note that attribute names are case-sensitive.

[Code]...

View 2 Replies

'SSLAccessFiltercannot' Be Used As Attribute Because It Does Not Inherit From 'System.Attribute'

Feb 2, 2012

I get an error when I try to build my project.'SSLAccessFiltercannot' be used as an attribute because it does not inherit from 'System.Attribute'. [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

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

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

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

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

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

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







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