473,405 Members | 2,160 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,405 software developers and data experts.

Displaying Bitmap (simple question I think)

Hello !

I have a Bitmap and this works fine:
Dim objC As New clsCounter
Dim objBmp As Bitmap
objBmp = objC.bcGetGraphicalCounter(5)
objBmp.Save(Response.OutputStream, ImageFormat.Jpeg)

But I dont want to use:
objBmp.Save(Response.OutputStream, ImageFormat.Jpeg)
....because I want so diplay other things.

I want to show the Bitmap in an Imagebox <asp:Image id="imgZaehler"

How Can I realize this !

Many thanks
aaaPaul
Nov 18 '05 #1
2 1141
no can do. while mozilla/netscape support inline images, IE does not. for IE
<asp:image> can only ref a url that returns a supported image type.

-- bruce (sqlwork.com)
"aaapaul" <lv****@gmx.net> wrote in message
news:36**************************@posting.google.c om...
Hello !

I have a Bitmap and this works fine:
Dim objC As New clsCounter
Dim objBmp As Bitmap
objBmp = objC.bcGetGraphicalCounter(5)
objBmp.Save(Response.OutputStream, ImageFormat.Jpeg)

But I dont want to use:
objBmp.Save(Response.OutputStream, ImageFormat.Jpeg)
...because I want so diplay other things.

I want to show the Bitmap in an Imagebox <asp:Image id="imgZaehler"

How Can I realize this !

Many thanks
aaaPaul

Nov 18 '05 #2
On 29 Jul 2004 08:56:13 -0700, lv****@gmx.net (aaapaul) wrote:
Hello !

I have a Bitmap and this works fine:
Dim objC As New clsCounter
Dim objBmp As Bitmap
objBmp = objC.bcGetGraphicalCounter(5)
objBmp.Save(Response.OutputStream, ImageFormat.Jpeg)

But I dont want to use:
objBmp.Save(Response.OutputStream, ImageFormat.Jpeg)
...because I want so diplay other things.

I want to show the Bitmap in an Imagebox <asp:Image id="imgZaehler"

How Can I realize this !

Many thanks
aaaPaul


put the bitmap code in a separate file (aspx) and set the image source
to myotheraspx.aspx

or

write the bitmap out to the filesystem and set the image to look at
that file.

-Adam
Nov 18 '05 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

7
by: Vinay | last post by:
Hi All: I have a small application that stores images either in the database or as files (depending on the user preference). I'm in the process of providing a web interface to this application....
3
by: Dalan | last post by:
At first I was not certain what could cause Access 97 from displaying most jpeg images, but not all. After further testing, it seemed that all original images of less than 275 pixels per inch or...
0
by: James Dean | last post by:
I have trouble displaying a bitmap. I have 1bpp information. I also have a command telling me what color i need to set the bytes to when the colour is switched on. The trouble is i do all this but...
2
by: marvin | last post by:
Hi, I am trying to display images in a repeater from a SQL database and do some transformations on the image prior to displaying them (such as thumbnail with a shadow). The problem is I can't...
2
by: Jeronimo Bertran | last post by:
Hello, I am using a rendering aspx page to display a database image on an Image control. When the database record is retrieved, I am saving the bitmap to a session variable for the rendering...
8
by: Jon Weston | last post by:
I'm setting up an Access2003 database with pictures. I put a bound ole picture ctrl on a form that's source is the table that contains the pictures and follow ALL the directions for embedding a...
0
by: AMDRIT | last post by:
Hello Everyone, Just curious how far off the mark I am with my Working Dialog. Any improvements are welcomed. Scenario, we have an application (vb'05) that at known times performs tasks that...
2
by: abhi.menon | last post by:
I have a "Plot" button the code associated with which (when Clicked) is as follows private: System::Void showPic_Click(System::Object * sender, System::EventArgs * e) { /* code to use Matlab...
0
by: kardon33 | last post by:
Hello All, Back Ground: I need to write a program that will display a bitmap image across the top of screen while the computer is running. The bitmap is a 800x30 image. After the image is on...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.