Uploading image to Tinypic/Imageshack

Merko

New member
Joined
Jun 27, 2008
Messages
3
Programming Experience
Beginner
Hello.
I've been using VB6 for a while, and decided now to go to something newer (VB 2008).
What im trying to do is making a 'Screenshot dumper', that when I take a screenshot, it uploads it to tinypic or imageshack(as an example).

So, what I need help with is actualy the 'upload' part.
I did search the forum a bit, but didn't find anything that I could use(Only found how to upload to an FTP Server).
What I want to try is uploading to websites like www.tinypic.com and/or imageshack.us.

If anybody out there could make me a small example I could work with, it would be much appreciated.

Thanks :)
 
I belive its like any other site where you can upload pictures ect from a textbox, then you have the button "Browse" to link to your picture on your computer : )
 
I have two points for your question: Some sites (like Facebook) provide their own API's for doing stuff like uploading pictures or using there functionality (you can think of it like applications that provide COM components to offer their functionality in code), i guess this is the best (and easiest) method. You search tinypic or imageshack for this or even send them a mail.

The other way around is the dirty way, you can use a WebClient object to communicate with the site ( i mean like sending POST and GET requests). I suggest searching for good references for this class derived from System.Net

Hope this helps
 
Back
Top