When posting VB code, I can only located the tags for CODE, PHP and HTML.
How do I post VB code and have highlights? I can't seem to figure it out.
Printable View
When posting VB code, I can only located the tags for CODE, PHP and HTML.
How do I post VB code and have highlights? I can't seem to figure it out.
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: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.vb.net Code:
Dim str As String = "Hello World"
Thank you.