Wrox Programmer Forums
Go Back   Wrox Programmer Forums > Visual Basic > VB 6 Visual Basic 6 > VB How-To
VB How-To Ask your "How do I do this with VB?" questions in this forum.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the VB How-To 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 August 1st, 2005, 11:53 PM
Registered User
Join Date: Aug 2005
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
Default How to save an OLE Object to Long Binary


We currently have a SQL database that has embedded OLE objects that were stored using the Access VBA AppendChunk() method. What I would like to do is store these objects as just plain long binary data so I can open it through ASP.

I was thinking of doing this by writing a macro to open each OLE object, store it to a temporary file and then save it back as long binary in another table.

Can anyone give me any tips to do this? Very new to Access and VBA, any help would be greatly appreciated. Thanks.

Similar Threads
Thread Thread Starter Forum Replies Last Post
Saving OLE Object as Long Binary in SQL being_oblivious Pro VB Databases 0 August 1st, 2005 11:51 PM
Saving OLE Object to Long Binary being_oblivious Access VBA 0 August 1st, 2005 11:44 PM
Save BINARY FILE in ACCESS database gasma1975 Access 4 February 10th, 2005 12:16 PM
Reading field of 'Long' datatype from binary file peri C# 0 January 2nd, 2005 08:50 AM
File to binary and save as string eelisMX Pro VB.NET 2002/2003 4 December 8th, 2004 10:26 AM

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