New topic: 

Writing Picture from Clipboard to socket

<http://forums.realsoftware.com/viewtopic.php?t=33857>

         Page 1 of 1
   [ 1 post ]                 Previous topic | Next topic          Author  
Message        motorollin          Post subject: Writing Picture from Clipboard 
to socketPosted: Wed May 19, 2010 4:32 am                         
Joined: Mon Jun 16, 2008 4:53 pm
Posts: 38                Hi all

I'm trying to write a clipboard's picture to a web server. I've tried this in 
the socket's dataavailable event:

Code:dim c as new clipboard
me.write c.picture


This doesn't work because picture isn't compatible with the socket's write 
method. So I tried:

Code:dim c as new Clipboard
Me.write c.RawData("PNG")


This runs, but the sendcomplete event never triggers and the browser just sits 
there trying to load the page. Any help gratefully received!   
                             Top            Display posts from previous: All 
posts1 day7 days2 weeks1 month3 months6 months1 year Sort by AuthorPost 
timeSubject AscendingDescending          Page 1 of 1
   [ 1 post ]      
-- 
Over 1500 classes with 29000 functions in one REALbasic plug-in collection. 
The Monkeybread Software Realbasic Plugin v9.3. 
http://www.monkeybreadsoftware.de/realbasic/plugins.shtml

[email protected]

Reply via email to