Click here to Skip to main content
15,921,959 members
Home / Discussions / C#
   

C#

 
QuestionWindows Service Question Pin
Richard Blythe7-Jul-08 17:06
Richard Blythe7-Jul-08 17:06 
AnswerRe: Windows Service Question Pin
PIEBALDconsult7-Jul-08 17:41
mvePIEBALDconsult7-Jul-08 17:41 
QuestionWhy won't the clipboard work in this itunes event handler? Pin
Nitrus7-Jul-08 17:01
Nitrus7-Jul-08 17:01 
GeneralRe: Why won't the clipboard work in this itunes event handler? Pin
TheFM2347-Jul-08 17:34
TheFM2347-Jul-08 17:34 
GeneralRe: Why won't the clipboard work in this itunes event handler? Pin
Nitrus7-Jul-08 17:58
Nitrus7-Jul-08 17:58 
GeneralRe: Why won't the clipboard work in this itunes event handler? Pin
TheFM2348-Jul-08 2:19
TheFM2348-Jul-08 2:19 
GeneralRe: Why won't the clipboard work in this itunes event handler? Pin
Nitrus8-Jul-08 3:09
Nitrus8-Jul-08 3:09 
QuestionAccessing clipboard data in a multi threaded app Pin
Member 34047907-Jul-08 16:17
Member 34047907-Jul-08 16:17 
Hi, All.

I am having a problem where I am not getting a bitmap of a PDF back. This code works fine in a single threaded version I have been using for the past 8 months. If I open MSPaint I can paste the clipboard fine.
Is there something else I have to do because of it being multi threaded?
AcroPDPage pdfPage = (AcroPDPage)pdfDoc.AcquirePage(0);
CAcroPoint pdfRectTemp = (CAcroPoint)pdfPage.GetSize();
AcroRect pdfRect = new AcroRectClass();
pdfRect.Left = 0;
pdfRect.right = pdfRectTemp.x;
pdfRect.Top = 0;
pdfRect.bottom = pdfRectTemp.y;
pdfPage.CopyToClipboard(pdfRect, 0, 0, 100);
Fails at this point - returns "null"
--> IDataObject clipboardData = Clipboard.GetDataObject();
if (clipboardData.GetDataPresent(DataFormats.Bitmap))
{
blah,blah

Any ideas would be greatly appreciated.
Richard.
AnswerRe: Accessing clipboard data in a multi threaded app Pin
Member 34047909-Jul-08 14:18
Member 34047909-Jul-08 14:18 
Questionhmc 1052L Pin
fasehah7-Jul-08 15:16
fasehah7-Jul-08 15:16 
AnswerRe: hmc 1052L Pin
leckey7-Jul-08 16:10
leckey7-Jul-08 16:10 
JokeRe: hmc 1052L Pin
PIEBALDconsult7-Jul-08 17:42
mvePIEBALDconsult7-Jul-08 17:42 
AnswerRe: hmc 1052L Pin
Pete O'Hanlon7-Jul-08 21:42
mvePete O'Hanlon7-Jul-08 21:42 
Questionnewsletter mentioning a corba open source by novel...? Pin
Leblanc Meneses7-Jul-08 12:20
Leblanc Meneses7-Jul-08 12:20 
Questionprevious post is got too long, isn't it? (my previous question again) Pin
Sajjad Izadi7-Jul-08 9:21
Sajjad Izadi7-Jul-08 9:21 
AnswerRe: previous post is got too long, isn't it? (my previous question again) Pin
SomeGuyThatIsMe7-Jul-08 9:48
SomeGuyThatIsMe7-Jul-08 9:48 
GeneralRe: previous post is got too long, isn't it? (my previous question again) Pin
Christian Graus7-Jul-08 9:50
protectorChristian Graus7-Jul-08 9:50 
GeneralRe: previous post is got too long, isn't it? (my previous question again) Pin
SomeGuyThatIsMe7-Jul-08 10:04
SomeGuyThatIsMe7-Jul-08 10:04 
GeneralRe: previous post is got too long, isn't it? (my previous question again) Pin
Christian Graus7-Jul-08 10:11
protectorChristian Graus7-Jul-08 10:11 
GeneralRe: previous post is got too long, isn't it? (my previous question again) Pin
Colin Angus Mackay7-Jul-08 10:21
Colin Angus Mackay7-Jul-08 10:21 
AnswerRe: previous post is got too long, isn't it? (my previous question again) Pin
Christian Graus7-Jul-08 9:48
protectorChristian Graus7-Jul-08 9:48 
GeneralRe: previous post is got too long, isn't it? (my previous question again) Pin
Sajjad Izadi7-Jul-08 10:07
Sajjad Izadi7-Jul-08 10:07 
GeneralRe: previous post is got too long, isn't it? (my previous question again) Pin
Christian Graus7-Jul-08 10:12
protectorChristian Graus7-Jul-08 10:12 
GeneralRe: previous post is got too long, isn't it? (my previous question again) Pin
Paul Conrad7-Jul-08 10:32
professionalPaul Conrad7-Jul-08 10:32 
GeneralRe: previous post is got too long, isn't it? (my previous question again) Pin
Luc Pattyn7-Jul-08 10:13
sitebuilderLuc Pattyn7-Jul-08 10:13 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.