Click here to Skip to main content
15,860,972 members
Home / Discussions / C#
   

C#

 
GeneralWindows Service with Balloon Tooltips Pin
jochen vg18-Jan-04 22:40
jochen vg18-Jan-04 22:40 
GeneralRe: Windows Service with Balloon Tooltips Pin
Heath Stewart19-Jan-04 4:21
protectorHeath Stewart19-Jan-04 4:21 
GeneralWH_KEYBOARD Global Hook Pin
gekoscan18-Jan-04 20:55
gekoscan18-Jan-04 20:55 
GeneralRe: WH_KEYBOARD Global Hook Pin
Duncan Edwards Jones18-Jan-04 21:37
professionalDuncan Edwards Jones18-Jan-04 21:37 
GeneralI don't believe this is the case Pin
gekoscan18-Jan-04 22:11
gekoscan18-Jan-04 22:11 
GeneralRe: I don't believe this is the case Pin
Duncan Edwards Jones19-Jan-04 1:55
professionalDuncan Edwards Jones19-Jan-04 1:55 
GeneralPreview of custom file type Pin
Shree18-Jan-04 20:54
Shree18-Jan-04 20:54 
GeneralRe: Preview of custom file type Pin
Heath Stewart19-Jan-04 3:51
protectorHeath Stewart19-Jan-04 3:51 
To have the shell extract an image for your document, you must register an IconHandler and implement IExtractImage, as well as the necessary icon handler interfaces. For more information about the IExtractImage interface, which you can declare in .NET using COM interop, see http://msdn.microsoft.com/library/en-us/shellcc/platform/shell/reference/ifaces/iextractimage/iextractimage.asp[^]. For more information about creating icon handlers, see Creating Icon Handlers[^] in MSDN. This can all be done via a CCW (COM-Callable Wrapper) in .NET, but you'll have to re-declare all the interfaces, structs, and constants necessary. Fortunately, there isn't too many in this case.

As far as writing a browser plugin, that gets a lot more complicated and you might consider doing this in C++ because there's a lot of interfaces, structs, and constants that you'll need to use. It's not that you can't do it in .NET, just make sure you fully understand COM interoperability in .NET.

This uses MIME handlers to host controls like Acrobat, or your document has to be an Active Document like Word and other Office formats. For more information and documentation on MIME handlers (asynchronous pluggable protocols), see About Asynchronous Pluggable Protocols[^]. For more information about Active Documents, see http://msdn.microsoft.com/library/en-us/vccore/html/vcconactivedocuments.asp[^]. Internet Explorer, BTW, is an Active Document Container and can display Active Documents, as well as host any toolbars if they're exposed properly. Other containers like Word, Excel, PowerPoint, and even a few non-MS container applications could also container your document. This requires that your document class implements a few COM interfaces and that your document server is registered using regasm.exe or some other installation utility. Some custom registry editing (see the Microsoft.Win32.RegistryKey class) will be required.

 

-----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-----
Generalseparated from its underlying RCW when accessing a chat frame. Pin
Andrlage18-Jan-04 11:00
Andrlage18-Jan-04 11:00 
GeneralPersist data across pages using Web Table Control Pin
caheo18-Jan-04 10:19
caheo18-Jan-04 10:19 
GeneralRe: Persist data across pages using Web Table Control Pin
Mazdak18-Jan-04 10:32
Mazdak18-Jan-04 10:32 
GeneralRe: Persist data across pages using Web Table Control Pin
Heath Stewart18-Jan-04 12:01
protectorHeath Stewart18-Jan-04 12:01 
GeneralRe: Persist data across pages using Web Table Control Pin
caheo18-Jan-04 13:55
caheo18-Jan-04 13:55 
GeneralRe: Persist data across pages using Web Table Control Pin
Heath Stewart19-Jan-04 3:00
protectorHeath Stewart19-Jan-04 3:00 
GeneralAdded method with a wizard Pin
Anonymous18-Jan-04 10:06
Anonymous18-Jan-04 10:06 
GeneralRe: Added method with a wizard Pin
Mazdak18-Jan-04 10:19
Mazdak18-Jan-04 10:19 
GeneralRe: Added method with a wizard Pin
leppie18-Jan-04 11:35
leppie18-Jan-04 11:35 
GeneralRe: Added method with a wizard Pin
Mazdak18-Jan-04 20:12
Mazdak18-Jan-04 20:12 
GeneralRe: Added method with a wizard Pin
Guillermo Rivero18-Jan-04 10:32
Guillermo Rivero18-Jan-04 10:32 
GeneralC# - Multidimensionnal array of pointers Pin
Orahn18-Jan-04 7:05
Orahn18-Jan-04 7:05 
GeneralRe: C# - Multidimensionnal array of pointers Pin
leppie18-Jan-04 10:04
leppie18-Jan-04 10:04 
GeneralRe: C# - Multidimensionnal array of pointers Pin
Orahn18-Jan-04 10:09
Orahn18-Jan-04 10:09 
GeneralRe: C# - Multidimensionnal array of pointers Pin
leppie18-Jan-04 10:13
leppie18-Jan-04 10:13 
GeneralRe: C# - Multidimensionnal array of pointers Pin
Heath Stewart18-Jan-04 11:49
protectorHeath Stewart18-Jan-04 11:49 
GeneralRe: C# - Multidimensionnal array of pointers Pin
Orahn18-Jan-04 18:58
Orahn18-Jan-04 18:58 

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.