Results 1 to 3 of 3

Thread: VB Code

  1. #1

    Thread Starter
    Addicted Member
    Join Date
    Sep 2001
    Location
    Canada
    Posts
    202

    Post VB Code

    This may seem kind of stupid but how do I post formated VB Code... I see it some posts all of the time but I don't know how to do it myself!

  2. #2
    [vbcode]
    Msgbox "hello"
    [/vbcode]

    produces this

    VB Code:
    1. Msgbox "hello"

  3. #3
    PowerPoster Fox's Avatar
    Join Date
    Jan 2000
    Location
    *afk*
    Posts
    2,088
    See the vBulletin Tool link in my signature? This is a handy little utililty to convert code to vB forums or HTML, looks like this:

    Code:
    Option Explicit
    
    'Consts
        Public Const NL As String = vbNewLine
        
        Public Const Key_End As Long = vbKeyEscape
        Public Const Key_Up As Long = vbKeyUp
        Public Const Key_Down As Long = vbKeyDown
        Public Const Key_Left As Long = vbKeyLeft
        
    'Types
        Public Type tKey
            Down As Boolean
            
            Delay As Long
        End Type
        
    'Declares
        Public Declare Function GetTickCount Lib "kernel32" () As Long
    
    'Variables
        Public Version As String
        Public Path As String
    
    'Code improved by vBulletin Tool 2.0

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