I have a web page that has a list of image URLs. I would like my program to be able to add a URL to that list so that when others visit the page, they will see that user's addition.
Printable View
I have a web page that has a list of image URLs. I would like my program to be able to add a URL to that list so that when others visit the page, they will see that user's addition.
Maybe I don't understand what you need, but you can not update a website using VB6.
When you have a browser control in your application then you can slightly modify/automate the current displayed page, but you can not update it on the website self.
Sure you could, but I'm not sure it makes sense to.
Download the page, modify it, post a new image and the modified page back to the server. Of course the program needs credentials permitting the reposting and the server needs to support a protocol allowing it. This is pretty easy if the server is WebDAV enabled, a little clunkier if FTP is your only option.
The downside is concurrency control.
A much better solution would be to use some dynamic-page server techology such as ASP, PHP, etc. The VB6 program would post images to an acceptor that stores them server-side. The dynamic page would retrieve the records and build a page of links upon request.
This assumes you want users to be able to post new pictures.
Thanks, dil. I'll look for ways to do so... possibly with sql or something. By the way, they're not uploading images... just the links to them.