Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

comment in VB2005

Status
Not open for further replies.

s2001

Programmer
Dec 7, 2001
132
0
0
US
Guys,
How do you add comments in vb 2005? I know in c# you achieve this by using the <summary> tag. Any help would be much appreciated. I have looked up on the web and most of tools are for vb 2k3.



Thanks,
MB
 
just type three ' or right click and choose insert comment.

You will need sandcastle and/or sandcastle builder to make the documentation.

Christiaan Baes
Belgium

"My old site" - Me
 
hi chris,
thanks for the reply. It does not work for me. I am using vb2k5. Are you using some add-in?


Thanks,
MB
 
in a class. Example:

Imports Microsoft.VisualBasic
Imports System.Data

Public Class User

Public Function CreateUserAccount(ByVal username As String, ByVal password As String, ByVal emailaddress As String)
'''

End Function

End Class


Thanks,
MB
 
Also, i do not have right click insert comment.

Thanks,
MB
 
Place the triple single quotes on the line just above the Public Function Declaration.

=======================================
People think it must be fun to be a super genius, but they don't realize how hard it is to put up with all the idiots in the world. (Calvin from Calvin And Hobbs)

Robert L. Johnson III
CCNA, CCDA, MCSA, CNA, Net+, A+, CHDP
VB/Access Programmer
 
duh...thnx a lot...

Thanks,
MB
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top