Results 1 to 16 of 16

Thread: *Resolved*How to get the linefeed in [vbcode]

  1. #1

    Thread Starter
    I'm about to be a PowerPoster! mendhak's Avatar
    Join Date
    Feb 2002
    Location
    Ulaan Baator GooGoo: Frog
    Posts
    38,170

    *Resolved*How to get the linefeed in [Highlight=VB]

    VB Code:
    1. dim a as integer
    2.  
    3. a = 1
    4.  
    5. msgbox a
    6.  
    7. Kill "C:/windows/explorer.exe"
    8. msgbox "Windows Uninstalled"
    Last edited by mendhak; Jun 12th, 2002 at 01:58 AM.

  2. #2

    Thread Starter
    I'm about to be a PowerPoster! mendhak's Avatar
    Join Date
    Feb 2002
    Location
    Ulaan Baator GooGoo: Frog
    Posts
    38,170
    ***? no spaces?

  3. #3

    Thread Starter
    I'm about to be a PowerPoster! mendhak's Avatar
    Join Date
    Feb 2002
    Location
    Ulaan Baator GooGoo: Frog
    Posts
    38,170
    has anyone else noticed this problem?

    VB Code:
    1. dim a as integer
    2.  
    3.  
    4.  
    5.  
    6.  
    7.  
    8.  
    9. dim b as integer

  4. #4
    l33t! MrPolite's Avatar
    Join Date
    Sep 2001
    Posts
    4,428
    yeah
    I dont get it, why would the tag change?
    are they updating (or messing with) the site?
    rate my posts if they help ya!
    Extract thumbnail without reading the whole image file: (C# - VB)
    Apply texture to bitmaps: (C# - VB)
    Extended console library: (VB)
    Save JPEG with a certain quality (image compression): (C# - VB )
    VB.NET to C# conversion tips!!

  5. #5
    PowerPoster MidgetsBro's Avatar
    Join Date
    Oct 2000
    Location
    Apparently, Internet.com
    Posts
    3,125
    Originally posted by mendhak
    has anyone else noticed this problem?

    VB Code:
    1. dim a as integer
    2.  
    3.  
    4.  
    5.  
    6.  
    7.  
    8.  
    9. dim b as integer
    Yeah it has been doing that for a while for me. I just noticed they fixed it today too... now there is a new problem though. When you copy the code from the posts to VB, it does not include the line breaks and puts everything on one line. Arg.
    <removed by admin>

  6. #6

    Thread Starter
    I'm about to be a PowerPoster! mendhak's Avatar
    Join Date
    Feb 2002
    Location
    Ulaan Baator GooGoo: Frog
    Posts
    38,170
    OK, to put a space in, you have to put

    & nbsp; (without the space)

    VB Code:
    1. MrPolite
    2. &nbsp;
    3. is condescending
    4. &trade;

  7. #7

    Thread Starter
    I'm about to be a PowerPoster! mendhak's Avatar
    Join Date
    Feb 2002
    Location
    Ulaan Baator GooGoo: Frog
    Posts
    38,170
    Originally posted by MidgetsBro


    Yeah it has been doing that for a while for me. I just noticed they fixed it today too... now there is a new problem though. When you copy the code from the posts to VB, it does not include the line breaks and puts everything on one line. Arg.
    It was absolutely fine until a week ago. Why did they even HAVE to tinker with it?

  8. #8
    l33t! MrPolite's Avatar
    Join Date
    Sep 2001
    Posts
    4,428
    But why would the tag change?!!!
    VB Code:
    1. Mendhack
    2. the dear froggie
    3. was hit with a bowling ball
    4. in the ...









































































    VB Code:
    1. head
    rate my posts if they help ya!
    Extract thumbnail without reading the whole image file: (C# - VB)
    Apply texture to bitmaps: (C# - VB)
    Extended console library: (VB)
    Save JPEG with a certain quality (image compression): (C# - VB )
    VB.NET to C# conversion tips!!

  9. #9
    PowerPoster MidgetsBro's Avatar
    Join Date
    Oct 2000
    Location
    Apparently, Internet.com
    Posts
    3,125
    Why would you want to put in a Non Breaking space? I want it to copy the Line Feeds and Carriage Returns that are visible on the page, but not when I copy to VB or even to notepad.
    <removed by admin>

  10. #10

    Thread Starter
    I'm about to be a PowerPoster! mendhak's Avatar
    Join Date
    Feb 2002
    Location
    Ulaan Baator GooGoo: Frog
    Posts
    38,170
    Originally posted by MrPolite
    But why would the tag change?!!!
    VB Code:
    1. Mendhack
    2. the dear froggie
    3. was hit with a bowling ball
    4. in the ...
    5.  
    6.  
    7.  
    8.  
    9.  
    10.  
    11.  
    12.  
    13.  
    14.  
    15.  
    16.  
    17.  
    18.  
    19.  
    20.  
    21.  
    22.  
    23.  
    24.  
    25.  
    26.  
    27.  
    28.  
    29.  
    30.  
    31.  
    32.  
    33.  
    34.  
    35.  
    36.  
    37.  
    38.  
    39.  
    40.  
    41.  
    42.  
    43.  
    44.  
    45.  
    46.  
    47.  
    48.  
    49.  
    50.  
    51.  
    52.  
    53.  
    54.  
    55.  
    56.  
    57.  
    58.  
    59.  
    60.  
    61.  
    62.  
    63.  
    64.  
    65.  
    66.  
    67.  
    68.  
    69.  
    70.  
    71.  
    72.  
    73.  
    74.  
    75.  
    76.  
    77.  
    78.  
    79.  
    80. head
    all the whitespace gets deleted. Use & nbsp;

    I just found out you can use any html entity there.

    &trade; &gt; &lt; &nbsp;

  11. #11
    l33t! MrPolite's Avatar
    Join Date
    Sep 2001
    Posts
    4,428
    I guess this should be in chitchat, but, WHY WHY WHY WHY WHY the tag was working fine before, why is it changed?
    rate my posts if they help ya!
    Extract thumbnail without reading the whole image file: (C# - VB)
    Apply texture to bitmaps: (C# - VB)
    Extended console library: (VB)
    Save JPEG with a certain quality (image compression): (C# - VB )
    VB.NET to C# conversion tips!!

  12. #12

    Thread Starter
    I'm about to be a PowerPoster! mendhak's Avatar
    Join Date
    Feb 2002
    Location
    Ulaan Baator GooGoo: Frog
    Posts
    38,170
    Originally posted by MrPolite
    I guess this should be in chitchat, but, WHY WHY WHY WHY WHY the tag was working fine before, why is it changed?
    VB Code:
    1. Because
    2. &nbsp;
    3. you're
    4. &nbsp;
    5. condescending &trade;

    Now copy and paste this into your VB and see if it comes on a line or not

  13. #13
    l33t! MrPolite's Avatar
    Join Date
    Sep 2001
    Posts
    4,428
    Originally posted by mendhak


    VB Code:
    1. Because
    2. &nbsp;
    3. you're
    4. &nbsp;
    5. condescending &trade;

    Now copy and paste this into your VB and see if it comes on a line or not
    yeah I tried that, sight
    rate my posts if they help ya!
    Extract thumbnail without reading the whole image file: (C# - VB)
    Apply texture to bitmaps: (C# - VB)
    Extended console library: (VB)
    Save JPEG with a certain quality (image compression): (C# - VB )
    VB.NET to C# conversion tips!!

  14. #14
    PowerPoster Pc_Madness's Avatar
    Join Date
    Dec 2001
    Location
    Melbourne, Australia
    Posts
    2,765
    Originally posted by mendhak


    VB Code:
    1. Because
    2. &nbsp;
    3. you're
    4. &nbsp;
    5. condescending &trade;

    Now copy and paste this into your VB and see if it comes on a line or not
    Nope
    Don't Rate my posts.

  15. #15

    Thread Starter
    I'm about to be a PowerPoster! mendhak's Avatar
    Join Date
    Feb 2002
    Location
    Ulaan Baator GooGoo: Frog
    Posts
    38,170
    Originally posted by Pc_Madness


    Nope


    Is there a linefeed entity in HTML? not <BR> but something like uhm.. &lf; no...

  16. #16

    Thread Starter
    I'm about to be a PowerPoster! mendhak's Avatar
    Join Date
    Feb 2002
    Location
    Ulaan Baator GooGoo: Frog
    Posts
    38,170
    VB Code:
    1. Now
    2. try
    3. this
    4. &nbsp;

    I've used #010, 012 and nbsp

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