Results 1 to 4 of 4

Thread: Formatting Postings

  1. #1

    Thread Starter
    PowerPoster
    Join Date
    Dec 2003
    Location
    Bristol, England (but heart is in Virginia)
    Posts
    2,949

    Formatting Postings

    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.
    Taxes
    The more I learn about VB.NET the more I like dBaseIII Plus

    The foregoing, whilst believed to be correct, is given without guarantee as to it's accuracy and entirely without recourse. You are required to decide for yourself whether or not it is suitable for your purposes and no liability for loss of any nature can be entertained.

  2. #2
    Super Moderator si_the_geek's Avatar
    Join Date
    Jul 2002
    Location
    Bristol, UK
    Posts
    41,974
    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:
    1. If (my_var = True) Then
    2.   Msgbox "Hello"
    3. End If

    (you can also use code instead of vbcode to not show the colouring)

  3. #3

    Thread Starter
    PowerPoster
    Join Date
    Dec 2003
    Location
    Bristol, England (but heart is in Virginia)
    Posts
    2,949
    Hi,

    Many thanks, I will try both on my next post.
    Taxes
    The more I learn about VB.NET the more I like dBaseIII Plus

    The foregoing, whilst believed to be correct, is given without guarantee as to it's accuracy and entirely without recourse. You are required to decide for yourself whether or not it is suitable for your purposes and no liability for loss of any nature can be entertained.

  4. #4
    Fanatic Member VBCrazyCoder's Avatar
    Join Date
    Apr 2003
    Posts
    681
    You can also just hit the VB button and it will put the tags in for you.

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