Asking for the moon...

There is an [m s h e l p] tag which does something similar given the complete url of a local help page from the vs.net or framework sdk documentation.

Derek kindly made it for us, so perhaps he could clarify exactly how it works.
 
Wow. I did something "kindly" for once. What a change...

You can use the [mshelp] tag like such:

[mshelp]ms-help://MS.VSCC/MS.MSDNVS/cpref/html/frlrfSystemExceptionClassTopic.htm[mshelp]
[mshelp=ms-help://MS.VSCC/MS.MSDNVS/cpref/html/frlrfSystemExceptionClassTopic.htm]Exception class[/mshelp]

... which would generate the following:

[mshelp]ms-help://MS.VSCC/MS.MSDNVS/cpref/html/frlrfSystemExceptionClassTopic.htm[/mshelp]
[mshelp=ms-help://MS.VSCC/MS.MSDNVS/cpref/html/frlrfSystemExceptionClassTopic.htm]Exception class[/mshelp]

The tags take a ms-help:// URI as input, which is easily retrieved from a local installation of the .NET Framework SDK or MSDN.

As for what youre asking for? That would be rather tricky to accomplish, since mapping one word to its associated MSDN topic would be very tricky.

With that said we could generate a working redirect script over time that could be added to. I can start one on EliteVB if you wish. Either that or we could work on a more user-friendly version of MSDN, hosted and updated by us. This of course would require community support, since were all busy people.
 
Alright. I have an ASP.NET page running on our server which translates a fully-qualified class name or a namespace into its associated reference document on MSDN. This utility is limited, since it will not except a class that isnt fully qualified. For example, the utility will accept "System.Environment" but not "Environment". I dont see this as much of a problem, although I will work on a solution to allow for short class names.

If an administrator could create a vB Tag for this utility it would be great. The utility is located at the following URI:
http://www.elitevb.com/tools/msdn7itr/

It can be used like so:
http://www.elitevb.com/tools/msdn7itr/?item=System.IO
http://www.elitevb.com/tools/msdn7itr/?item=System.Environment

As Merrion suggested, I think [msdn] would be an appropriate name for the tag.
 
Ask and you shall receive.

Ive done both methods:

[msdn]System.IO[/msdn] = [msdn]System.IO[/msdn]
[msdn=System.IO]Find info on System.IO here[/msdn] = [msdn=System.IO]Find info on System.IO here[/msdn]
 
It really is improper to open a new window everytime a link is clicked. The user always has the option to open the link in a new window (by pressing shift or by right-clicking on the link). This is one part of vBulletin that I dont care for.
 
Derek, this is true, but when a link directs a user away from the original site, isnt it better to open a new browser.
 
Its probably better for sites aimed at novice users who may find themselves getting lost. However, for programmers, who by definition should be relatively advanced, it is just annoying to have the choice taken away.
 
VBulletin opens internal links in new windows, which there is no reason for it to be doing. This is unacceptable, and you wont find too many people to argue against that. Of course vBulletin also opens external links in new windows, which is slightly justified, if not still a huge annoyance. I wouldnt bring it up if only external links opened in new browsers, but personally I find the lack of the control that a user should have... well, just that-- lacking.
 
Youre right it is better to be given a choice, but I find myself (on this site) always opening links in a new window. Especially when reading threads, Ill open 5, 10 at one time.
 
Im guessing you included parenthesis after the namespace and class. This is not handled as of yet. For the time being enter parenthesis after the [msdn] tag.
[edit]The utility doesnt support methods yet anyway. Only namespaces and classes.[/edit]
 
Last edited by a moderator:
[msdn=System.Diagnostics.Process]Process Class[/msdn]
[msdn]System.Diagnostics.Process[/msdn]
[edit]The above do not work, as you have stated. Ill look for the problem as soon as possible. Thanks for letting me know.[/edit]
[edit]The problem is now fixed. Thanks again.[/edit]
 
Last edited by a moderator:
Back
Top