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 April 19th, 2006, 06:02 AM
Registered User
 
Join Date: Apr 2006
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via Yahoo to rajesh_bamane
Default insert image in to oracle blob data type

i have problem in inserting image in oracle database using blob data type
plz help me

Raj
 
Old May 11th, 2006, 11:23 AM
Registered User
 
Join Date: May 2006
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via Yahoo to khronikles
Default

Try
http://forums.oracle.com/forums/forum.jspa?forumID=61

and post your problems there. Response time is quick

 
Old July 6th, 2006, 03:46 AM
Registered User
 
Join Date: Jul 2006
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Default

dear Raj,
have you get solution about this problem if yes then tell me how can insert image in blob data type.

Quote:
quote:Originally posted by rajesh_bamane
 i have problem in inserting image in oracle database using blob data type
plz help me

Raj
 
Old July 15th, 2006, 02:06 AM
Registered User
 
Join Date: Jul 2006
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via Yahoo to JGumia
Default

Private Sub CopyBlob(fname As String)
On Error GoTo ErrorSub

    Dim OraBlob As OraBlob
    Dim Part As OraDynaset
    Dim PartImage As OraBlob

    Set Part = g_OraDatabase.CreateDynaset("select * from blob_test where id = 4", 10&)

    Set PartImage = Part.Fields("Blob_Object").Value

    PartImage.CopyToFile fname, 10000, 1000

    Exit Sub

ErrorSub:

End Sub

"What on Earth am I here for"





Similar Threads
Thread Thread Starter Forum Replies Last Post
BLOB: file is empty after retrieving blob data thr taraprasad Pro JSP 0 May 22nd, 2008 10:02 AM
insert/retrive image from oracle 9i in asp.net 2.0 Pramod2005 .NET Framework 1.x 0 July 4th, 2007 02:55 AM
How can INSERT Image into BLOB data type shah_shah Pro VB Databases 0 July 6th, 2006 03:51 AM
Display RTF data From oracle BLOB to RichTextBox saravananedu VB How-To 2 July 26th, 2005 12:03 AM
problem in inserting blob data to oracle selphyr JSP Basics 2 December 2nd, 2004 01:44 PM





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