PDA

View Full Version : Copy data from Web object to Clipboard...



Intrigued
11-14-2005, 06:47 PM
Okay, I went ahead and used forum member Worm's KEYSTROKE.dll to accomplish this task. Be forewarned that it is a serious hack-a-mo-hack. But, it should work. Try it out and let me know if it works for your needs.

Here are the links to the project and the executable files.

AMS 6 .apz:

http://www.amsuser.com/ams/examples/HTMLtoClipboard-AMS6-Intrigued.apz

AMS 6 created .exe

http://www.amsuser.com/ams/examples/HTMLtoClipboard-AMS6-Intrigued.exe

Note: the code (bleck!) is listed in the On Click event area of the button (Label object).

Corey
11-14-2005, 06:58 PM
Bleck? :huh

Intrigued
11-14-2005, 07:01 PM
Bleck? :huh

Lets just say this is one time I would not use this code in a commerical application. It's not Worm's KEYSTROKE.dll either. It's my use of such.

:D

I had to add in several DLL calls and if say a user clicks in the box or moves the mouse away in that very short time it takes for this activity to complete... well lost focus on window and then it will not work properly. The next step is for me to figure out how to create a dll that handles RTF before Worm finds four minutes to code one!

;)

Corey
11-14-2005, 07:17 PM
Hee. 3:59... 3:58... 3:57... :D