[vbcode]
Dim int As String
[/vbcode]
vb Code:
Dim int As String
Printable View
[vbcode]
Dim int As String
[/vbcode]
vb Code:
Dim int As String
[vbcode]
If Msgbox("Does this work?,vbQuestion") = vbYes Then
Msgbox "It worked"
Else
Msgbox "It didn't work"
End If
[/vbcode]
More typing required to get the [highlight=vb] tags in place, but that's what a good coder does. He types.
Or he could just press the VBCode button and add =vb in there.
If you use the Quick Reply box, the =vb part is added automatically when you click on "Post ...", but not for "Go Advanced".
It's not ideal, but seems to be the best that can be done given the way this version of the forum software works.
vb Code:
Dim si_the_geek As Object
Very good! I'm sure you get tired of being treated like an object though...
It depends on the circumstances.. I'll never get tired of being Dim tho! :ehh:
vb Code:
Dim i As Integer i = 2 Msgbox "This is attempt #" & i
EDIT: Woohoo, got it working :D
[vbcode]
Dim foo as Object
[/vbcode]
The [vbcode] tags are gone, this is the new tag:
[HIGHLIGHT=vb]
Dim foo as Object
[/HIGHLIGHT]
..which gives:
vb Code:
Dim foo as Object
There are also other languages it covers, so instead of just "vb" you can also use "c#", "sql", etc.. some examples can be seen here
I prefer [CODE] tags
Code:
Option Explicit
Private Sub Form_Load()
Dim SiTheGeek As Object
SiTheGeek.Caption = "I'm a Geek not Greek"
For i = 1 To 8
SiTheGeek.RepPoints.Add
Next
SiTheGeek.Avatar = Picture1.Picture
End Sub
At the moment so do I (not that I bother with all the work of colouring it tho!), but we should have 'corrections' to the Highlight tags in a month or so.