Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

OLE Problem -- Urgent -- all 910 of my points to whomever can answer

Posted on 2001-09-12
12
Medium Priority
?
468 Views
Last Modified: 2008-02-01
I have a msaccess db with a form containing a bound object control which is bound to an ole object in a table.  What I am attempting to do is paste a signatures from some other software.  When I paste it, it appears fine.  However, when I go into the table I am unable to open or edit the pasted object.  I get an error message stating "The Picture object doesn't support the attempted operation.  The OLE object was changed to a picture, or the link to the object was broken."

Any advice on this??
0
Comment
Question by:lumpy304
  • 3
  • 2
  • 2
  • +5
12 Comments
 
LVL 54

Expert Comment

by:Ryan Chong
ID: 6478346
Hi lumpy304,

What is the "signatures" format?

How about replace the OLE object with a picturebox control?

regards.
0
 
LVL 8

Expert Comment

by:dovholuk
ID: 6478347
what version of access?

can you send a sample to dovholuk@yahoo.com or post it and we can look at it and try to help that way?

other than that i don't have much to offer. maybe someone else can shed more light...

dovholuk

0
 
LVL 1

Expert Comment

by:shageman
ID: 6478350
The "signatures" is an electronic signature capture I am getting from another program.
0
What is SQL Server and how does it work?

The purpose of this paper is to provide you background on SQL Server. It’s your self-study guide for learning fundamentals. It includes both the history of SQL and its technical basics. Concepts and definitions will form the solid foundation of your future DBA expertise.

 
LVL 1

Expert Comment

by:shageman
ID: 6478357
The reason I dont want to use the picture box is I the images are not necessarily saved to a file from the other app.  I want to be able to paste them directly onto the control and be saved as an ole object.
0
 
LVL 1

Expert Comment

by:shageman
ID: 6478359
The reason I dont want to use the picture box is I the images are not necessarily saved to a file from the other app.  I want to be able to paste them directly onto the control and be saved as an ole object.
0
 

Author Comment

by:lumpy304
ID: 6478362
Forgive me....using a friends computer, those two responses are mine above.
0
 

Author Comment

by:lumpy304
ID: 6478366
Something that may help.....when I do the paste operation, the Source appears as Source:  Unknown Source when copying directly from this other app.

If I paste the image into an application such as paint, and recopy it, I can paste it into the bound object frame fine......note that the source changes to "Source: Bitmap Image"
0
 
LVL 14

Expert Comment

by:mgrattan
ID: 6478417
You're going to have to do one of the following things:

* Export the signature file from the other program to a BMP or JPG (or other compatible image format) before using it in Access.

* Check to see if the program that is used for creating the signature files supports OLE automation.  If it does, you should be able to embed the signature as an OLE object directly in Access after you have correctly registered the OLE functions in the other program.

More than likely, I think you are going to be forced to save those signature files as either BMP or JPG files and then either import them into Access (copy/paste into OLE container or, preferably, link an Unbound Image control to the source file).  
0
 
LVL 7

Expert Comment

by:Nosterdamus
ID: 6478596
Hi lumpy304,

I don't know how big your DB is going to be, but you should keep in mind that embedding the signatures into the DB is not recommended, as it makes the DB graw bigger and bigger, without any propotions to the amount of data it contains. More over, it will affect the performance of your DB (regarding access time & seek speed) dramaticaly.

The prefered method is to save the images to your disk, and use the link (rather than embed) method to link the images to your DB. This way, access just points to the image rather than accomodate it's graphics in the DB.

Hope this helps,

Nosterdamus
0
 
LVL 14

Expert Comment

by:mgrattan
ID: 6607944
Status?
0
 
LVL 54

Expert Comment

by:nico5038
ID: 6983058
for lumpy304

It's time to clean up this TA, so I will leave a recommendation in Community Support that this question is:
 - PAQ'd and pts refunded
Please leave any comments here within the
next seven days.

PLEASE DO NOT ACCEPT THIS COMMENT AS AN ANSWER !

Nic;o)
0
 
LVL 5

Accepted Solution

by:
Netminder earned 0 total points
ID: 6997627
Per recommendation, points refunded and question closed by
Netminder
CS Moderator
0

Featured Post

NFR key for Veeam Backup for Microsoft Office 365

Veeam is happy to provide a free NFR license (for 1 year, up to 10 users). This license allows for the non‑production use of Veeam Backup for Microsoft Office 365 in your home lab without any feature limitations.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This article shows how to get a list of available printers for display in a drop-down list, and then to use the selected printer to print an Access report or a Word document filled with Access data, using different syntax as needed for working with …
We live in a world of interfaces like the one in the title picture. VBA also allows to use interfaces which offers a lot of possibilities. This article describes how to use interfaces in VBA and how to work around their bugs.
Polish reports in Access so they look terrific. Take yourself to another level. Equations, Back Color, Alternate Back Color. Write easy VBA Code. Tighten space to use less pages. Launch report from a menu, considering criteria only when it is filled…
Have you created a query with information for a calendar? ... and then, abra-cadabra, the calendar is done?! I am going to show you how to make that happen. Visualize your data!  ... really see it To use the code to create a calendar from a q…

926 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question