Wrox Programmer Forums

Need to download code?

View our list of code downloads.

Go Back   Wrox Programmer Forums > Visual Basic > VB 6 Visual Basic 6 > Pro VB Databases
Password Reminder
Register
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read
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 tens of thousands of software programmers and website developers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining today you can post your own programming questions, respond to other developers’ questions, and eliminate the ads that are displayed to guests. Registration is fast, simple and absolutely free .
DRM-free e-books 300x50
Reply
 
Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old April 19th, 2006, 06:02 AM
Registered User
 
Join Date: Apr 2006
Location: mumbai, mahrashtra, India.
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
Reply With Quote
  #2 (permalink)  
Old May 11th, 2006, 11:23 AM
Registered User
 
Join Date: May 2006
Location: London, London, United Kingdom.
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

Reply With Quote
  #3 (permalink)  
Old July 6th, 2006, 03:46 AM
Registered User
 
Join Date: Jul 2006
Location: , , .
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
Reply With Quote
  #4 (permalink)  
Old July 15th, 2006, 02:06 AM
Registered User
 
Join Date: Jul 2006
Location: , , Philippines.
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"
Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off


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



All times are GMT -4. The time now is 04:38 AM.


Powered by vBulletin®
Copyright ©2000 - 2019, Jelsoft Enterprises Ltd.
© 2013 John Wiley & Sons, Inc.