PC Review Forums Newsgroups Microsoft DotNet Microsoft Dot NET Compact Framework ask for APIs about change smartphone mode like "Slient" ," Flight","OutDoor"

Reply

ask for APIs about change smartphone mode like "Slient" ," Flight","OutDoor"

 
Thread Tools Rate Thread
Old 28-12-2004, 08:48 AM   #1
Liren Zhao
Guest
 
Posts: n/a
Default Re: ask for APIs about change smartphone mode like "Slient" ," Flight","OutDoor"


I have modified the registry "HKCU\ControlPanel\Profiles\ActiveProfile" ,but
it not take effect.

And there is not "Flight Mode" !!!!



"Alex Feinman [MVP]" <public_news@alexfeinman.com> wrote in message
news:%23o39t5W7EHA.3236@TK2MSFTNGP15.phx.gbl...
> The profiles are controlled by the registry setting
> HKCU\ControlPanel\Profiles\ActiveProfile
>
> You can use DXProcessConfigXml and the registry CSP to modify this. See
> the Smartphone SDK documentation for more information
>
> --
> Alex Feinman
> ---
> Visit http://www.opennetcf.org
> "Liren Zhao" <lirenzhao@tom.com> wrote in message
> news:%23$U2fMW7EHA.2196@TK2MSFTNGP11.phx.gbl...
>> ask for APIs about change smartphone mode like "Slient" ,"
>> Flight","OutDoor".
>> Can any one tell me where I can find it?
>>

>
>



  Reply With Quote
Old 29-12-2004, 05:59 AM   #2
Liren Zhao
Guest
 
Posts: n/a
Default ask for APIs about change smartphone mode like "Slient" ," Flight","OutDoor"

ask for APIs about change smartphone mode like "Slient" ,"
Flight","OutDoor".
Can any one tell me where I can find it?


  Reply With Quote
Old 29-12-2004, 07:20 AM   #3
Alex Feinman [MVP]
Guest
 
Posts: n/a
Default Re: ask for APIs about change smartphone mode like "Slient" ," Flight","OutDoor"

The profiles are controlled by the registry setting
HKCU\ControlPanel\Profiles\ActiveProfile

You can use DXProcessConfigXml and the registry CSP to modify this. See the
Smartphone SDK documentation for more information

--
Alex Feinman
---
Visit http://www.opennetcf.org
"Liren Zhao" <lirenzhao@tom.com> wrote in message
news:%23$U2fMW7EHA.2196@TK2MSFTNGP11.phx.gbl...
> ask for APIs about change smartphone mode like "Slient" ,"
> Flight","OutDoor".
> Can any one tell me where I can find it?
>



  Reply With Quote
Old 29-12-2004, 09:26 AM   #4
Alex Feinman [MVP]
Guest
 
Posts: n/a
Default Re: ask for APIs about change smartphone mode like "Slient" ," Flight","OutDoor"

You need to use the Registry CSP - simply modifying the registry does not
notify the system of the change. I think you might need to send
WM_SETTINGCHANGE

As for the flight mode - you cannot do this via profile changes - it is done
via TAPI

--
Alex Feinman
---
Visit http://www.opennetcf.org
"Liren Zhao" <lirenzhao@tom.com> wrote in message
news:uqb$NrX7EHA.1596@tk2msftngp13.phx.gbl...
>I have modified the registry "HKCU\ControlPanel\Profiles\ActiveProfile"
>,but it not take effect.
>
> And there is not "Flight Mode" !!!!
>
>
>
> "Alex Feinman [MVP]" <public_news@alexfeinman.com> wrote in message
> news:%23o39t5W7EHA.3236@TK2MSFTNGP15.phx.gbl...
>> The profiles are controlled by the registry setting
>> HKCU\ControlPanel\Profiles\ActiveProfile
>>
>> You can use DXProcessConfigXml and the registry CSP to modify this. See
>> the Smartphone SDK documentation for more information
>>
>> --
>> Alex Feinman
>> ---
>> Visit http://www.opennetcf.org
>> "Liren Zhao" <lirenzhao@tom.com> wrote in message
>> news:%23$U2fMW7EHA.2196@TK2MSFTNGP11.phx.gbl...
>>> ask for APIs about change smartphone mode like "Slient" ,"
>>> Flight","OutDoor".
>>> Can any one tell me where I can find it?
>>>

>>
>>

>
>



  Reply With Quote
Old 30-12-2004, 09:33 AM   #5
Liren Zhao
Guest
 
Posts: n/a
Default Re: ask for APIs about change smartphone mode like "Slient" ," Flight","OutDoor"

