locked
Setting Owner Information programatically RRS feed

  • Question

  • Hi,

    I need to set the Owner Information on a WM6.1 device programatically.

    I can do this by setting the appropriate vulues in the Owner key in the regsitry, but the new information is not reflected on the Windows Today screen  ( It is if I open up the Owner Information page ).

    Is there a setting or event that will cause the Toiday screen to refresh ? so that the new info that I have placed in rhe Owner Information keys will be shown on the Toiday screen.

    Thanks In advance,

    Mart

    Tuesday, May 17, 2011 12:07 PM

Answers

  • Hi Mart,

     

    As far as I know, you may restart your device after you changed the value of Today plug-in in registry. So that the information will be updated.

     

    As far as I know we can set the own information using control panel. In this way we need the customer to put the name manually. We call ctlpnl.exe to lunch the control panel like this:

     

                ProcessStartInfo startInfo = new ProcessStartInfo();

                startInfo.FileName = "ctlpnl.exe";

                startInfo.Arguments = "cplmain.cpl,2,0";

                Process.Start(startInfo);

     

    If customer put the name and click OK the owner information will updated immediately.

     

    I hope my suggestions can help you to solve this problem.

     

    Best regards,

    Jesse


    Jesse Jiang [MSFT]
    MSDN Community Support | Feedback to us
    Get or Request Code Sample from Microsoft
    Please remember to mark the replies as answers if they help and unmark them if they provide no help.

    • Marked as answer by Jesse Jiang Wednesday, May 25, 2011 8:19 AM
    Thursday, May 19, 2011 7:16 AM