Quantcast

What works and what is paused ยท Email is limited to account activation and password resets.

Jump to content


Photo

Man I need help with my proggy....


  • This topic is locked This topic is locked
1 reply to this topic

#1 oninous

oninous
  • 11 posts

Posted 17 September 2004 - 09:57 PM

I need to open the flash games in my browser window and not in a seperate window... Any advice? I don't know a si'mple way of doing this but I have figured out the only thing I need to replace in the link is the users fullname without space. So I need to come up with a way to Search a webpage for user_full_name=<user's full name here with no spaces> and extract just the name to a variable... any ideas or help with doing this? It would help me with numerous AP's I'm working on... Someone please help... I'm using VB6.0 by the way...
Thanks ahead of ti'me!

Advertisement

    #2 Cooliodoc

    Cooliodoc
    • 1244 posts

    Posted 17 September 2004 - 10:05 PM

    yea I think I can figure out a way, though I don't know why you need the users full name :p ? sounds a little bit fishy somehow ?

    EDIT: Okay, I'll asume you know how to get the HTML of a page into a textbox. for this example we will use txthtml as the textbox where the text for the neopets.com/userinfo.phtml page is stored

    di'm usersfullname, d1, d2, d3, d4 as string
    d1 = "type='text' name='name' value="""
    d2 = """"
    d3 = txthtml.text
    d4 = GetStringBetween( d3, d1, d2 )
    
    'if you need no spaces in the users full name then do this:
    di'm d5 as string
    replace( d4, " ", "")
    
    hope that helped. You will need to put the getstringbetween snippet of code somewhere in your program aswell. if you need that then say so, if you are confused at all then just ask again.


    1 user(s) are reading this topic

    0 members, 1 guests, 0 anonymous users