[Question] Url menu

User Tag List

Page 1 of 2 12 LastLast
Results 1 to 15 of 16
  1. #1
    Spot_1337's Avatar Active Member
    Reputation
    16
    Join Date
    Feb 2007
    Posts
    90
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    [Question] Url

    Greetings,

    I'm making a program that makes .additem much easier but how do i
    show just some of the url in textbox1?
    like Www.mmowned.com/12345
    Best would be if it detected numbers but it works if it just delete Www.mmowned.com/ and show 12345 in textbox1.

    Thank you! :wave:

    [Question] Url
  2. #2
    Murdok's Avatar Member
    Reputation
    34
    Join Date
    Oct 2007
    Posts
    69
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Found a way but it only works if the number is 5 numbers long like 12345

    Code:
    Dim strNumber As String
    
    strNumber = Strings.Right(Text1.Text, 5)
    
    Text1.Text = strNumber
    This will take the last 5 digits from the URL you put in text1.text then put the 5 digits into text1.text when you click a button,

    i sopose the only other way would be to have some option boxes so the user would have to tell you how many numbers are at the end and do something likes

    Code:
    if opt5.value = true then 
     strNumber = Strings.Right(Text1.Text, 5)
    Elseif opt6.value = true then  
     strNumber = Strings.Right(Text1.Text, 6)
    End if
    Hope this helps
    Last edited by Murdok; 10-28-2008 at 05:20 AM.

  3. #3
    Spot_1337's Avatar Active Member
    Reputation
    16
    Join Date
    Feb 2007
    Posts
    90
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    The problem is that the url is not showed , you just type the name of the thing you wanna search on and show it on thottbot in webbrowser1 :S

  4. #4
    Murdok's Avatar Member
    Reputation
    34
    Join Date
    Oct 2007
    Posts
    69
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    oh thats alot more tricky i would of thought you would need a database or a random file of some kind which holds all the codes and when you search the item it brings the code up into a variable and then you do

    Shell "Explorer.exe, "http://www.thottbot.com/" & VARIABLE

    something lik that cant remember the exact code

    i will try a few things but i think that would be the best option but would take quite a while

  5. #5
    Spot_1337's Avatar Active Member
    Reputation
    16
    Join Date
    Feb 2007
    Posts
    90
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    its millions of items on thott cant add them all :S

  6. #6
    Spot_1337's Avatar Active Member
    Reputation
    16
    Join Date
    Feb 2007
    Posts
    90
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    hmm isn't it possible to make like this,
    when you press button1 it read the url in webbrowser1 (not visible url) and then delete everything (save the 5 numbers) and put the 5 numbers in textbox1 ?

  7. #7
    Murdok's Avatar Member
    Reputation
    34
    Join Date
    Oct 2007
    Posts
    69
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    kk here you go

    Code:
    Dim webpage As String
    
    webpage = "http://thottbot.com/?s=" & txtSearch.Text
    WebBrowser1.Navigate webpage
    this will add what ever is placed into a textbox for example Thunderfury and will navigate the webbrowser to

    http://www.thottbot.com/?s=Thunderfury

    so you will need a textbox called

    txtSearch

    webbrowser called

    Webbrowser1

    and a command button

    called cmdSearch

    you can use my project i made :

    http://www.megaupload.com/?d=BE99CGSM
    Last edited by Murdok; 10-28-2008 at 06:26 AM.

  8. #8
    Spot_1337's Avatar Active Member
    Reputation
    16
    Join Date
    Feb 2007
    Posts
    90
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    err i cant see the id in your project :s

  9. #9
    Murdok's Avatar Member
    Reputation
    34
    Join Date
    Oct 2007
    Posts
    69
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    it doesn't get the ID because that's quite hard to do but I can try if you want

  10. #10
    Murdok's Avatar Member
    Reputation
    34
    Join Date
    Oct 2007
    Posts
    69
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    i actualy think it maybe imposible without having the full database of items since there is no way of linking the iem to the code using the webpages since the web url to the item is

    www.thottbot.com/19019

  11. #11
    Spot_1337's Avatar Active Member
    Reputation
    16
    Join Date
    Feb 2007
    Posts
    90
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    okay that sucks ;(((
    But thank you for your time and /w me if you find out how to do it

  12. #12
    Murdok's Avatar Member
    Reputation
    34
    Join Date
    Oct 2007
    Posts
    69
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Right I've made it for you

    your searches have to be spot on no spelling mistakes or anything so for example search something like

    Brutal Gladiator's Barrier

    and it will then allow you to click the get ID button which gets the id for you

    heres is the download

    http://www.megaupload.com/?d=OI63XOTF

    Good Luck

    anythign else dont hesitate to ask.

    The first time you run it it might give you an error saying its spelt wrong but just search it again and do get id again and then it should work
    Last edited by Murdok; 10-28-2008 at 08:49 AM.

  13. #13
    Spot_1337's Avatar Active Member
    Reputation
    16
    Join Date
    Feb 2007
    Posts
    90
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    OMG I LOVE YOU!!!1111oneone 2x +Rep ^^

  14. #14
    Murdok's Avatar Member
    Reputation
    34
    Join Date
    Oct 2007
    Posts
    69
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    There may be a few bug just point them out if you cant get round them yourself

  15. #15
    EmiloZ's Avatar Flying Piggy Back
    CoreCoins Purchaser
    Reputation
    538
    Join Date
    Jun 2007
    Posts
    1,393
    Thanks G/R
    0/1
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    For search on thottbott :
    Code:
    WebBrowser1.Navigate ("http://thottbot.com/?s="+TextBox1.Text)
    For enter the item id into a textbox and it will show thottbott page in WebBrowser1
    Code:
    WebBrowser1.Navigate ("http://thottbot.com/i"+TextBox1.Text)
    Why fill up a signature?

Page 1 of 2 12 LastLast

Similar Threads

  1. [Question] Make a url behind a button
    By Darksid in forum Programming
    Replies: 16
    Last Post: 07-02-2008, 11:46 PM
  2. Sorry..newb mail question
    By nolbishop in forum World of Warcraft General
    Replies: 2
    Last Post: 06-07-2006, 07:21 PM
  3. Question..
    By janzi9 in forum Community Chat
    Replies: 3
    Last Post: 04-02-2006, 10:20 AM
  4. A GALB question
    By bassman in forum World of Warcraft General
    Replies: 4
    Last Post: 03-28-2006, 09:49 AM
All times are GMT -5. The time now is 07:56 PM. Powered by vBulletin® Version 4.2.3
Copyright © 2025 vBulletin Solutions, Inc. All rights reserved. User Alert System provided by Advanced User Tagging (Pro) - vBulletin Mods & Addons Copyright © 2025 DragonByte Technologies Ltd.
Google Authenticator verification provided by Two-Factor Authentication (Free) - vBulletin Mods & Addons Copyright © 2025 DragonByte Technologies Ltd.
Digital Point modules: Sphinx-based search