473,786 Members | 2,806 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

IntelliSense Code Comments?

I am creating my own library (.DLL), I need to know the code to put a
comments or Tooltip to my library. I want a Tooltip when I choose any
function of my library when I working with, like the original library of VB
when I press Ctrl & SpaceBar and I put the mouse point over the function name
it show me a tooltip with description of this function and short explain of
this.

ThanKs,
Mar 28 '06 #1
4 1574
You need to use XML comments and generate XML documentation file from
them. Then you just place this XML file in the same folder as your DLL.
IntelliSense and Object Browser help will work then. See
http://www.vbdocman.com/net/help/ind...ntext_help.htm
for more info.

There are several tools that you can use for it, including our VBdocman
..NET.

--
Peter Macej
Helixoft - http://www.vbdocman.com
VBdocman - Automatic generator of technical documentation for VB, VB
..NET and ASP .NET code
Mar 28 '06 #2
If you are using vs2005 put ''' above your functions or sub and press ENTER
..
vs2003 search for addin "VBCommente r" .

[]'s
Luis Gustavo

"Elioth" <El****@discuss ions.microsoft. com> wrote in message
news:36******** *************** ***********@mic rosoft.com...
I am creating my own library (.DLL), I need to know the code to put a
comments or Tooltip to my library. I want a Tooltip when I choose any
function of my library when I working with, like the original library of
VB
when I press Ctrl & SpaceBar and I put the mouse point over the function
name
it show me a tooltip with description of this function and short explain
of
this.

ThanKs,

Mar 28 '06 #3
Thanks Gustavo, it work fine.

"Luis Gustavo" wrote:
If you are using vs2005 put ''' above your functions or sub and press ENTER
..
vs2003 search for addin "VBCommente r" .

[]'s
Luis Gustavo

"Elioth" <El****@discuss ions.microsoft. com> wrote in message
news:36******** *************** ***********@mic rosoft.com...
I am creating my own library (.DLL), I need to know the code to put a
comments or Tooltip to my library. I want a Tooltip when I choose any
function of my library when I working with, like the original library of
VB
when I press Ctrl & SpaceBar and I put the mouse point over the function
name
it show me a tooltip with description of this function and short explain
of
this.

ThanKs,


Mar 28 '06 #4
"Elioth" <El****@discuss ions.microsoft. com> schrieb:
I am creating my own library (.DLL), I need to know the code to put a
comments or Tooltip to my library. I want a Tooltip when I choose any
function of my library when I working with, like the original library of
VB
when I press Ctrl & SpaceBar and I put the mouse point over the function
name
it show me a tooltip with description of this function and short explain
of
this.


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

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

Mar 28 '06 #5

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

Similar topics

6
1639
by: Mark | last post by:
When developing C# applications in VS.NET, you get intellisense descriptions for all methods in the .NET class libraries. I've created my own .NET assembly and included /// C# documentation of all my methods, classes, etc.. The intellisense works great when this .NET assembly project is included in the solution I'm working on. However, if I just make a reference to the ..dll file instead of including the 'project', the...
1
6087
by: Bob | last post by:
The xml comments I have on my public methods (using summary tag) only shows up in the project where the class itself is in. Once I compile the project (a class libraray project), and refrence the DLL from another project, the comments don't show up anymore in VS.NET interllisense. Does anyone know what I need to do for the comments to show up when using the DLL in another project?
2
5001
by: carl.manaster | last post by:
Hi, Within my project, I've got a number of classes in separate files. When I point at the name of a class in the file in which it is defined, it shows the <summary> information for the class in a tooltip. But when I point at the name of a class in some other file (still in the same project), it just shows "class " and the name of the class. I looked into generating an XML file, but it produced a bunch of errors because I don't have...
9
3259
by: Jim Starcher | last post by:
I cannot get the intellisense hints to work on my class constructors. Would you please tell me what I am doing wrong? public class MyObject { //Constructors /// <summary> /// Used to create an empty MyObject. /// Will use the default property values.
2
1401
by: Mythran | last post by:
I have asked this question here before but was given an answer I didn't like (stubborn I am!). I believe the way my question was interpreted was not as I had hoped...so I am trying again. In C#, code commenting with Intellisense is used. In VB.Net, it's not. Fine, dandy, but not what I am looking for. I just want to write the XML by hand and use it in my library so it displays the intellisense itself, not through code comments <--...
1
1325
by: Joe | last post by:
I have the XML Documentation File property set to the name of my library. The file seems to build correctly and appears in the Debug folder of that library. When I add that library project as a reference to another application, the XML gets put in the debug file of the 2nd application but doesn't show up as a intellisense tooltip it only displays in the object inspector. Any thoughts? -Joe
4
1321
by: Egbert Nierop \(MVP for IIS\) | last post by:
Hi, I'm puzzled about comments & intellisense. Sometimes, during programming, you get comments that were typed just above the declaration in the header files, but sometimes, not while -there are- comments just above the declaration. Is this simply a bug or are the special conditions that apply? Thanks!
6
7287
by: Brett Romero | last post by:
I've added comments to a method in A.dll. B.exe references A.dll. I see the new method and only the stock comment (type methodname()) in intellisense. However, when I use object browser from B.exe to view A.dll, I see the new method and all the comments. How do I get the comments to come through in B.exe via intellisense when I scroll to that method? Thanks, Brett
1
1599
by: clemenslinders | last post by:
Adding comments aka QuickInfo to intellisense: On this forum I found in it's history the following thread: http://www.thescripts.com/forum/thread254408.html Someone also wanted to add comments to his methods that would show up using intellisense. In the above mentioned thread Relaxin mentions: > /// <summary> > /// Adds string to collection.
0
9650
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, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
10363
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, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
1
10110
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 Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
9962
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
8992
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, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
7515
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
6748
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5398
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
3
2894
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.