BorlandTalk.com Forum Index BorlandTalk.com
Borland discussion newsgroups
 
Archives   FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Word Clipboard don't work on ISAPI

 
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> Delphi Internet Isapi-WebBroker
View previous topic :: View next topic  
Author Message
Volodymyr Khoroz
Guest





PostPosted: Tue Dec 23, 2003 1:06 pm    Post subject: Word Clipboard don't work on ISAPI Reply with quote



When I try to Paste text data from Clipboard into Word document (f.e.
"Word.Selection.Paste" or "Document.Range.Paste") it raises an access
violation exception.
What can I do to solve this problem.
I work on Delphi7.


Back to top
DaveH
Guest





PostPosted: Tue Dec 23, 2003 5:41 pm    Post subject: Re: Word Clipboard don't work on ISAPI Reply with quote



I don't think the clipboard is available to an ISAPI dll. Only desktop
applications can do that.

It looks like you've created a Word object through the OLE/ActiveX
interface, which you can do, but you can't have it do things that would
require desktop privileges (like getting device handles for drawing the
screen - and by the looks of it, accessing the clipboard).

You need to think of a different solution.

My 2 cents.
DaveH



"Volodymyr Khoroz" <khoroz (AT) i-hypergrid (DOT) com> wrote

Clipboard into Word document (f.e.
Quote:
"Word.Selection.Paste" or "Document.Range.Paste") it raises an access
violation exception.
What can I do to solve this problem.
I work on Delphi7.





Back to top
Display posts from previous:   
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> Delphi Internet Isapi-WebBroker All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2006 phpBB Group
SEO toolkit © 2004-2006 webmedic.