Printing Image With Bt 9.4
Hello All,
I am using Access 2000 and BarTender 9.4. I have OLEDB column with image stored in Access. i need to print (assign) programetically image on the BT Label.
I am able to read the object and display on the access form. but when i click on Print button in access form i am able pass all other values to BT label except for the image.
Please help in this regards.
thanks,
srinivas
I am using Access 2000 and BarTender 9.4. I have OLEDB column with image stored in Access. i need to print (assign) programetically image on the BT Label.
I am able to read the object and display on the access form. but when i click on Print button in access form i am able pass all other values to BT label except for the image.
Please help in this regards.
thanks,
srinivas
0
-
We do not support picutres stored in Access database. The reason is, the pictures are stored with a special header that only Microsoft knows. You might wish to try using a JPG file stored as a BLOB because there is a chance that this might work.
Otherwise, use the database field to store the path/filename of the image (saved in the file system) in order to link to it. Or, encode the picture into base64 and store the base64 data in the database field using a text data type. The below web based base64 encoder can be used to encode your images.
http://www.motobit.com/util/base64-decoder-encoder.asp0 -
Legacy Poster
★ BarTender Hero ★
[quote name='Ian C - Seagull Support' timestamp='1324387683' post='1382']
We do not support picutres stored in Access database. The reason is, the pictures are stored with a special header that only Microsoft knows. You might wish to try using a JPG file stored as a BLOB because there is a chance that this might work.
Otherwise, use the database field to store the path/filename of the image (saved in the file system) in order to link to it. Or, encode the picture into base64 and store the base64 data in the database field using a text data type. The below web based base64 encoder can be used to encode your images.
http://www.motobit.com/util/base64-decoder-encoder.asp
[/quote]
Thank you Ian C for you help.
I will convert Picture into base64 and save in database as text field. can you please help me in passing this to BT Label
srinivas0 -
For your picture object choose a data sourced object, select base64 as the type and then under the "Data Source" tab select the field that will contain the encoded data. 0 -
Legacy Poster
★ BarTender Hero ★
[quote name='Ian C - Seagull Support' timestamp='1324393069' post='1384']
For your picture object choose a data sourced object, select base64 as the type and then under the "Data Source" tab select the field that will contain the encoded data.
[/quote]
But i am passing this value from vb code. can i pass this data (base64) to a substring of Image on the label?
thansk,
srinivas0 -
Yes, all that needs be done is that the base64 encoded data is set to the data source of the picture object. Assuming that you have already selected base64 to be the input type. 0 -
Legacy Poster
★ BarTender Hero ★
[quote name='Ian C - Seagull Support' timestamp='1324398112' post='1386']
Yes, all that needs be done is that the base64 encoded data is set to the data source of the picture object. Assuming that you have already selected base64 to be the input type.
[/quote]
thank you...
i will try this0
請登入寫評論。
評論
6 條評論