Click here to Skip to main content
15,916,293 members
Home / Discussions / C#
   

C#

 
GeneralRe: Advanced C# Question Pin
Pete O'Hanlon15-Mar-10 5:44
mvePete O'Hanlon15-Mar-10 5:44 
GeneralRe: Advanced C# Question Pin
ThatsAlok15-Mar-10 4:02
ThatsAlok15-Mar-10 4:02 
QuestionWindows Explorer shell context menu Pin
shah zad14-Mar-10 23:40
shah zad14-Mar-10 23:40 
Questionhow to convert Microsoft.Office.Interop.Excel.range to a dataset Pin
neodeaths14-Mar-10 23:30
neodeaths14-Mar-10 23:30 
AnswerRe: how to convert Microsoft.Office.Interop.Excel.range to a dataset Pin
Gaurav Dudeja India14-Mar-10 23:40
Gaurav Dudeja India14-Mar-10 23:40 
QuestionClipboard doesn't get image after Ctrl-C is pressed Pin
highton14-Mar-10 22:15
highton14-Mar-10 22:15 
AnswerRe: Clipboard doesn't get image after Ctrl-C is pressed Pin
AspDotNetDev14-Mar-10 22:25
protectorAspDotNetDev14-Mar-10 22:25 
GeneralRe: Clipboard doesn't get image after Ctrl-C is pressed Pin
highton14-Mar-10 22:43
highton14-Mar-10 22:43 
I copy an image from Window Explorer, or Desktop, and whenever I press Ctrl-V on my application, it does not work as I wish.
It works fine with Microsoft Word.
I catch an event after user clicks Ctrl-V, the code outside IF statement is fired, but not the one inside.

Those are the code that I have done so far:

private void OnKeyDown(Object sender, PreviewKeyDownEventArgs e)
{
if (e.KeyCode == Keys.V && e.Modifiers == Keys.Control)
{
// Some code
if (Clipboard.GetDataObject().GetDataPresent(DataFormats.Bitmap) == true)
{
// Do something
}
}
}

Thanks.
GeneralRe: Clipboard doesn't get image after Ctrl-C is pressed Pin
OriginalGriff14-Mar-10 22:55
mveOriginalGriff14-Mar-10 22:55 
GeneralRe: Clipboard doesn't get image after Ctrl-C is pressed Pin
AspDotNetDev14-Mar-10 23:52
protectorAspDotNetDev14-Mar-10 23:52 
GeneralRe: Clipboard doesn't get image after Ctrl-C is pressed Pin
Dave Kreskowiak15-Mar-10 4:16
mveDave Kreskowiak15-Mar-10 4:16 
AnswerRe: Clipboard doesn't get image after Ctrl-C is pressed Pin
Luc Pattyn15-Mar-10 1:51
sitebuilderLuc Pattyn15-Mar-10 1:51 
QuestionHow to convert image files to PDF files Pin
NarVish14-Mar-10 21:59
NarVish14-Mar-10 21:59 
AnswerRe: How to convert image files to PDF files Pin
ScottM114-Mar-10 22:50
ScottM114-Mar-10 22:50 
GeneralRe: How to convert image files to PDF files Pin
NarVish14-Mar-10 23:22
NarVish14-Mar-10 23:22 
GeneralMessage Closed Pin
14-Mar-10 23:33
stancrm14-Mar-10 23:33 
GeneralRe: How to convert image files to PDF files Pin
NarVish14-Mar-10 23:48
NarVish14-Mar-10 23:48 
GeneralRe: How to convert image files to PDF files Pin
ThatsAlok15-Mar-10 1:58
ThatsAlok15-Mar-10 1:58 
GeneralRe: How to convert image files to PDF files Pin
Thomas Krojer15-Mar-10 22:17
Thomas Krojer15-Mar-10 22:17 
QuestionDetecting instances of Internet Explorer for all users logged in Pin
Ihtesham14-Mar-10 19:56
Ihtesham14-Mar-10 19:56 
AnswerRe: Detecting instances of Internet Explorer for all users logged in Pin
ScottM114-Mar-10 21:07
ScottM114-Mar-10 21:07 
GeneralRe: Detecting instances of Internet Explorer for all users logged in Pin
Ihtesham14-Mar-10 22:18
Ihtesham14-Mar-10 22:18 
GeneralRe: Detecting instances of Internet Explorer for all users logged in Pin
ScottM114-Mar-10 22:48
ScottM114-Mar-10 22:48 
AnswerRe: Detecting instances of Internet Explorer for all users logged in Pin
Andre' Gardiner14-Mar-10 21:47
professionalAndre' Gardiner14-Mar-10 21:47 
GeneralRe: Detecting instances of Internet Explorer for all users logged in Pin
Ihtesham14-Mar-10 22:20
Ihtesham14-Mar-10 22:20 

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.