Home

Forums

Web development

 

 

 

 
     
 
dna88 Web development and Technology Forum
 
Profile   Register   Memberlist   Usergroups   FAQ   Search  Log in
storing and retrieving formatted text from database

 
Post new topic   Reply to topic    dna88 Forum Index -> Programming in Java, C, C#, VB, .NET Discussion Forum
Author Message
Fahad
Beginner User
Beginner User


Joined: 16 Mar 2004
Posts: 16

Post Post subject: storing and retrieving formatted text from database Reply with quote

hello everyone,
i need to know little abt database programming. i m doing a database programming in java. and now i like to store and retrieve formatted text i.e. text with different font sizes, colors, allignments etc to to store into a ms-access database file and retrieve that data from my java application.

can anyone help me describing the way i should proceed. is it possible? then, what should i do to solve it?

waiting for ur kind reply,
thanks.
fahad
Thu Mar 25, 04 2:11 am
Back to top
Fahad View user's profile Send private message Yahoo Messenger
Belal
User
User


Joined: 08 Mar 2004
Posts: 84
Location: Dhaka, Bangladesh

Post Post subject: Reply with quote

in ms-asscess, generally any thing other than normal data types r stored as OLE object. u've to save ur formatted text file as .rtf file and then store into db as OLE object. and then just retrieve ur contents as u retrieve frm OLE object in VB. To do any additional programming for ur text u need to read that as String and then do any operatioin u like.....

waiting for ur further reply....
Sat Mar 27, 04 7:35 am
Back to top
Belal View user's profile Send private message Yahoo Messenger MSN Messenger
Fahad
Beginner User
Beginner User


Joined: 16 Mar 2004
Posts: 16

Post Post subject: Reply with quote

thanks for ur answer.
but i can do only one part of ur answer. i can store rtf file to database successfully but what i m facing problem to sow the output in a java component. will u tell me which component i can use to solve that. if possible show me an example

Fahad
Mon Mar 29, 04 11:21 pm
Back to top
Fahad View user's profile Send private message Yahoo Messenger
Display posts from previous:   
Post new topic   Reply to topic    dna88 Forum Index -> Programming in Java, C, C#, VB, .NET Discussion Forum All times are GMT - 7 Hours
Page 1 of 1

 

Partners and Resources

Bangladesh hosting company

Bangladesh web design

Driven by phpBB © phpBB Group