Results 1 to 3 of 3
  1. #1
    Star Lounger
    Join Date
    Jan 2001
    Location
    Los Angeles
    Posts
    78
    Thanks
    0
    Thanked 0 Times in 0 Posts

    save ole image file (2002)

    Is there a way to save the contents of an ole control to a file? I realize that a user can insert a LINK into the OLE control, and I have this working fine.

    What I'm looking for is a way that a user can PASTE (with ctrl V) a screen shot into an ole control, and then with code, SAVE that screen shot to a file location, and then just keep the link or file path of the saved bitmap in the database. (as a user after taking a screen shot cannot really "browse" for the clipboard contents.)

    I've played around with the various .action commands on the control, and think that LpOleObject might be giving me something I could use.

    THANKS ALL.

  2. #2
    Plutonium Lounger
    Join Date
    Mar 2002
    Posts
    84,353
    Thanks
    0
    Thanked 29 Times in 29 Posts

    Re: save ole image file (2002)

    You can probably use the code from OLEtoDisk on Stephen Lebans' website (free download)

  3. #3
    Star Lounger
    Join Date
    Jan 2001
    Location
    Los Angeles
    Posts
    78
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: save ole image file (2002)

    Thank you! His code does exactly what I was looking for.

Posting Permissions

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