Results 1 to 12 of 12

Thread: [RESOLVED] putting [b] inside [highlight]

  1. #1

    Thread Starter
    Fanatic Member
    Join Date
    Jan 2007
    Location
    Middletown, CT
    Posts
    948

    Resolved [RESOLVED] putting [b] inside [highlight]

    I've seen it done but when I try it displays the bold tags in the actual code. How do i do it?

  2. #2

  3. #3
    PowerPoster techgnome's Avatar
    Join Date
    May 2002
    Posts
    34,687

    Re: putting [b] inside [highlight]

    I think he wants to actualy see [b] in the code block....

    There's a noparse tag.... [noparse][/noparse] that will prevent the bbcodes from being interpreted.

    -tg
    * I don't respond to private (PM) requests for help. It's not conducive to the general learning of others.*
    * I also don't respond to friend requests. Save a few bits and don't bother. I'll just end up rejecting anyways.*
    * How to get EFFECTIVE help: The Hitchhiker's Guide to Getting Help at VBF - Removing eels from your hovercraft *
    * How to Use Parameters * Create Disconnected ADO Recordset Clones * Set your VB6 ActiveX Compatibility * Get rid of those pesky VB Line Numbers * I swear I saved my data, where'd it run off to??? *

  4. #4

    Thread Starter
    Fanatic Member
    Join Date
    Jan 2007
    Location
    Middletown, CT
    Posts
    948

    Re: putting [b] inside [highlight]

    Actually, it's the exact opposite techno. If I say..copy some code form a post
    vb Code:
    1. do until bLoop=True
    2. loop

    and want to highlight a portion that i've added for illustrations sake...i get this..
    vb Code:
    1. do until bLoop=True
    2. [B]bLoop=true[/B]
    3. loop

    I need to have the bloop=true part be in bold.

  5. #5
    PowerPoster techgnome's Avatar
    Join Date
    May 2002
    Posts
    34,687

    Re: putting [b] inside [highlight]

    Gotcha.... never had that issue... but I use the code tags instead...

    -tg
    * I don't respond to private (PM) requests for help. It's not conducive to the general learning of others.*
    * I also don't respond to friend requests. Save a few bits and don't bother. I'll just end up rejecting anyways.*
    * How to get EFFECTIVE help: The Hitchhiker's Guide to Getting Help at VBF - Removing eels from your hovercraft *
    * How to Use Parameters * Create Disconnected ADO Recordset Clones * Set your VB6 ActiveX Compatibility * Get rid of those pesky VB Line Numbers * I swear I saved my data, where'd it run off to??? *

  6. #6
    PowerPoster techgnome's Avatar
    Join Date
    May 2002
    Posts
    34,687

    Re: putting [b] inside [highlight]

    wow.... that is pretty jacked....

    http://www.vbforums.com/showthread.p...54#post3210954

    -tg
    * I don't respond to private (PM) requests for help. It's not conducive to the general learning of others.*
    * I also don't respond to friend requests. Save a few bits and don't bother. I'll just end up rejecting anyways.*
    * How to get EFFECTIVE help: The Hitchhiker's Guide to Getting Help at VBF - Removing eels from your hovercraft *
    * How to Use Parameters * Create Disconnected ADO Recordset Clones * Set your VB6 ActiveX Compatibility * Get rid of those pesky VB Line Numbers * I swear I saved my data, where'd it run off to??? *

  7. #7
    I'm about to be a PowerPoster! Hack's Avatar
    Join Date
    Aug 2001
    Location
    Searching for mendhak
    Posts
    58,333

    Re: putting [b] inside [highlight]

    That will happen with highlight tags, but not with code tags. Most folks aren't aware of simply because everyone uses code tags.

    This is a known issue and will be with us as long as the copying issue with the highlight tags is.

  8. #8

    Thread Starter
    Fanatic Member
    Join Date
    Jan 2007
    Location
    Middletown, CT
    Posts
    948

    Re: putting [b] inside [highlight]

    wait..the copying issue?

    I use highlight tags because..well..it..highlights..but what you're saying is that if i need to bold something that i should use code tags instead??

  9. #9
    PowerPoster techgnome's Avatar
    Join Date
    May 2002
    Posts
    34,687

    Re: putting [b] inside [highlight]

    in a nutshel.... yup..


    -tg
    * I don't respond to private (PM) requests for help. It's not conducive to the general learning of others.*
    * I also don't respond to friend requests. Save a few bits and don't bother. I'll just end up rejecting anyways.*
    * How to get EFFECTIVE help: The Hitchhiker's Guide to Getting Help at VBF - Removing eels from your hovercraft *
    * How to Use Parameters * Create Disconnected ADO Recordset Clones * Set your VB6 ActiveX Compatibility * Get rid of those pesky VB Line Numbers * I swear I saved my data, where'd it run off to??? *

  10. #10

    Thread Starter
    Fanatic Member
    Join Date
    Jan 2007
    Location
    Middletown, CT
    Posts
    948

    Re: putting [b] inside [highlight]

    what copying issue were you speaking about previously?

  11. #11
    Super Moderator si_the_geek's Avatar
    Join Date
    Jul 2002
    Location
    Bristol, UK
    Posts
    41,974

    Re: putting [b] inside [highlight]

    Copy & paste this into VB (or NotePad):
    vb Code:
    1. Dim i as Integer
    2.   For i = 1 To 10
    3.    MsgBox i
    4.   Next i
    .. you'll notice extra line-breaks/characters/indentation.

    There are a few recent threads in Forum Feedback which explain how to work-around it, but it is still a bit of a nuisance.

  12. #12

    Thread Starter
    Fanatic Member
    Join Date
    Jan 2007
    Location
    Middletown, CT
    Posts
    948

    Re: putting [b] inside [highlight]

    ah yes... the # signs and such. I pasted some vb code from a forum awhile back and noticed that. Thanks for the help.

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