Input your details, and it spits out a single URL instead of having to concatenate your own.
[IMG]http://img718.imageshack.us/img718/6290/ss20100907170923.png[/IMG]
[url]http://anyhub.net/file/paypal-url-generator.zip[/url]
Version 1.1:
- Spaces are no longer an issue.
- TextBox Now Clears before refilling itself.
[IMG]http://img839.imageshack.us/img839/6981/ss20100908162925.png[/IMG]
[url]http://anyhub.net/file/paypal-url-generator-v1.1.zip[/url]
Why not make Currency and Country a dropbox.
And add currency symbols.
Edit: and let your program filter space to %20
Edit 2: And make the description a multiline textfield with scrollbar.
Couldn't you just log into paypal and get the link? It allows more customization.
[QUOTE=Joshyy;24672672]Couldn't you just log into paypal and get the link? It allows more customization.[/QUOTE]
It doesn't make a donate button. It makes a straight link. So if you were coding a program you could just launch the URL off a button or something.
Include source please
[QUOTE=Cubar;24674356]Include source please[/QUOTE]
You need some boxes.
[editline]06:38PM[/editline]
It's inside the zip.
Ohh the .cs file lol
Encode the URL so people don't have to use %20.
You know you can parse text, right.
yourStringVariable = nameOfYourTextbox.Text.Replace(" ", "%20");
Now we need a program that adds moneyz to the accoutn :v:
[QUOTE=Encryption;24673758]It doesn't make a donate button. It makes a straight link. So if you were coding a program you could just launch the URL off a button or something.[/QUOTE]
I'm confused, what?
[url]https://www.paypal.com/us/cgi-bin/?&cmd=_donate-intro-outside[/url]
[QUOTE=robmaister12;24680426]You know you can parse text, right.
yourStringVariable = nameOfYourTextbox.Text.Replace(" ", "%20");[/QUOTE]
Hmm, Thanks for that. Didn't know it was that easy to replace char's in a string without a loop. Will release an updated version when I get home from school.
[editline]10:34AM[/editline]
[QUOTE=turb_;24682903][url=http://msdn.microsoft.com/en-us/library/system.web.httputility.urlencode.aspx]System.Web.HttpUtility.UrlEncode[/url][/QUOTE]
Don't understand that. But thanks for hosting anyhub. :iia:
[QUOTE=Encryption;24686763]Don't understand that.[/QUOTE]
HttpUtility.UrlEncode( "STRING HERE" ), I presume.
[QUOTE=Encryption;24686763]Don't understand that. But thanks for hosting anyhub. :iia:[/QUOTE]
[quote=http://msdn.microsoft.com/en-us/library/4fkewx0t.aspx]The UrlEncode() method can be used to encode the entire URL, including query-string values. If characters such as blanks and punctuation are passed in an HTTP stream, they might be misinterpreted at the receiving end. URL encoding converts characters that are not allowed in a URL into character-entity equivalents; URL decoding reverses the encoding. For example, when the characters < and > are embedded in a block of text to be transmitted in a URL, they are encoded as %3c and %3e.
You can encode a URL using with the UrlEncode() method or the UrlPathEncode() method. However, the methods return different results. The UrlEncode() method converts each space character to a plus character (+). The UrlPathEncode() method converts each space character into the string "%20", which represents a space in hexadecimal notation. Use the UrlPathEncode() method when you encode the path portion of a URL in order to guarantee a consistent decoded URL, regardless of which platform or browser performs the decoding.[/quote]
Every time you click generate it adds on to what's already in the text box, you might want to make it clear it first.
Version 1.1:
- Spaces are no longer an issue.
- TextBox Now Clears before refilling itself.
[IMG]http://img839.imageshack.us/img839/6981/ss20100908162925.png[/IMG]
[url]http://anyhub.net/file/paypal-url-generator-v1.1.zip[/url]
[editline]04:30PM[/editline]
[QUOTE=CombineGuru;24687163]Every time you click generate it adds on to what's already in the text box, you might want to make it clear it first.[/QUOTE]
Thanks for the info. Silly mistake :v:
[editline]04:30PM[/editline]
[QUOTE=robmaister12;24680426]You know you can parse text, right.
yourStringVariable = nameOfYourTextbox.Text.Replace(" ", "%20");[/QUOTE]
Thanks for that as well.
If your running vb, you can just called process.start(<url>) to open the url in the default browser
[QUOTE=RoBaDoB;24817854]If your running vb, you can just called process.start(<url>) to open the url in the default browser[/QUOTE]
It was written in C#. Same framework, thats what it does.
Sorry, you need to Log In to post a reply to this thread.