Hi,
Just a quickie for your old timers (in experience, not years)
How do I get posted code to look like .NET code, i.e. with indentations?
Although I always use indentations, they disappear on posting.
Printable View
Hi,
Just a quickie for your old timers (in experience, not years)
How do I get posted code to look like .NET code, i.e. with indentations?
Although I always use indentations, they disappear on posting.
I dont know if VB.Net code is coloured the same way as VB code, but his is how you would post VB code:
[vbcode]
If (my_var = True) Then
Msgbox "Hello"
End If
[/vbcode]
which is displayed as:
VB Code:
If (my_var = True) Then Msgbox "Hello" End If
(you can also use code instead of vbcode to not show the colouring)
Hi,
Many thanks, I will try both on my next post.
You can also just hit the VB button and it will put the tags in for you.