Results 1 to 21 of 21

Thread: Database OLE object in a Richtextbox *[RESOLVED]*

Threaded View

  1. #1

    Thread Starter
    Hyperactive Member RealNickyDude's Avatar
    Join Date
    Nov 2002
    Location
    Watching you through the hidden camera :o
    Posts
    435

    Thumbs up 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.
    [vbcode]
    On Error GoTo Hell
    [/vbcode]:¬) Nicky : Why not try VBCodebook.NET.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width