|
-
Mar 15th, 2007, 04:40 AM
#1
vbcode
[vbcode]
Dim int As String
[/vbcode]
-
Mar 15th, 2007, 04:47 AM
#2
Re: vbcode
[vbcode]
If Msgbox("Does this work?,vbQuestion") = vbYes Then
Msgbox "It worked"
Else
Msgbox "It didn't work"
End If
[/vbcode]
-
Mar 15th, 2007, 09:15 AM
#3
Re: 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.
-
Mar 15th, 2007, 11:15 AM
#4
Re: vbcode
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.
-
Mar 15th, 2007, 12:39 PM
#5
Re: vbcode
vb Code:
Dim si_the_geek As Object
-
Mar 15th, 2007, 12:39 PM
#6
Re: vbcode
Very good! I'm sure you get tired of being treated like an object though...
-
Mar 15th, 2007, 12:44 PM
#7
Re: vbcode
It depends on the circumstances.. I'll never get tired of being Dim tho!
-
Mar 15th, 2007, 08:49 PM
#8
Re: vbcode
vb Code:
Dim i As Integer
i = 2
Msgbox "This is attempt #" & i
EDIT: Woohoo, got it working
Last edited by lintz; Mar 16th, 2007 at 02:23 AM.
-
Mar 29th, 2007, 06:54 AM
#9
Re: vbcode
[vbcode]
Dim foo as Object
[/vbcode]
-
Mar 29th, 2007, 12:20 PM
#10
Re: vbcode
The [vbcode] tags are gone, this is the new tag:
[HIGHLIGHT=vb]
Dim foo as Object
[/HIGHLIGHT]
..which gives:
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
-
Mar 29th, 2007, 06:27 PM
#11
Re: vbcode
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
-
Mar 30th, 2007, 10:10 AM
#12
Re: vbcode
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.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|