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 > VB How-To
Password Reminder
Register
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read
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 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 July 22nd, 2005, 01:25 AM
Authorized User
 
Join Date: May 2004
Location: Chennai, Tamil Nadu, India.
Posts: 26
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via AIM to saravananedu
Default Display RTF data From oracle BLOB to RichTextBox

Hi All,

i have a richtextbox control in which i can paste any content from a word document. it may contain bold , color and formatted characters. i have stored this content to the oracle table ( the column used is of type BLOB) using AppendChunk property and retrieved & displayed again in the rich text control using getchunk property. my only problem is ... the retrieved contents are only in the plain text format (bold & color attributes were gone) . how can i display the content in the same manner i have stored? pls help me asap.

Thanks in advance.

Best Regards,
A. Saravanan.
__________________
Best Regards,
Saran.
Reply With Quote
  #2 (permalink)  
Old July 22nd, 2005, 04:51 AM
Friend of Wrox
Points: 687, Level: 9
Points: 687, Level: 9 Points: 687, Level: 9 Points: 687, Level: 9
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Dec 2004
Location: Chennai, Tamilnadu, India.
Posts: 221
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Hello

Check this link
http://in.geocities.com/raghavendra_mudugal/RTFData.zip

It contains the vb project. I have written the
instructions at the end of the code on how get
back the format that you have typed.

Please check this and let me know

Hope this helps.

With Regards,
Raghavendra Mudugal
Reply With Quote
  #3 (permalink)  
Old July 26th, 2005, 12:03 AM
Authorized User
 
Join Date: May 2004
Location: Chennai, Tamil Nadu, India.
Posts: 26
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via AIM to saravananedu
Default

Thanks Raghav!

Thanks a Lot!

earlier, I have tried with textRTF property to store the data, but while retrieving i 've used just text property and got fedup. here is the code i have used after ur valuable suggesstion

=========

rs(2).AppendChunk (RichTextBox1.TextRTF)

...

...

RichTextBox1.TextRTF = rs(2).GetChunk(rs(2).ActualSize)

=========

Thank You Very Much Once Again for your Kind & timely help.

sorry for the delayed reply. i was out of station.

Best Regards,
Saran.
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
Display RTF data in crystal report 8.5 using VB shahvismay76 Crystal Reports 1 May 16th, 2013 07:37 AM
BLOB: file is empty after retrieving blob data thr taraprasad Pro JSP 0 May 22nd, 2008 10:02 AM
Display RTF data From oracle LONG to RichTextBox gotu Beginning VB 6 0 October 20th, 2006 09:43 AM
insert image in to oracle blob data type rajesh_bamane Pro VB Databases 3 July 15th, 2006 02:06 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 08:48 PM.


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