Results 1 to 3 of 3

Thread: [RESOLVED] Code tags

Hybrid View

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

    Re: Code tags

    In the advanced editor there is a button for HIGHLIGHT tags and it prompts you for an option. If you posting VB6 code, the option should be "vb". Use "vb.net" for VB.NET code. You can also use "sql" and others. E.g. this:

    [highlight=vb.net]Dim str As String = "Hello World"[/highlight]

    produces this:
    vb.net Code:
    1. Dim str As String = "Hello World"
    Just note that the HIGHLIGHT tag doesn't support other formatting internally. That means that you must use [code] tags if you want to use bold, underline or colouring on specific parts of your code.
    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
    Hyperactive Member mbutler755's Avatar
    Join Date
    May 2008
    Location
    Peoria, AZ
    Posts
    417

    Re: Code tags

    Thank you.
    Regards,

    Matt Butler, MBA, BSIT/SE, MCBP
    Owner, Intense IT, LLC
    Find us on Facebook
    Follow us on Twitter
    Link up on LinkedIn
    mb (at) i2t.us

    CODE BANK SUBMISSIONS: Converting Images to Base64 and Back Again

Tags for this Thread

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