Results 1 to 6 of 6

Thread: why does [vbcode] not work?

  1. #1

    Thread Starter
    PowerPoster JuggaloBrotha's Avatar
    Join Date
    Sep 2005
    Location
    Lansing, MI; USA
    Posts
    4,286

    why does [vbcode] not work?

    I'm just wondering why the admin hasn't fixed the [ vbcode][ /vbcode] tags yet, seems like they would have noticed that a few months ago.
    Currently using VS 2015 Enterprise on Win10 Enterprise x64.

    CodeBank: All ThreadsColors ComboBoxFading & Gradient FormMoveItemListBox/MoveItemListViewMultilineListBoxMenuButtonToolStripCheckBoxStart with Windows

  2. #2
    Fanatic Member
    Join Date
    Nov 2006
    Posts
    675

    Re: why does [vbcode] not work?

    I belive the way tags operate now is intentional. Thats why I switched to quote. There is a way to have it display VC code, but it has those annoying line numbers out to the side (which I have yet to see someone reference).
    VB.Net 2008
    .Net Framework 2.0

    "Must you breathe? 'Cause I need heaven..."

  3. #3
    I'm about to be a PowerPoster! kleinma's Avatar
    Join Date
    Nov 2001
    Location
    NJ - USA (Near NYC)
    Posts
    23,373

    Re: why does [vbcode] not work?

    you can either use the standard CODE tags that have always existed, or you can use HIGHLIGHT tags, which use the syntax

    [ HIGHLIGHT=vb][/HIGHLIGHT]

    the drawback to using highlight is that if you copy and paste code FROM The forum into something like the IDE, it does NOT give you line breaks which is rather annoying. That is why post people have just been using code tags, but they do not provide syntax highlighting.

    The VBCODE tags were a hack that we applied to the forum, and they no longer function after we upgraded the forum. There are currently no plans to bring them back, but we might be able to make some improvements on the HIGHLIGHT tags.

  4. #4
    I'm about to be a PowerPoster! Hack's Avatar
    Join Date
    Aug 2001
    Location
    Searching for mendhak
    Posts
    58,333

    Re: why does [vbcode] not work?

    The highlight tags are useful (other than the copy n paste faux pas) because they apply to more than just vb.

    For instance, you can also do:

    [ HIGHLIGHT=c][/HIGHLIGHT]
    [ HIGHLIGHT=sql][/HIGHLIGHT]
    [ HIGHLIGHT=php][/HIGHLIGHT]

  5. #5

    Thread Starter
    PowerPoster JuggaloBrotha's Avatar
    Join Date
    Sep 2005
    Location
    Lansing, MI; USA
    Posts
    4,286

    Re: why does [vbcode] not work?

    i guess i'll start using the highlight tags

    thanks for the info
    Currently using VS 2015 Enterprise on Win10 Enterprise x64.

    CodeBank: All ThreadsColors ComboBoxFading & Gradient FormMoveItemListBox/MoveItemListViewMultilineListBoxMenuButtonToolStripCheckBoxStart with Windows

  6. #6
    I'm about to be a PowerPoster! Hack's Avatar
    Join Date
    Aug 2001
    Location
    Searching for mendhak
    Posts
    58,333

    Re: why does [vbcode] not work?

    Also, Martin Liss has developed an addin that addresses the copy/paste issue with the Highlight Tags.

    You can find that add-in here.

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