|
-
Dec 18th, 2013, 09:18 AM
#1
Thread Starter
Addicted Member
Update Web Page Via VB6
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.
-
Dec 18th, 2013, 09:39 AM
#2
Re: Update Web Page Via VB6
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.
-
Dec 18th, 2013, 10:01 AM
#3
Re: Update Web Page Via VB6
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.
Last edited by dilettante; Dec 18th, 2013 at 10:05 AM.
-
Dec 18th, 2013, 10:03 AM
#4
Re: Update Web Page Via VB6
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.
-
Dec 18th, 2013, 10:11 AM
#5
Thread Starter
Addicted Member
Re: Update Web Page Via VB6
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.
Tags for this Thread
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|