Results 1 to 2 of 2

Thread: clipboard and database

  1. #1

    Thread Starter
    New Member
    Join Date
    Jan 2000
    Posts
    3

    Post

    Hello ! Could you tell what is the easiest
    way save content of clipboard to database(mdb). I have used this line:
    DataEnvironment1.rstblsakki.Fields(15).Value = Clipboard.GetData
    but I just get errormessage:
    Run-time error'-2147217887(80040e21)'
    Field's type is binary and others fields work fine.

    So any ideas ?

  2. #2
    Guru Clunietp's Avatar
    Join Date
    Oct 1999
    Location
    USA
    Posts
    1,844

    Post

    It depends on what type of clipboard data you are retrieving. You can make that determination by using Clipboard.GetFormat and be sure it's the proper type for your field, or you can convert it if necessary.

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