473,657 Members | 2,535 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

How to programetically embed an ole bitmap in a database field

I need to find a way of embedding an ole object into a database field, so it
can be retrieved by a Crystal report and displayed as a picture.

Embedding the bitmap file as a long binary or a blob is easy, but this can
not be interpreted as an ole object and hence not displayed on the report.

Any suggestion would be very welcome.
Jul 21 '05 #1
2 2286
oj
sql does not store embedded object. You will have to stream the blob to a
file and use that file in your report.

--
-oj
Rac v2.2 & QALite!
http://www.rac4sql.net
"Kevin Holland" <ke***********@ hotmail.com> wrote in message
news:Ow******** ******@TK2MSFTN GP12.phx.gbl...
I need to find a way of embedding an ole object into a database field, so it can be retrieved by a Crystal report and displayed as a picture.

Embedding the bitmap file as a long binary or a blob is easy, but this can
not be interpreted as an ole object and hence not displayed on the report.

Any suggestion would be very welcome.

Jul 21 '05 #2
oj
sql does not store embedded object. You will have to stream the blob to a
file and use that file in your report.

--
-oj
Rac v2.2 & QALite!
http://www.rac4sql.net
"Kevin Holland" <ke***********@ hotmail.com> wrote in message
news:Ow******** ******@TK2MSFTN GP12.phx.gbl...
I need to find a way of embedding an ole object into a database field, so it can be retrieved by a Crystal report and displayed as a picture.

Embedding the bitmap file as a long binary or a blob is easy, but this can
not be interpreted as an ole object and hence not displayed on the report.

Any suggestion would be very welcome.

Jul 21 '05 #3

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

Similar topics

0
346
by: Kevin Holland | last post by:
I need to find a way of embedding an ole object into a database field, so it can be retrieved by a Crystal report and displayed as a picture. Embedding the bitmap file as a long binary or a blob is easy, but this can not be interpreted as an ole object and hence not displayed on the report. Any suggestion would be very welcome.
2
24218
by: deko | last post by:
I have a table that contains a bunch of pictures. When the user selects a particular image in a form, I need a way to extract the selected bitmap image (stored in an OLE Object table field) to the file system so the user can do stuff with "somePicture.bmp", for example. Is there an easy way to do this? Thanks in advance.
6
1928
by: david epsom dot com dot au | last post by:
I have a report with an OLE bound frame. A bitmap has been pasted into the bound field. The bitmap displays and prints differently on different computers. In particular, the alignment is different. Both computers are using the same printer. What can I do to work out why the bitmap rendering is different on different computers?
3
2223
by: M | last post by:
Hi Folks, Does anyone know how to embed a file into a resource in C#? You seem to be able to embed Icon, Bitmap, Cursor's & Strings. But how do you embed a file??? In VC++ version 6 you would, Find the Resource, Load It, get its size, and then write it out to where ever you want it.
3
31100
by: Bradford | last post by:
I have an Windows application that displays lots of different colored lines in a Panel by using the Graphics.DrawLine method. The location and length of each line comes from a database query that takes two minutes to complete. I am using the Panel's Paint event to call my drawing method, which accepts PaintEventArgs as a parameter. The problem is that every time the Window is moved or hidden, it needs to be repainted, which takes a long time...
1
1267
by: aaapaul | last post by:
Hello ! I have created a webform to upload a bitmap and save in a database. There is a <input type=file run=server>-Field where the user can select the file. I have to buttons Button 1: Preview Is loading the selected file and showing in an image-field.
0
1710
by: Mahil | last post by:
I have trying to read the sample database fiields in the Northwind from MS Access into an Applet. I am able to successully read and display all the text fields. But the difficulty comes with 'Photo" images stored as bitmap images in MS Access. Parallely, I was successfully able to read and display a bitmap stored in the database as a file. But the content of the field does not seem to be in the bitmap format. Can anyone help me with the file...
1
2624
by: MRe | last post by:
Hi, Is there any way to write a graphical program in CSharp that could be embedded into Word2000. I've read .NET doesn't support creation of ActiveX controls (unless done using C++) but is there any other option, like an existing ActiveX that can embed some CSharp program. What I'd like to do is; whenever I'm writing an assignment for college, I usually want to add some diagram that isn't easy to create with the tools available to me,...
0
1980
by: flaviosemeao | last post by:
Hi guys, I am gonna ask the same question again regarding tweening in text fields. I already read some Adobe documentation and I understood that text field has its property _alpha available just when it HAS embed FONTS, So I supose if I want apply a tween class on a text field, I HAVE to have a embed font aplied in this text field... well, for now it is ok, because I did some experiments and everything worked good, but I need to use LoadVars...
0
1723
by: =?Utf-8?B?TWFyazEyMw==?= | last post by:
I have two pieces of VB.NET code below: a) Sends an email b) Returns a programmatically created jpeg image to a webpage. How can I embed the programmatically created jpeg into an HTML formatted email (without saving the jpeg to disk)? Code a) ======
0
8310
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
8827
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, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
8732
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 tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
8503
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
8605
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 protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
7333
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, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
6167
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 presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
4315
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
2
1620
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.