Results 1 to 2 of 2

Thread: Webpage based ActiveX control to capture clipboard

  1. #1

    Thread Starter
    Hyperactive Member
    Join Date
    Sep 2000
    Location
    NJ, USA
    Posts
    326

    Webpage based ActiveX control to capture clipboard

    How difficult would it be to code an ActiveX control to retrieve an image from the Windows clipboard if the control is embedded in a webpage? For instance, the control appears on the webpage as an image box and when the user right clicks a menu pops up allowing them to paste an image.

    I'm confident I can write the code to grab the image and display it, but how would I go about creating the control, embedding it into the HTML, and then capturing the data that composes the image so it can be stored on a webserver?

    I can't find any good tutorials on how to do something like this.
    VB.NET 2005 Express with .Net 2.0
    C# 2010 .Net 4.0

  2. #2
    I'm about to be a PowerPoster! mendhak's Avatar
    Join Date
    Feb 2002
    Location
    Ulaan Baator GooGoo: Frog
    Posts
    38,170

    Re: Webpage based ActiveX control to capture clipboard

    Create it just as you would a regular ActiveX control. The only difference is 'implementation', wherein you need to generate the .CAB files and place them in the <object> tag in an HTML page.

    HTH

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