Results 1 to 9 of 9

Thread: [RESOLVED] Use highlight vb.NET to show code in Visual Basic .NET forum.

Hybrid View

  1. #1
    Super Moderator jmcilhinney's Avatar
    Join Date
    May 2005
    Location
    Sydney, Australia
    Posts
    111,221

    Re: Use highlight vb.NET to show code in Visual Basic .NET forum.

    You can select it the same way as always but it doesn't do anything useful anymore. I believe that it used a custom script that broke and had to be fixed every time the forum software was upgraded. Some time back, they just stopped fixing it. Not sure whether it was because one particular upgrade made it more difficult to fix or they just decided that it wasn't worth the hassle anymore. All posts that use that tag no longer display syntax colouring like they used to.
    Why is my data not saved to my database? | MSDN Data Walkthroughs
    VBForums Database Development FAQ
    My CodeBank Submissions: VB | C#
    My Blog: Data Among Multiple Forms (3 parts)
    Beginner Tutorials: VB | C# | SQL

  2. #2

    Thread Starter
    PowerPoster Poppa Mintin's Avatar
    Join Date
    Mar 2009
    Location
    Bottesford, North Lincolnshire, England.
    Posts
    2,500

    Re: Use highlight vb.NET to show code in Visual Basic .NET forum.

    Oh...
    'The same way as always' doesn't exist on my version of VS2019 which was installed this year from the Microsoft website.
    So I guess we can't display line numbered code any more ?
    Along with the sunshine there has to be a little rain sometime.

  3. #3
    Super Moderator jmcilhinney's Avatar
    Join Date
    May 2005
    Location
    Sydney, Australia
    Posts
    111,221

    Re: Use highlight vb.NET to show code in Visual Basic .NET forum.

    Quote Originally Posted by Poppa Mintin View Post
    'The same way as always' doesn't exist on my version of VS2019 which was installed this year from the Microsoft website.
    It's got nothing to do with VS or VB. It's a feature of this forum... or it was, at least. The same way as always is clicking the VB (looks like VE) button on the editor toolbar, which tells you that it will add a HIGHLIGHT tag if you hover over it. As I said, selecting VB.NET as the option used to invoke a custom script to add line numbers and syntax highlighting but that script no longer works. Are you talking about something different?
    Why is my data not saved to my database? | MSDN Data Walkthroughs
    VBForums Database Development FAQ
    My CodeBank Submissions: VB | C#
    My Blog: Data Among Multiple Forms (3 parts)
    Beginner Tutorials: VB | C# | SQL

  4. #4

    Thread Starter
    PowerPoster Poppa Mintin's Avatar
    Join Date
    Mar 2009
    Location
    Bottesford, North Lincolnshire, England.
    Posts
    2,500

    Re: Use highlight vb.NET to show code in Visual Basic .NET forum.

    Oh !
    I'd swear that wasn't there when I started this thread, I passed the cursor over every button and never found highlight, it's there now though. My memory's not too good these days, but I'm sure that previously there were more buttons on that top row than there are now.

    Thanks John


    Poppa


    PS
    Ah... I just clicked 'Go advanced' to check my typing and all the stuff which used to be there has appeared. In three rows now.

    Pop
    Along with the sunshine there has to be a little rain sometime.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width