Indigo Rose Software

Professional Software Development Tools

 
+ Reply to Thread
Results 1 to 9 of 9

Thread: Quotation mark

  1. #1
    Join Date
    Oct 2006
    Location
    Betawi
    Posts
    120

    Quotation mark

    hi all,
    I need your help

    how to write these keywords in ListBox.SetItemData("ListBox1", 16, "......."); ?

    ":8080"":3128"":80" filetype:txt

    im confuse when i try to mix the quotation marks

    many thanks

  2. #2
    Join Date
    May 2001
    Location
    51.531249 | -0.610962
    Posts
    1,244
    Can you explain what you are trying to do here?
    It looks like you are specifying different proxy settings on one line, but i can't really see how that's gonna work.
    -
    = Derek
    ["All glory comes from daring to begin" - fortune cookie]

  3. #3
    Join Date
    Oct 2006
    Location
    Betawi
    Posts
    120
    yup, Derek...

    what i want to do is when i double click the listbox, google search will automatically displaying the result of that keyword in browser (":8080"":3128"":80" filetype:txt)

    The result like this

    But first, i have to write that keyword in ListBox.SetItemData("ListBox1", 16, ".......");

    My question is how to concatenate the Listbox.SetItemData's quotation marks with that keyword's quotation marks?

    sorry 4 my english and thank you

  4. #4
    Join Date
    Oct 2007
    Location
    Gensokyo
    Posts
    1,324
    Code:
    ListBox.SetItemData("ListBox1", 1, '":8080"":3128"":80" filetype:txt');

  5. #5
    Join Date
    Oct 2006
    Location
    Betawi
    Posts
    120
    Quote Originally Posted by ShadowUK View Post
    Code:
    ListBox.SetItemData("ListBox1", 1, '":8080"":3128"":80" filetype:txt');
    Thanks Shadow,
    but this is what displayed in google search box with no result:

    :8080:3128:80 filetype:txt (without quotation mark)

    what i want is something like this : google result

    actually this is my entire scripts:
    ListBox.SetItemData("ListBox1", 16, '":8080"":3128"":80" filetype:txt');
    strGetDat = ListBox.GetItemData("ListBox1", 16);
    File.OpenURL("http://www.google.com/search?query="..strGetDat, SW_SHOWNORMAL);
    It's done when im using input object, but not work with listbox.

    Thanks

  6. #6
    Join Date
    Oct 2007
    Location
    Gensokyo
    Posts
    1,324
    Quote Originally Posted by siray View Post
    Thanks Shadow,
    but this is what displayed in google search box with no result:

    :8080:3128:80 filetype:txt (without quotation mark)

    what i want is something like this : google result

    actually this is my entire scripts:


    It's done when im using input object, but not work with listbox.

    Thanks
    Why don't you set your ListBox data to change the " to a !, Then when you run the web function. Call String.Replace to replace the ! to a ".

  7. #7
    Join Date
    May 2001
    Location
    51.531249 | -0.610962
    Posts
    1,244
    The item data is set just fine. The problem is passing the " into Google. Doesn't wanna work for some reason.
    -
    = Derek
    ["All glory comes from daring to begin" - fortune cookie]

  8. #8
    Join Date
    Apr 2007
    Location
    Raalte, OV, Netherlands
    Posts
    3,287
    Quote Originally Posted by Derek View Post
    The item data is set just fine. The problem is passing the " into Google. Doesn't wanna work for some reason.
    Hmm, google is not filtering them out... weird
    Bas Groothedde
    Imagine Programming :: Blog :: Familiar people here

    My AMS Plugins:

  9. #9
    Join Date
    Oct 2006
    Location
    Betawi
    Posts
    120
    thanks all

  10. #10
    Join Date
    May 2006
    Posts
    5,380
    but, it works fine without the quotation marks

    Code:
    strGetDat=":8080 :3128 :80 filetype:txt"
    
    -- Test
    File.OpenURL("http://www.google.com/search?query="..strGetDat, SW_SHOWNORMAL);
    Open your eyes to Narcissism, Don't let her destroy your life!!

  11. #11
    Join Date
    Oct 2006
    Location
    Betawi
    Posts
    120
    ThANKS mr. Dean....

    It works!

    Many thanks

Similar Threads

  1. Permanent Mark
    By Yupe in forum AutoPlay Media Studio 6.0
    Replies: 1
    Last Post: 03-23-2006, 08:31 PM
  2. OOHHHH MARK !!!!!
    By Star Chaser in forum AutoPlay Menu Studio 3.0
    Replies: 1
    Last Post: 11-30-2001, 08:57 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts