?
Solved

graphics to clipboard ?

Posted on 2003-02-25
3
Medium Priority
?
247 Views
Last Modified: 2010-03-31
How can I put my graphics (image) into clipboard using Internet Explorer 5.5 (win nt) and Microsoft VM (~JDK 1.1.1) ?
0
Comment
Question by:Philippe Charles
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
3 Comments
 
LVL 35

Expert Comment

by:TimYates
ID: 8015395
The data transfer classes in JDK 1.1 only supports transfering strings with the system clipboard.

:-(

And in later versions of Java, I think you have to sign your applet to access the clipboard, as it is regarded as a security risk :-/

What you *may* be able to do, is have your applet call a javascript function, passing the image...then the javascript should be able to put the image into the clipboard...

maybe...
0
 

Author Comment

by:Philippe Charles
ID: 8016063
Thanks! That's what I though !
Do you have an idea how to do that (I mean : using javascript to put the image in the clipboard)?
0
 
LVL 35

Accepted Solution

by:
TimYates earned 200 total points
ID: 8016169
Sorry, no :-(

I'm not even sure if you can access the system clipboard throught javascript with Netscape...  IE should (might) be ok, but again, Opera might be another kettle of fish...

Don't you just hate the lack of javascript standardisation :-(

Maybe post a 50 point question on the javascript board?  Someone there should know if it can be done...

Sorry I'm not much help :-(

If this doesn't work, have you considered an ActiveX control?

If you are only running on WindowsNT, you would get much better control over the clipboard with ActiveX
0

Featured Post

Get 15 Days FREE Full-Featured Trial

Benefit from a mission critical IT monitoring with Monitis Premium or get it FREE for your entry level monitoring needs.
-Over 200,000 users
-More than 300,000 websites monitored
-Used in 197 countries
-Recommended by 98% of users

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This was posted to the Netbeans forum a Feb, 2010 and I also sent it to Verisign. Who didn't help much in my struggles to get my application signed. ------------------------- Start The idea here is to target your cell phones with the correct…
Introduction This article is the first of three articles that explain why and how the Experts Exchange QA Team does test automation for our web site. This article explains our test automation goals. Then rationale is given for the tools we use to a…
Viewers will learn about the different types of variables in Java and how to declare them. Decide the type of variable desired: Put the keyword corresponding to the type of variable in front of the variable name: Use the equal sign to assign a v…
This tutorial covers a practical example of lazy loading technique and early loading technique in a Singleton Design Pattern.
Suggested Courses
Course of the Month11 days, 13 hours left to enroll

752 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question