Thanks a lot.
Do you know what api function can do this or where I can find it?


"Alex Feinman [MVP]" <public_news@alexfeinman.com> wrote in message
news:enNLw$X7EHA.2180@TK2MSFTNGP10.phx.gbl...
> You need to use the Registry CSP - simply modifying the registry does not
> notify the system of the change. I think you might need to send
> WM_SETTINGCHANGE
>
> As for the flight mode - you cannot do this via profile changes - it is
> done via TAPI
>
> --
> Alex Feinman
> ---
> Visit http://www.opennetcf.org
> "Liren Zhao" <lirenzhao@tom.com> wrote in message
> news:uqb$NrX7EHA.1596@tk2msftngp13.phx.gbl...
>>I have modified the registry "HKCU\ControlPanel\Profiles\ActiveProfile"
>>,but it not take effect.
>>
>> And there is not "Flight Mode" !!!!
>>
>>
>>
>> "Alex Feinman [MVP]" <public_news@alexfeinman.com> wrote in message
>> news:%23o39t5W7EHA.3236@TK2MSFTNGP15.phx.gbl...
>>> The profiles are controlled by the registry setting
>>> HKCU\ControlPanel\Profiles\ActiveProfile
>>>
>>> You can use DXProcessConfigXml and the registry CSP to modify this. See
>>> the Smartphone SDK documentation for more information
>>>
>>> --
>>> Alex Feinman
>>> ---
>>> Visit http://www.opennetcf.org
>>> "Liren Zhao" <lirenzhao@tom.com> wrote in message
>>> news:%23$U2fMW7EHA.2196@TK2MSFTNGP11.phx.gbl...
>>>> ask for APIs about change smartphone mode like "Slient" ,"
>>>> Flight","OutDoor".
>>>> Can any one tell me where I can find it?
>>>>
>>>
>>>

>>
>>

>
>



  Reply With Quote
Old 04-01-2005, 12:53 AM   #6
Alex Feinman [MVP]
Guest
 
Posts: n/a
Default Re: ask for APIs about change smartphone mode like "Slient" ," Flight","OutDoor"

If you take a look at my TAPI wrapper, one of the things it does is turning
the flight mode on/off.
http://www.alexfeinman.com/download.asp?doc=tapi1.1.zip


--
Alex Feinman
---
Visit http://www.opennetcf.org
"Liren Zhao" <lirenzhao@tom.com> wrote in message
news:OUx2Hpk7EHA.3908@TK2MSFTNGP12.phx.gbl...
> Thanks a lot.
> Do you know what api function can do this or where I can find it?
>
>
> "Alex Feinman [MVP]" <public_news@alexfeinman.com> wrote in message
> news:enNLw$X7EHA.2180@TK2MSFTNGP10.phx.gbl...
>> You need to use the Registry CSP - simply modifying the registry does not
>> notify the system of the change. I think you might need to send
>> WM_SETTINGCHANGE
>>
>> As for the flight mode - you cannot do this via profile changes - it is
>> done via TAPI
>>
>> --
>> Alex Feinman
>> ---
>> Visit http://www.opennetcf.org
>> "Liren Zhao" <lirenzhao@tom.com> wrote in message
>> news:uqb$NrX7EHA.1596@tk2msftngp13.phx.gbl...
>>>I have modified the registry "HKCU\ControlPanel\Profiles\ActiveProfile"
>>>,but it not take effect.
>>>
>>> And there is not "Flight Mode" !!!!
>>>
>>>
>>>
>>> "Alex Feinman [MVP]" <public_news@alexfeinman.com> wrote in message
>>> news:%23o39t5W7EHA.3236@TK2MSFTNGP15.phx.gbl...
>>>> The profiles are controlled by the registry setting
>>>> HKCU\ControlPanel\Profiles\ActiveProfile
>>>>
>>>> You can use DXProcessConfigXml and the registry CSP to modify this. See
>>>> the Smartphone SDK documentation for more information
>>>>
>>>> --
>>>> Alex Feinman
>>>> ---
>>>> Visit http://www.opennetcf.org
>>>> "Liren Zhao" <lirenzhao@tom.com> wrote in message
>>>> news:%23$U2fMW7EHA.2196@TK2MSFTNGP11.phx.gbl...
>>>>> ask for APIs about change smartphone mode like "Slient" ,"
>>>>> Flight","OutDoor".
>>>>> Can any one tell me where I can find it?
>>>>>
>>>>
>>>>
>>>
>>>

>>
>>

>
>



  Reply With Quote
Reply



Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off