Solved

DYNAMICALLY SHOW IMAGES TO WEBBROWSER

Posted on 2011-02-13
11
203 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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
Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 
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

Announcing the Most Valuable Experts of 2016

MVEs are more concerned with the satisfaction of those they help than with the considerable points they can earn. They are the types of people you feel privileged to call colleagues. Join us in honoring this amazing group of Experts.

Question has a verified solution.

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

Suggested Solutions

Article by: jpaulino
XML Literals are a great way to handle XML files and the community doesn’t use it as much as it should.  An XML Literal is like a String (http://msdn.microsoft.com/en-us/library/system.string.aspx) Literal, only instead of starting and ending with w…
Introduction As chip makers focus on adding processor cores over increasing clock speed, developers need to utilize the features of modern CPUs.  One of the ways we can do this is by implementing parallel algorithms in our software.   One recent…
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…

726 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