Results 1 to 5 of 5

Thread: [VB2008] Help With Shop Wizard

  1. #1

    Joined
    Apr 2012
    Posts
    40
    Userbars
    0
    Thanks
    2
    Thanked
    9/2
    DL/UL
    7/3
    Mentioned
    Never
    Time Online
    1h 29m
    Avg. Time Online
    N/A

    [VB2008] Help With Shop Wizard

    I'm trying to make a program that can search a list of things on the shop wizard and grab the lowest price. However, I'm having problems modifying the text field for searching. I'm using the built in WebBrowser of VB. Any help with this matter would be GREATLY appreciated.


  2. #2
    Saiyan Race
    j03's Avatar
    Joined
    Dec 2011
    Posts
    13,738
    Userbars
    176
    Thanks
    5,926
    Thanked
    33,147/6,615
    DL/UL
    23/36
    Mentioned
    3,871 times
    Time Online
    564d 1h 53m
    Avg. Time Online
    3h 13m
    Post the code you are having trouble with?
    (you need an account to see links)
    (you need an account to see links)(you need an account to see links)

    ------------------------
    [02/24/2013] Stealth CORE is made into the first standalone Neopets auto-player.
    ------------------------


  3. #3
    Zachafer's Avatar
    Joined
    Dec 2011
    Posts
    1,235
    Userbars
    11
    Thanks
    769
    Thanked
    1,466/678
    DL/UL
    98/0
    Mentioned
    512 times
    Time Online
    24d 13h 9m
    Avg. Time Online
    8m
    Code:
    WebBrowser.document.GetElementByID("item").SetAttribute("value", "Palm Fan")
    I dont have access to the shop wizard HTML. This code assumes they give the search textbox an id= attribute.

    I can write a snippet that find the textbox based on it's name= attribute. Basically you will loop through document.GetElementsByTagName("input")

  4. #4

    Joined
    Apr 2012
    Posts
    40
    Userbars
    0
    Thanks
    2
    Thanked
    9/2
    DL/UL
    7/3
    Mentioned
    Never
    Time Online
    1h 29m
    Avg. Time Online
    N/A
    Upon typing up a rather lengthy reply I realized that I am a complete derp and forgot to change the browser page to the Shop Wizard page.

    I got it working using:
    Code:
    myWeb.Document.All("shopwizard").Value = "Palm Fan"
    Thanks for the help

  5. #5
    Zachafer's Avatar
    Joined
    Dec 2011
    Posts
    1,235
    Userbars
    11
    Thanks
    769
    Thanked
    1,466/678
    DL/UL
    98/0
    Mentioned
    512 times
    Time Online
    24d 13h 9m
    Avg. Time Online
    8m
    Quote Originally Posted by Endo42 View Post
    Upon typing up a rather lengthy reply I realized that I am a complete derp and forgot to change the browser page to the Shop Wizard page.

    I got it working using:
    Code:
    myWeb.Document.All("shopwizard").Value = "Palm Fan"
    Thanks for the help
    OOP wise, that's not the best solution but it does work.

    You are welcome

Posting Permissions

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