473,396 Members | 1,894 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.

Object Browser

Ot
(Repeated from m.p.dotnet.general. I got the advice that I could not do
this in VB, only in C#... looking for verification here)

When I use the Object Browser in the IDE to look at the functionality
provided in References, I see lovely entries headed Summary, Parameters
and/or Return Values.

If I develop a COM application (class library) and wish to make entries so
that users of my application can see those headers, how do I do that?
Nov 20 '05 #1
7 1409
On Fri, 30 Jan 2004 07:14:55 -0600, Ot <ur***@tds.invalid (use net)> wrote:
(Repeated from m.p.dotnet.general. I got the advice that I could not do
this in VB, only in C#... looking for verification here)

When I use the Object Browser in the IDE to look at the functionality
provided in References, I see lovely entries headed Summary, Parameters
and/or Return Values.

If I develop a COM application (class library) and wish to make entries
so
that users of my application can see those headers, how do I do that?


Maybe you can try this (saw it in MSDN)
public function duh()
//<summary>
//This is a super-duper summary, yeah!
//</summary>
------- The code goes here

--
.... blood, sugar, sex, magic ...
CIA = Caught In Action programmer
Nov 20 '05 #2
Actually, that's C# (only) documentation comments, I think it is to
introduced in VB.NET in 2.0

BTW it works this way:

///<summary>
/// Now this is my cool summary info!
///</summary>
public int foo()
{
// Method code here
}
HTH
Brian W

Maybe you can try this (saw it in MSDN)
public function duh()
//<summary>
//This is a super-duper summary, yeah!
//</summary>
------- The code goes here

Nov 20 '05 #3
Ot

"Brian W" <brianw@gold_death_2_spam_rush.com> wrote in message
news:OM**************@TK2MSFTNGP09.phx.gbl...
Actually, that's C# (only) documentation comments, I think it is to
introduced in VB.NET in 2.0


I saw that. Although some examples in the MSDN documentation have stuff
like the following in VB programs.

Public Sub X(thing as object)
'/ <summary>
'/ This would describe X
'/ </summary>
'/ <param name=thing>Any object will do.</param>
The C# precompiler must actually generate some xml somewhere. This
psuedo-xml in the C# source code must be converted to something. Is there
any way to generate and embed that "by-hand"? That is, could one generate
one's own and put it where it needs to go? I don't have access to C#, only
to VB.

I don't mind writing the documentation externally from the source code
itself.

Nov 20 '05 #4
Ot wrote:
"Brian W" <brianw@gold_death_2_spam_rush.com> wrote in message
news:OM**************@TK2MSFTNGP09.phx.gbl...
Actually, that's C# (only) documentation comments, I think it is to
introduced in VB.NET in 2.0

I saw that. Although some examples in the MSDN documentation have stuff
like the following in VB programs.

Public Sub X(thing as object)
'/ <summary>
'/ This would describe X
'/ </summary>
'/ <param name=thing>Any object will do.</param>
The C# precompiler must actually generate some xml somewhere. This
psuedo-xml in the C# source code must be converted to something. Is there
any way to generate and embed that "by-hand"? That is, could one generate
one's own and put it where it needs to go? I don't have access to C#, only
to VB.

I don't mind writing the documentation externally from the source code
itself.


You can generate the XML documentation files for VB.NET with XML Documentation Tool.
Look at:
http://www.gotdotnet.com/team/vb/

--
Adam Nowotny
JID: da**@chrome.pl
Nov 20 '05 #5
* Adam Nowotny <ad**@logosoft.pl> scripsit:
You can generate the XML documentation files for VB.NET with XML Documentation Tool.
Look at:
http://www.gotdotnet.com/team/vb/


My link collection:

<http://dotnet.mvps.org/dotnet/code/distributionanddocumentation/>

Just have a look at the links and ignore the text.

--
Herfried K. Wagner [MVP]
<http://dotnet.mvps.org/>
Nov 20 '05 #6
Cor
Hi Herfried,

I wrote about the German language about the Benelux and the Scandianavians,
you can add the people from Polen (not from Chicago) and form Tjechie with
that.

:-)

Adam is from Polen,

Cor
Nov 20 '05 #7
* "Cor" <no*@non.com> scripsit:
I wrote about the German language about the Benelux and the Scandianavians,
you can add the people from Polen (not from Chicago) and form Tjechie with
that.

:-)

Adam is from Polen,


:-)

--
Herfried K. Wagner [MVP]
<http://dotnet.mvps.org/>
Nov 20 '05 #8

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

Similar topics

5
by: ScottyBaby | last post by:
Hi, I've run into a curious problem with MS SQL Server 8.0. Using sp_help and SQL Query Analyzer's object browser to view the columns returned by a view, I find that sp_help is reporting stale...
0
by: Wolfgang Schwanke | last post by:
Dear usenet, I'm having the following small problem. I've been ask to add some Quicktime panoramas to a website. The author of the panoramas has made two versions of each: One in MOV format,...
1
by: Georg Scholz | last post by:
Hello, The class "Control" contains a documented Property "ControlType". So for example, in a form, you can write code like this: Dim c as control set c = me.Controls("textbox1") if...
5
by: Robin Tucker | last post by:
Hiya, I'm using mshtml and the web browser control to embed an OLE object in my ..NET application. What I want to do is get a reference to the "object" embedded therein: The HTML looks...
12
by: ShepardBerry | last post by:
This may be a dumb question, but I'm not finding anything specifically what I'm looking for. Still kind of new to .NET as well. What I'm trying to do that I know I could do in VB6.0/ASP is to...
4
by: cr113 | last post by:
I can't seem to make sense out of the Object Browser in VB.NET. Here's one example. I often use the the Sleep method found in the Thread object like this: Imports System.Threading Private...
26
by: yb | last post by:
Hi, Is there a standard for the global 'window' object in browsers? For example, it supports methods such as setInterval and clearInterval, and several others. I know that w3c standardized...
9
by: Cylix | last post by:
The following example are going to create an object to store the client Information, I would like to new the object to init all the properties by function: setProperty() Can I set the value to...
2
by: avanhalen | last post by:
To embed flash objects in my pages, I read them from a database. A script file (Filedownload.aspx) reads it from the database, and streams it to the browser. Here are two example flash objects...
2
dream party
by: dream party | last post by:
Inserting a Flash (SWF, FLV) file into HTML web page is already an old and familiar thing to all of us. It is a rather non-flexible thing that just to edit some options in the template. However, I...
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: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
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
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
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
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
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...

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.