http://www.myspace.com/index.cfm?fus...endID=34720603
when i click command1 i would like the add to friends on that page be clicked as well. I am guessing java is needed?
Printable View
http://www.myspace.com/index.cfm?fus...endID=34720603
when i click command1 i would like the add to friends on that page be clicked as well. I am guessing java is needed?
if you open the page, you are going to need a login and password to enter it... because I tried opening it and that's what I got, even though I do have myspace
ack either way you need to login to see it, hmm well when it gets on the invite page it has a 2 submit buttons, 1 is to add to friends the other is to cancel .. i need it to script for the add to friends ... it would be much appreciated if some one can help me
http://www.vbforums.com/showthread.php?t=369419
You can refer to my post in there for a little help.
i couldnt see the button u mentioned, but anyways, maybe this is what you need:
use a web browser control...
VB Code:
Private Sub Command1_Click() With WB.Document If WB.ReadyState = READYSTATE_COMPLETE Then .getElementById("email").Value = "[email protected]" .getElementById("name").Value = "myname" .getElementById("address").Value = "cagayan de oro city" .Forms(0).Submit Do While WB.ReadyState <> READYSTATE_COMPLETE DoEvents Loop End If End With End Sub
just replace the email, name, address with the exact names of form objects in the page. you can determine it by looking at the html source of the page by clicking menu VIEW-->SOURCE...
BTW, this is not my code, i found it in this forum and its really fun... its working... ;)
I tried http://www.myspace.com/index.cfm?fus...&Mytoken=43243
and it gave me this "The Function that you are currently trying to use is disabled and will be back shortly.
We are making some minor changes to this section please bare with us until we can get this back online.
Please do NOT email me about this. Just wait it out. -Tom "
If you have Firefox, they have the DOM Inspector which lets you click on an item in a page to return all the information about it.
really! well i have it.. lol thanks i never knew that..