I am trying to use this code:

PictureBox1.ImageLocation = "http://avatar.xboxlive.com/avatar/" & TextBox1.Text & "/avatar-body.png".Replace(" ", "%20%");

The error I get is:

Error	2	Operator '&' cannot be applied to operands of type 'string' and 'string'	C:\Documents and Settings\Administrator\My Documents\Visual Studio 2008\Projects\Lucky Se7en\Lucky Se7en\GamercardViewer.cs	27	37	Lucky Se7en

Looks like you've already solved this but... erm... it's + not & for that type of usage :)

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.