468,241 Members | 1,608 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 468,241 developers. It's quick & easy.

How to write a Image Control

Hi,

Can someone please point me in the right direction on how to create an image control that could be used in either a windows application or web application?

Am I barking up the wrong tree about wanting a custom image control?
Thanks!

---
Posted using Wimdows.net NntpNews Component -

Post Made from http://www.DotNetJunkies.com/newsgroups Our newsgroup engine supports Post Alerts, Ratings, and Searching.
Nov 20 '05 #1
2 923
Hi DotNetJunkies,

Can someone please point me in the right direction on how to create an image
control that could be used in either a windows application or web
application?

Am I barking up the wrong tree about wanting a custom image control?


As far as I know that is impossible.
The image in a webpage is completly controled by the HTML picturebox, which
shows an image from an URL (you can even scroll through it by changing the
URL)

The windowsform imagebox shows an image from a bytearray in memory.
And because you have no control in a webpage over the memory of a client, I
think it will take a long time before that will be possible.

I hope this gives some idea's

Cor


Nov 20 '05 #2
* DotNetJunkies User <User@-NOSPAM-DotNetJunkies.com> scripsit:
Can someone please point me in the right direction on how to create an
image control that could be used in either a windows application or web
application?


Why not use the 'PictureBox' control in Windows Forms and 'img' tags in
the Web Forms application?

--
Herfried K. Wagner [MVP]
<URL:http://dotnet.mvps.org/>
Nov 20 '05 #3

This discussion thread is closed

Replies have been disabled for this discussion.

By using this site, you agree to our Privacy Policy and Terms of Use.