Click here to Skip to main content
15,887,272 members
Home / Discussions / C#
   

C#

 
GeneralC# Does Shell, Arik Poznanski Pin
Christopher_S8-Feb-04 15:18
Christopher_S8-Feb-04 15:18 
GeneralRe: C# Does Shell, Arik Poznanski Pin
David Stone8-Feb-04 17:14
sitebuilderDavid Stone8-Feb-04 17:14 
GeneralRe: C# Does Shell, Arik Poznanski Pin
Christopher_S8-Feb-04 17:31
Christopher_S8-Feb-04 17:31 
GeneralRe: C# Does Shell, Arik Poznanski Pin
Heath Stewart8-Feb-04 19:30
protectorHeath Stewart8-Feb-04 19:30 
QuestionHow to monitor the request of IIS? Pin
EastDragon8-Feb-04 14:59
EastDragon8-Feb-04 14:59 
AnswerRe: How to monitor the request of IIS? Pin
Heath Stewart8-Feb-04 19:26
protectorHeath Stewart8-Feb-04 19:26 
GeneralWindows Address Book Pin
Anonymous8-Feb-04 12:04
Anonymous8-Feb-04 12:04 
GeneralRe: Windows Address Book Pin
Heath Stewart8-Feb-04 19:20
protectorHeath Stewart8-Feb-04 19:20 
First - read the documentation for the classes, interfaces, etc., in the System.Runtime.InteropServices namespace in the .NET Framework SDK, as well as the links to the articles mentioned in the text. You're going to have to learn how to marshal params, how to declare parameters correctly (when to use ref and out, and the differences between reference types and value types). Then see the the WAB reference[^] and declare the interfaces with the appropriate GUIDs (using the GuidAttribute), which you can find in the header listed in the documentation.

Finally, P/Invoke the WAPOpen and WAPOpenEx functions which will get you instances of interfaces you defined previously.

If you don't care about the source of the contacts and would rather use the default MAPI contact container, you should make use of MAPI and do something similar as described above for interfaces like IABContainer, IAddrBook, and so forth. This way you can query and update any address book set as the system default (WAB, Outlook, Mozilla, etc.).

 

Microsoft MVP, Visual C#
My Articles
GeneralRe: Windows Address Book Pin
Anonymous9-Feb-04 2:54
Anonymous9-Feb-04 2:54 
GeneralRe: Windows Address Book Pin
Heath Stewart9-Feb-04 3:25
protectorHeath Stewart9-Feb-04 3:25 
GeneralAdvice on editable datagrid Pin
Andrlage8-Feb-04 11:20
Andrlage8-Feb-04 11:20 
GeneralRe: Advice on editable datagrid Pin
Nick Parker8-Feb-04 11:32
protectorNick Parker8-Feb-04 11:32 
GeneralAutoScrolling TextBoxes Pin
ZigmaT8-Feb-04 10:51
ZigmaT8-Feb-04 10:51 
GeneralRe: AutoScrolling TextBoxes Pin
Heath Stewart8-Feb-04 19:04
protectorHeath Stewart8-Feb-04 19:04 
GeneralRe: AutoScrolling TextBoxes Pin
ZigmaT9-Feb-04 8:32
ZigmaT9-Feb-04 8:32 
GeneralBroadcasting on a local network Pin
ZigmaT8-Feb-04 10:42
ZigmaT8-Feb-04 10:42 
GeneralRe: Broadcasting on a local network Pin
Nick Parker8-Feb-04 10:54
protectorNick Parker8-Feb-04 10:54 
GeneralRe: Broadcasting on a local network Pin
ZigmaT8-Feb-04 11:01
ZigmaT8-Feb-04 11:01 
GeneralRe: Broadcasting on a local network Pin
Nick Parker8-Feb-04 11:29
protectorNick Parker8-Feb-04 11:29 
GeneralRe: Broadcasting on a local network Pin
ZigmaT8-Feb-04 12:22
ZigmaT8-Feb-04 12:22 
GeneralRe: Broadcasting on a local network Pin
Heath Stewart8-Feb-04 18:33
protectorHeath Stewart8-Feb-04 18:33 
GeneralCompiling Dependancies Pin
ZigmaT8-Feb-04 9:47
ZigmaT8-Feb-04 9:47 
GeneralRe: Compiling Dependancies Pin
Mazdak8-Feb-04 9:56
Mazdak8-Feb-04 9:56 
GeneralRe: Compiling Dependancies Pin
ZigmaT8-Feb-04 10:37
ZigmaT8-Feb-04 10:37 
GeneralRe: Compiling Dependancies Pin
Heath Stewart8-Feb-04 18:22
protectorHeath Stewart8-Feb-04 18:22 

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.