Click to See Complete Forum and Search --> : discription of a function in a class?
Pirate
Dec 4th, 2002, 03:06 PM
I'm making a lot of functions and subs in a class then call them into the form , how can I add some discription so that it appears when calling it.Just in vb.net when the yellow box appears showing so the usage of a function or method.
Regards
Edneeis
Dec 4th, 2002, 03:31 PM
You can do this in the IDE with C# but for VB you have to use a third party tool to add them in after then fact.
Pirate
Dec 4th, 2002, 04:06 PM
umm , do you know where can I find that tool Edneeis.???
thanx a lot ;)
PT Exorcist
Dec 4th, 2002, 04:09 PM
bah that's one of the reasons that make C# own vb.net
Pirate
Dec 4th, 2002, 04:18 PM
hehe , you're jokking man .MS will never mention such this thing which featurize C# on VB.NET .
wyrd
Dec 4th, 2002, 04:19 PM
You need to use this for VB.NET;
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnvssamp/html/vbcs_xmlcomments.asp?frame=true
Edneeis
Dec 4th, 2002, 04:32 PM
Well I don't actually use on myself. I know there is one on msdn I'll find a link for you. Well here is one.
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnvssamp/html/vbcs_xmlcomments.asp?frame=true
I can't say its the most exciting product I've ever seen it but it seems to do the job.
Or if you want to pay I saw this one:
http://www.fesersoft.com/products/vbxmlcomments/default.asp
Damn I'm too slow wyrd beat me too it while I was searchinf gotdotnet for where I saw that link. (And it was in one of his posts or questions)
Pirate
Dec 4th, 2002, 05:18 PM
doesn't that to do with XML files?????
maybe you didn't get my point.
I want to write discription for my Class or Functions , so when I call it , menu of the class or function members will be shown but ofcurse without discription .In VB.NET classes or functions menu are heavily discripted.
I can't explain that any more .It seems very obvious.
I appreciate it.
Edneeis
Dec 4th, 2002, 06:46 PM
Yes and the IDE does this through XML files that accompany your dlls, I got the point.
wyrd
Dec 5th, 2002, 12:38 AM
Yeah I asked this same question on gotdotnet.com a couple of weeks ago. :) Seems to be one of those odd ball questions that no one really knows the answer to except a couple people.
Pirate
Dec 5th, 2002, 03:50 PM
OK guys , I became silly in this post :rolleyes: but how can I add a Class file not dll .I thought I could edit the file and then add some discription on the top of the function.It sounds very easy but I dunno really .
Edneeis
Dec 5th, 2002, 04:03 PM
I think it only works for dlls not on classes although you could try loading the exe in the documentor maybe? Or you can use C# which lets you write the xml comments right in the IDE and does it all for you.
Pirate
Dec 5th, 2002, 04:07 PM
I've just tried loading exe file but gives error.It seems no way to do it right in the IDE.
thanx man for your time.
vbforums.com
Copyright Internet.com Inc., All Rights Reserved.