Results 1 to 4 of 4

Thread: Emulating code i saw on a webpage

  1. #1

    Thread Starter
    Lively Member
    Join Date
    Oct 2006
    Posts
    91

    Emulating code i saw on a webpage

    http://www.mikes-marketing-tools.com...s-wrapper.html

    on this link there is a word wrapper that wraps the words that you type with both " and [

    each line is a seperate entry that needs to be wrapped.
    i want my program to produce the results seen in Broad, "Phrase" & [Exact] Match box.


    how do i do this type of thing in vb?

  2. #2
    Hyperactive Member
    Join Date
    Sep 2005
    Posts
    376

    Re: Emulating code i saw on a webpage

    dim broad as string
    dim phrase as string

    VB Code:
    1. broad = "[" & your_string & "]"
    2. phrase = Chr(Hex(52)) & your_string & Chr(Hex(52))

  3. #3

    Thread Starter
    Lively Member
    Join Date
    Oct 2006
    Posts
    91

    Re: Emulating code i saw on a webpage

    Quote Originally Posted by ggettings
    dim broad as string
    dim phrase as string

    VB Code:
    1. broad = "[" & your_string & "]"
    2. phrase = Chr(Hex(52)) & your_string & Chr(Hex(52))

    thanks... now how do i get this to work with a multiline text box?

  4. #4
    Addicted Member
    Join Date
    Jun 2006
    Posts
    172

    Re: Emulating code i saw on a webpage

    VB Code:
    1. broad = "[" & your_string & "]" & Chr(10)
    • If you found my post to be helpful, please rate me.

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