Wrox Programmer Forums
Go Back   Wrox Programmer Forums > Visual Basic > VB 6 Visual Basic 6 > Pro VB Databases
Pro VB Databases Advanced-level VB coding questions specific to using VB with databases. Beginning-level questions or issues not specific to database use will be redirected to other forums.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Pro VB Databases 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:51 PM
Registered User
Join Date: Aug 2005
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
Default Saving OLE Object as Long Binary in SQL


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 Binary data using SQL Query aliirfan84 Oracle 1 June 4th, 2007 03:20 AM
Saving OLE Object to FIle being_oblivious Access VBA 0 August 2nd, 2005 07:34 PM
How to save an OLE Object to Long Binary being_oblivious VB How-To 0 August 1st, 2005 11:53 PM
Saving OLE Object to Long Binary being_oblivious Access VBA 0 August 1st, 2005 11:44 PM
Reading field of 'Long' datatype from binary file peri C# 0 January 2nd, 2005 08:50 AM

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