add Xbox Live Friend using Process

Use this board to post your code snippets - tips and tricks
4 posts Page 1 of 1
Contributors
User avatar
zachman61
VIP - Donator
VIP - Donator
Posts: 1892
Joined: Wed Dec 16, 2009 9:56 pm

requires
1 textbox
1 button
here is a code that loads your default webbrowser then goes and adds the friend you wrote in textbox 1
code:
Code: Select all
   Process.Start("http://live.xbox.com/en-US/profile/FriendsMgmt.aspx?ru=%252fen-US%252fprofile%252fprofile.aspx%253fGamerTag%253523&gt=" & TextBox1.Text & "&act=Add")
Nailing my feet to the floor is easier than using my own muscles to balance, but you don't see me doing that :)
User avatar
zachman61
VIP - Donator
VIP - Donator
Posts: 1892
Joined: Wed Dec 16, 2009 9:56 pm

i figured this code out my self so dont spam if u think someone else did i adapted the xfire launch code -
Code: Select all
xfire:launch
Nailing my feet to the floor is easier than using my own muscles to balance, but you don't see me doing that :)
User avatar
Insignia
VIP-Member
VIP-Member
Posts: 238
Joined: Thu Feb 11, 2010 5:15 pm

You can also do some other things with xfire like;

Add a friend
Code: Select all
xfire:add_friend?user=Textbox1.text
Setting Status
Code: Select all
xfire:status?text=Textbox2.Text
Adding a favorite game server
Code: Select all
xfire:add_server?game=ListBox1.SelectedItem&server=Textbox3.Text
User avatar
zachman61
VIP - Donator
VIP - Donator
Posts: 1892
Joined: Wed Dec 16, 2009 9:56 pm

didn't know the server part :)
Nailing my feet to the floor is easier than using my own muscles to balance, but you don't see me doing that :)
4 posts Page 1 of 1
Return to “Quick Snips”