Hi all, Does anyone know where in the Registry MSN stores the Add-In locations Or if there is some official way of automating the installation of Add-Ins into MSN
OK I've found that it adds them to HKEY_CURRENT_USER\Software\Microsoft\MSNMessenger\PerPassportSettings\<SOME ID>\InstalledAddInsList\<YourAddinAssembly.dll>
Where <SOME ID> maps to your MSN/Passport Account number. Does anyone know how this number is derived I suppose the question I am asking is, given an email address how can I get the ID so that I can install the addin into the correct place
Automating MSN Add-In installation...
Shmelly
Matt Stum
Nilkanth
function HotmailToPassportID( aEmail : WideString ) : Cardinal;
var
x : Cardinal;
i : integer;
lower : WideString;
begin
x := 0;
// Email must be in LowerCase
lower := WideLowerCase( aEmail );
// Loop through and add up the letters
for i := 0 to Length( lower ) do
begin
x := x * 101;
x := x + Cardinal( lower[ i ] );
end;
result := IntToStr( x );
end;
HansS4
Where <SOME ID> maps to your MSN/Passport Account number. Does anyone know how this number is derived I suppose the question I am asking is, given an email address how can I get the ID so that I can install the addin into the correct place
Thanks.
programmer01
http://stiggy.be/msn/index.php/Calcuating_User_ID