|
-
Aug 13th, 2010, 06:27 AM
#1
Thread Starter
Hyperactive Member
-
Aug 13th, 2010, 06:34 AM
#2
Re: [:: Is it possible to download web image to the application??? ::]
There are several ways, if you just want to display the image you can simply use a PictureBox.
Code:
PictureBox1.Load("http://www.somedomain.com/images/someimage.gif")
-
Aug 13th, 2010, 06:47 AM
#3
Thread Starter
Hyperactive Member
Re: [:: Is it possible to download web image to the application??? ::]
Hello Joacim,
Thanks for your reply.
No no.. not like that... I want to use app to download images [any image from web] where web addresses could be any.
Like for example, when I right click on [any] image, it may show a link to download to MyApp???
Or any other ways like when MyApp is running then if I download any image it should directly download to MyApp???
I hope you understand what I am looking for.
Trusted
<= Please click on and rate if you like this post
-
Aug 13th, 2010, 07:38 AM
#4
Re: [:: Is it possible to download web image to the application??? ::]
 Originally Posted by Trusted
I hope you understand what I am looking for.
No, actually I don't. What do you mean with "when I right click on any image"? Do you mean when you right click in a web browser? And what does then "download to myapp" really mean? You can right-click on an image in your web browser today and select to save it. If you save it to a predefined folder then your app could scan that folder for images every time you start it.
I'm sorry that I can't be of any more help but I just don't understand what you want to do.
-
Aug 13th, 2010, 07:40 AM
#5
Re: [:: Is it possible to download web image to the application??? ::]
Just like Joacim said. You can pass the address as a argument to your app. Then just use a variable where he has the literal, which will work for any picture. There are many ways to get the address to your app. If you want to right-click on your browser then you would have to write a plug-in. You can add browser capabilities to your app and get it that way. Your call.
VB6 Library
If I helped you then please help me and rate my post!
If you solved your problem, then please mark the post resolved
-
Aug 13th, 2010, 10:16 AM
#6
Thread Starter
Hyperactive Member
Re: [:: Is it possible to download web image to the application??? ::]
<= Please click on and rate if you like this post
-
Aug 13th, 2010, 10:18 AM
#7
Thread Starter
Hyperactive Member
Re: [:: Is it possible to download web image to the application??? ::]
Hello Marman,
Thanks for your reply. I am trying to understand 
Trusted
<= Please click on and rate if you like this post
-
Aug 13th, 2010, 10:23 AM
#8
Re: [:: Is it possible to download web image to the application??? ::]
I wish I could be more help, I haven't done anything with browsers. But I believe there is a control you can put on a form that will act as a browser that you can use. Unless you insist on using a 3rd party browser, then you must create a plugin. If you create your own browser there should be a way of getting the image address that you can pass to a picturebox or copy to your hard drive.
VB6 Library
If I helped you then please help me and rate my post!
If you solved your problem, then please mark the post resolved
-
Aug 13th, 2010, 01:41 PM
#9
Thread Starter
Hyperactive Member
Re: [:: Is it possible to download web image to the application??? ::]
Hello Marman,
Infact, I will be using my own browser in another form. When a user clicks on 'Download Images' button, a new form [a browser] will open.
But I don't know how to work with it.
Trusted
<= Please click on and rate if you like this post
-
Aug 13th, 2010, 01:49 PM
#10
Re: [:: Is it possible to download web image to the application??? ::]
Check the properties. It probably returns a collection of some sort where you can find what you need. It can also be nested pretty deep. Check everything. Also try searching this forum and the web for whatever control you are using for browsing. At the very least you can parse the HTML to get the name of the picture, but I bet there is an easier way.
Maybe someone has used the browser control on this forum and knows?
VB6 Library
If I helped you then please help me and rate my post!
If you solved your problem, then please mark the post resolved
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
|