Wrox Programmer Forums
|
Access Discussion of Microsoft Access database design and programming. See also the forums for Access ASP and Access VBA.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Access section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old October 31st, 2004, 12:20 AM
Registered User
 
Join Date: Oct 2004
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default How to binding Access & C#

how to make the OLE Objet(Access) binding to PictureBox(C#)!help!!!!

HI,I from China! I Love C#!!Would you help me?
 
Old October 31st, 2004, 11:01 AM
Authorized User
 
Join Date: Oct 2004
Posts: 59
Thanks: 0
Thanked 0 Times in 0 Posts
Default

I don't think it can be done because Access wraps its own non-standard headers around an OLE Object stored in an mdb. Storing an OLE Object in an Access JET database isn't a good idea anyway because Access stores not only the OLE Object but also a large bitmap "thumbnail" of the object. If you're storing a compressed image such as a JPG, the object can end up using 5 or 6 times the actual size of the object when stored in an mdb. Use a Text or Memo field instead that stores the path of the object - and that should be easy to load into a PictureBox.


John Viescas, author
"Microsoft Office Access 2003 Inside Out"
"Running Microsoft Access 2000"
"SQL Queries for Mere Mortals"





Similar Threads
Thread Thread Starter Forum Replies Last Post
Binding MS Access data to DropDownList aleahy Classic ASP Basics 1 April 25th, 2005 06:02 PM
Linux & KDE & C++ & QT & MYSQL & Kdevelop Munnnki Linux 0 January 2nd, 2005 05:41 PM
Having Trouble With Binding Dataset in Access flyingfox Pro VB.NET 2002/2003 1 August 26th, 2004 03:22 PM
RDS Single Record and Table Binding with Access qwerty Classic ASP Databases 0 July 15th, 2003 02:20 PM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.