Solved

DYNAMICALLY SHOW IMAGES TO WEBBROWSER

Posted on 2011-02-13
11
202 Views
Last Modified: 2012-06-21
Hi All,

I want to show images to webbrowser from folders.
I want it to be able to add handler to it.

How could I do it ?

Thank you.
0
Comment
Question by:emi_sastra
  • 6
  • 5
11 Comments
 
LVL 83

Expert Comment

by:CodeCruiser
ID: 34883676
>How could I do it ?
By explaining it in bit more details, to begin with :-)
0
 
LVL 1

Author Comment

by:emi_sastra
ID: 34885009
Hi CodeCruiser

- I want to show images to webbrowser from folders.
Dynamically.

- I want it to be able to add handler to it.
Catch even click when the images is clicked.

Thank you.
0
 
LVL 83

Expert Comment

by:CodeCruiser
ID: 34887120
Why do you need a browser to show images? Why not use a Picturebox?
0
Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

 
LVL 1

Author Comment

by:emi_sastra
ID: 34887174
Is it possible to show many images in a Picturebox ?

Thank you.
0
 
LVL 83

Expert Comment

by:CodeCruiser
ID: 34887217
Yes.
How do you show many images in the browser?
0
 
LVL 1

Author Comment

by:emi_sastra
ID: 34887232
- Yes.
Do you mean we could store many images to a Picturebox ?

- How do you show many images in the browser?
I don't know, just I often see web application could do it ?

Thank you.
0
 
LVL 83

Expert Comment

by:CodeCruiser
ID: 34887247
Web applications use img tags in HTML. Winforms does not do that.

>Do you mean we could store many images to a Picturebox ?
By drawing all those images into a single big image.
0
 
LVL 1

Author Comment

by:emi_sastra
ID: 34887263
- By drawing all those images into a single big image.
Interesting, how could we do it ?

Thank you.
0
 
LVL 83

Accepted Solution

by:
CodeCruiser earned 500 total points
ID: 34887725
This is in C# but you can get the idea

http://www.dotnetspider.com/resources/41051-How-merge-images-one-image.aspx

This is similar
http://blogs.vbcity.com/xtab/archive/2006/09/21/6213.aspx

This example draws all images at same location but you can change the location to draw images at different locations

http://stackoverflow.com/questions/4609478/combining-two-png-images-into-one-image-using-net
0
 
LVL 1

Author Comment

by:emi_sastra
ID: 34887867
Yes, I could learn it.

Thank you very much for your help.
0
 
LVL 83

Expert Comment

by:CodeCruiser
ID: 34895416
Glad to help :-)
0

Featured Post

Networking for the Cloud Era

Join Microsoft and Riverbed for a discussion and demonstration of enhancements to SteelConnect:
-One-click orchestration and cloud connectivity in Azure environments
-Tight integration of SD-WAN and WAN optimization capabilities
-Scalability and resiliency equal to a data center

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

The ECB site provides FX rates for major currencies since its inception in 1999 in the form of an XML feed. The files have the following format (reducted for brevity) (CODE) There are three files available HERE (http://www.ecb.europa.eu/stats/exch…
It was really hard time for me to get the understanding of Delegates in C#. I went through many websites and articles but I found them very clumsy. After going through those sites, I noted down the points in a easy way so here I am sharing that unde…
In a recent question (https://www.experts-exchange.com/questions/29004105/Run-AutoHotkey-script-directly-from-Notepad.html) here at Experts Exchange, a member asked how to run an AutoHotkey script (.AHK) directly from Notepad++ (aka NPP). This video…

838 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question