Click here to Skip to main content
15,912,400 members
Home / Discussions / C#
   

C#

 
GeneralTreeView Control Pin
sachinkalse24-May-04 23:14
sachinkalse24-May-04 23:14 
GeneralRe: TreeView Control Pin
Corinna John24-May-04 23:55
Corinna John24-May-04 23:55 
GeneralRe: TreeView Control Pin
Heath Stewart25-May-04 3:36
protectorHeath Stewart25-May-04 3:36 
GeneralRe: TreeView Control Pin
sachinkalse25-May-04 22:49
sachinkalse25-May-04 22:49 
GeneralRe: TreeView Control Pin
Heath Stewart26-May-04 3:05
protectorHeath Stewart26-May-04 3:05 
GeneralRe: TreeView Control Pin
sachinkalse26-May-04 14:57
sachinkalse26-May-04 14:57 
GeneralMake default e-mail client using C# Pin
lieperik24-May-04 22:30
lieperik24-May-04 22:30 
GeneralRe: Make default e-mail client using C# Pin
Heath Stewart25-May-04 3:32
protectorHeath Stewart25-May-04 3:32 
The default mail client is typically a MAPI client. However, Windows XP and higher supports setting a web provider as the default. I'm not sure on the specifics (never cared to look) but you could browse the registry and look for information about the Hotmail provider, since Hotmail can be the default mail client on Windows XP. Maybe there's a small MAPI stub - I really don't know. At least digging through the registry entries you already know about after setting Hotmail as the default client might give you some insight.

As a potential user of your system (speaking hypothetically, of course), I deserve the right to set whatever I want as my default client. Forcing users to use something - unless your a domain admin or something - is a quick way to piss people off and loose them. You might look at how to register your web mail provider like Hotmail is and prompt them during installation to set you as the default mail provider.

[EDIT] Oh, this MAPI stub would have to be a native DLL that exports functions, though you could use this as a stub to a .NET assembly by exposing your components as CCW (COM-Callable Wrappers). [/EDIT]

In the worst case scenario, you will have to create a MAPI stub that basically interprets MAPI calls and forwards them to your web mail provider appropriately.

 

Microsoft MVP, Visual C#
My Articles
GeneralEventLog Privileges Pin
Andy *M*24-May-04 22:27
Andy *M*24-May-04 22:27 
GeneralRe: EventLog Privileges Pin
Mazdak24-May-04 23:02
Mazdak24-May-04 23:02 
GeneralRe: EventLog Privileges Pin
Andy *M*24-May-04 23:12
Andy *M*24-May-04 23:12 
GeneralRe: EventLog Privileges Pin
Dave Kreskowiak25-May-04 2:28
mveDave Kreskowiak25-May-04 2:28 
Questionhow to netsend to wan locations Pin
skooij24-May-04 20:12
skooij24-May-04 20:12 
AnswerRe: how to netsend to wan locations Pin
Dave Kreskowiak25-May-04 2:22
mveDave Kreskowiak25-May-04 2:22 
GeneralRe: how to netsend to wan locations Pin
skooij25-May-04 3:00
skooij25-May-04 3:00 
GeneralRe: how to netsend to wan locations Pin
Heath Stewart25-May-04 3:27
protectorHeath Stewart25-May-04 3:27 
GeneralRelease vs. debug Pin
spif200124-May-04 19:58
spif200124-May-04 19:58 
GeneralRe: Release vs. debug Pin
Andy *M*24-May-04 22:34
Andy *M*24-May-04 22:34 
GeneralRe: Release vs. debug Pin
spif200124-May-04 23:23
spif200124-May-04 23:23 
GeneralRe: Release vs. debug Pin
Dave Kreskowiak25-May-04 2:16
mveDave Kreskowiak25-May-04 2:16 
GeneralRe: Release vs. debug Pin
spif200125-May-04 2:24
spif200125-May-04 2:24 
GeneralRe: Release vs. debug Pin
Heath Stewart25-May-04 3:05
protectorHeath Stewart25-May-04 3:05 
GeneralRe: Release vs. debug Pin
spif200125-May-04 20:39
spif200125-May-04 20:39 
GeneralRe: Release vs. debug Pin
spif200125-May-04 21:18
spif200125-May-04 21:18 
GeneralData Binding a TextBox to a DataSet Pin
woaksie24-May-04 18:49
woaksie24-May-04 18:49 

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.