|
-
Sep 16th, 2003, 04:23 PM
#1
Thread Starter
Hyperactive Member
Database OLE object in a Richtextbox *[RESOLVED]*
I've created a DB in Access with two fields: Questions - A text field, and Answers - an embedded WordPad OLE document.
I want what's in the embedded wordpad field to be displayed in a RichTextBox (this is because I use bold, italics, bullets, colours, etc in the Answers) but I don't know how!
I've attached the DB to VB (!) using the connections and adapters but I just can't fathom out how to display the WordPad OLE embedded object in a RichTextBox. Here's what I'm using to fill a listbox with the Question field:
Code:
DsPlatform1.Clear()
OleDbDataAdapter1.Fill(DsPlatform1)
but i'm getting an exception error on the second line, I'm brand spanking new at DB with VB so please be gentle!
Thanks.
Last edited by RealNickyDude; Sep 18th, 2003 at 01:32 PM.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|