Solved

DYNAMICALLY SHOW IMAGES TO WEBBROWSER

Posted on 2011-02-13
11
198 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
 
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
How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

 
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

How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

Join & Write a Comment

Since .Net 2.0, Visual Basic has made it easy to create a splash screen and set it via the "Splash Screen" drop down in the Project Properties.  A splash screen set in this manner is automatically created, displayed and closed by the framework itsel…
If you need to start windows update installation remotely or as a scheduled task you will find this very helpful.
This video discusses moving either the default database or any database to a new volume.
In this seventh video of the Xpdf series, we discuss and demonstrate the PDFfonts utility, which lists all the fonts used in a PDF file. It does this via a command line interface, making it suitable for use in programs, scripts, batch files — any pl…

705 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

Need Help in Real-Time?

Connect with top rated Experts

20 Experts available now in Live!

Get 1:1 Help Now