How to write a Image Control

  • Thread starter Thread starter DotNetJunkies User
  • Start date Start date
D

DotNetJunkies User

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!
 
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
 
* DotNetJunkies User said:
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?
 
Back
Top