Click here to Skip to main content
15,902,275 members
Home / Discussions / C#
   

C#

 
GeneralRe: Extending System.Collections.Hashtable Pin
jparsons24-Nov-03 12:20
jparsons24-Nov-03 12:20 
GeneralRe: Extending System.Collections.Hashtable Pin
Heath Stewart24-Nov-03 15:52
protectorHeath Stewart24-Nov-03 15:52 
GeneralRe: Extending System.Collections.Hashtable Pin
Thomas Gondorf24-Nov-03 21:51
Thomas Gondorf24-Nov-03 21:51 
GeneralInterface? Abstract? DLL? Component? please help Pin
sammyh24-Nov-03 5:23
sammyh24-Nov-03 5:23 
GeneralRe: Interface? Abstract? DLL? Component? please help Pin
Heath Stewart24-Nov-03 7:25
protectorHeath Stewart24-Nov-03 7:25 
Generalwww.itbooksearch.com.Huge IT ebook resources,You need not amazon any more. Each $4. Pin
Anonymous24-Nov-03 2:04
Anonymous24-Nov-03 2:04 
Generaldrag & drop image from IE Pin
trythat24-Nov-03 1:48
trythat24-Nov-03 1:48 
GeneralRe: drag & drop image from IE Pin
Heath Stewart24-Nov-03 4:47
protectorHeath Stewart24-Nov-03 4:47 
This comes down to clipboard formats (clipboard formats are also used for drag-n-drop). Basically, a drag source application puts data in an IDataObject (the Shell interface, not .NET's poor wrapper) and uses one or more clipboard formats. The drop target must understand one (or more) of these formats in order to get the data out.

First, you need to determine which clipboard formats Internet Explorer is using when dragging data out of the WebBrowser control. You could use a tool like ClipSpy[^] to find out what formats it's using.

Then your app must understand one of those formats. For instance, if Internet Explorer is using the string identified by DataFormats.Bitmap (in .NET), then you can get the data and cast it to a Bitmap object, assigning that (or rather a clone (Bitmap.Clone) to be safe) to the PictureBox.Image property.

 

-----BEGIN GEEK CODE BLOCK-----
Version: 3.21
GCS/G/MU d- s: a- C++++ UL@ P++(+++) L+(--) E--- W+++ N++ o+ K? w++++ O- M(+) V? PS-- PE Y++ PGP++ t++@ 5 X+++ R+@ tv+ b(-)>b++ DI++++ D+ G e++>+++ h---* r+++ y+++
-----END GEEK CODE BLOCK-----
GeneralRe: drag & drop image from IE Pin
trythat24-Nov-03 6:47
trythat24-Nov-03 6:47 
GeneralUsing custom controls in Windows Forms Pin
Radoslav Bielik24-Nov-03 0:20
Radoslav Bielik24-Nov-03 0:20 
GeneralRe: Using custom controls in Windows Forms Pin
Heath Stewart24-Nov-03 5:12
protectorHeath Stewart24-Nov-03 5:12 
GeneralRe: Using custom controls in Windows Forms Pin
Radoslav Bielik24-Nov-03 5:17
Radoslav Bielik24-Nov-03 5:17 
GeneralRe: Using custom controls in Windows Forms Pin
Barry Lapthorn24-Nov-03 10:07
protectorBarry Lapthorn24-Nov-03 10:07 
GeneralRe: Using custom controls in Windows Forms Pin
Heath Stewart24-Nov-03 10:11
protectorHeath Stewart24-Nov-03 10:11 
GeneralRe: Using custom controls in Windows Forms Pin
Barry Lapthorn24-Nov-03 11:25
protectorBarry Lapthorn24-Nov-03 11:25 
GeneralRe: Using custom controls in Windows Forms Pin
Heath Stewart24-Nov-03 11:28
protectorHeath Stewart24-Nov-03 11:28 
GeneralRe: Using custom controls in Windows Forms Pin
Barry Lapthorn24-Nov-03 11:32
protectorBarry Lapthorn24-Nov-03 11:32 
GeneralRe: Using custom controls in Windows Forms Pin
Heath Stewart24-Nov-03 11:36
protectorHeath Stewart24-Nov-03 11:36 
GeneralToDouble problem Pin
Jose Vicente23-Nov-03 23:17
Jose Vicente23-Nov-03 23:17 
GeneralRe: ToDouble problem Pin
Heath Stewart24-Nov-03 5:07
protectorHeath Stewart24-Nov-03 5:07 
GeneralRe: ToDouble problem Pin
Jose Vicente24-Nov-03 5:08
Jose Vicente24-Nov-03 5:08 
GeneralRe: ToDouble problem Pin
Judah Gabriel Himango24-Nov-03 5:25
sponsorJudah Gabriel Himango24-Nov-03 5:25 
GeneralRe: ToDouble problem Pin
sammyh24-Nov-03 5:28
sammyh24-Nov-03 5:28 
GeneralThanks all Pin
Jose Vicente24-Nov-03 5:29
Jose Vicente24-Nov-03 5:29 
GeneralLost my entire Form design Pin
Nish Nishant23-Nov-03 21:11
sitebuilderNish Nishant23-Nov-03 21:11 

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.