473,396 Members | 2,085 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,396 software developers and data experts.

Class and property question

Hi all,

I just created a property for my class that inherits nodes to set and get
some additional fileds,

I would like to to enable on each property the tool tips that show while we
actually start to type the property's name into our codes like :

textbox1.textalign (has that information beside it : "Set or Get how text is
align in a system.windows.forms.textbox"

or into a dataview.item would say : "Get a row of data from the specified
table"

how can I implement that ?

I've tried something like that but I can be completely way out.
Public Property ID()

<summary> "would like to explain properties here" </summary>

Get

Return p_id

End Get

Set(ByVal Value)

p_id = Value

End Set

End Property

Marc R.


Jan 29 '06 #1
4 843
Marc

In version 2005 that is standard in VB Net

I see this article for the first time, however I thought your part is at the
bottom.

http://msdn.microsoft.com/library/de...ratingdocs.asp

I hope this helps,

Cor

"Marc R." <No****@NewgroupsONLY.com> schreef in bericht
news:um**************@TK2MSFTNGP12.phx.gbl...
Hi all,

I just created a property for my class that inherits nodes to set and get
some additional fileds,

I would like to to enable on each property the tool tips that show while
we actually start to type the property's name into our codes like :

textbox1.textalign (has that information beside it : "Set or Get how text
is align in a system.windows.forms.textbox"

or into a dataview.item would say : "Get a row of data from the specified
table"

how can I implement that ?

I've tried something like that but I can be completely way out.
Public Property ID()

<summary> "would like to explain properties here" </summary>

Get

Return p_id

End Get

Set(ByVal Value)

p_id = Value

End Set

End Property

Marc R.

Jan 29 '06 #2
"Marc R." <No****@NewgroupsONLY.com> schrieb:
I just created a property for my class that inherits nodes to set and get
some additional fileds,

I would like to to enable on each property the tool tips that show while
we actually start to type the property's name into our codes like :

textbox1.textalign (has that information beside it : "Set or Get how text
is align in a system.windows.forms.textbox"

or into a dataview.item would say : "Get a row of data from the specified
table"

how can I implement that ?


Adding IntelliSense tooltips, XML comments, and documentation
<URL:http://dotnet.mvps.org/dotnet/faqs/?id=tooltipsxmldocumentation&lang=en>

--
M S Herfried K. Wagner
M V P <URL:http://dotnet.mvps.org/>
V B <URL:http://classicvb.org/petition/>

Jan 29 '06 #3
> I've tried something like that but I can be completely way out.
Public Property ID()

<summary> "would like to explain properties here" </summary>


The XML comment must be placed above property definition:
<summary> would like to explain properties here </summary>
Public Property ID()
....

Then you must generate XML documentation file and place it in the same
folder as your class DLL. You can use our VBdocman .NET to do all the
work for you. Here is the help topic for your particular need:
http://www.vbdocman.com/net/help/ind...ntext_help.htm

--
Peter Macej
Helixoft - http://www.vbdocman.com
VBdocman - Automatic generator of technical documentation for VB, VB
..NET and ASP .NET code
Jan 29 '06 #4
thanks for your help,

Most of the solutions are went you have an DLL, wich I don't use, that class
is only use for me to build my treeview with binded feild to a dataset.
Since I didn't discover no way to Bind a treview nodes to a dataset.

Thanks anyway, got good information for next project with an dll.

"Cor Ligthert [MVP]" <no************@planet.nl> wrote in message
news:%2****************@TK2MSFTNGP10.phx.gbl...
Marc

In version 2005 that is standard in VB Net

I see this article for the first time, however I thought your part is at
the bottom.

http://msdn.microsoft.com/library/de...ratingdocs.asp

I hope this helps,

Cor

"Marc R." <No****@NewgroupsONLY.com> schreef in bericht
news:um**************@TK2MSFTNGP12.phx.gbl...
Hi all,

I just created a property for my class that inherits nodes to set and get
some additional fileds,

I would like to to enable on each property the tool tips that show while
we actually start to type the property's name into our codes like :

textbox1.textalign (has that information beside it : "Set or Get how text
is align in a system.windows.forms.textbox"

or into a dataview.item would say : "Get a row of data from the specified
table"

how can I implement that ?

I've tried something like that but I can be completely way out.
Public Property ID()

<summary> "would like to explain properties here" </summary>

Get

Return p_id

End Get

Set(ByVal Value)

p_id = Value

End Set

End Property

Marc R.


Jan 30 '06 #5

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
by: Sean W. Quinn | last post by:
Hey folks, I have a question regarding file handling, and the preservation of class structure. I have a class (and I will post snippets of code later in the post) with both primitive data...
42
by: WindAndWaves | last post by:
Dear All Can you tell me why you use a class module??? Thank you Nicolaas ---
0
by: Ed West | last post by:
Hello, I am wondering about best practices for class hierarchies and using ADO.Net, especially the DataSet update/delete commands and the data relations... this needs to package/unpackage to xml...
4
by: Ray Dukes | last post by:
What I am looking to do is map the implementation of interface properties and functions to an inherited method of the base class. Please see below. ...
37
by: Joergen Bech | last post by:
(Slightly religious question): Suppose I have the following class: ---snip--- Public Class MyClass Private _MyVariable As Integer Public Property MyVariable() As Integer Get
4
by: Tony Johansson | last post by:
Hello! I have a class definition called MyClass see below. I create an instance of this class MyClass I also want this instance to be able to modify the test instance that exist in this...
6
by: JonathanOrlev | last post by:
Hello everyone, I have a newbe question: In Access (2003) VBA, what is the difference between a Module and a Class Module in the VBA development environment? If I remember correctly, new...
0
ADezii
by: ADezii | last post by:
The motivation for this Tip was a question asked by one of our Resident Experts, FishVal. The question was: How to Declare Default Method/Property in a Class Module? My response to the question was...
20
by: tshad | last post by:
Using VS 2003, I am trying to take a class that I created to create new variable types to handle nulls and track changes to standard variable types. This is for use with database variables. This...
2
by: Reggie | last post by:
Hi and TIA! I have a class file located in my root directory with all me web pages. I call/use the class and it works fine. I have no imports statements aspx or codebehind. My question is why? ...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.