PC Review
Forums
Newsgroups
Microsoft DotNet
Microsoft Dot NET Compact Framework
ask for APIs about change smartphone mode like "Slient" ," Flight","OutDoor"
Forums
Newsgroups
Microsoft DotNet
Microsoft Dot NET Compact Framework
ask for APIs about change smartphone mode like "Slient" ," Flight","OutDoor"
![]() |
ask for APIs about change smartphone mode like "Slient" ," Flight","OutDoor" |
|
|
Thread Tools | Rate Thread |
|
|
#1 |
|
Guest
Posts: n/a
|
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? >> > > |
|
|
|
#2 |
|
Guest
Posts: n/a
|
ask for APIs about change smartphone mode like "Slient" ,"
Flight","OutDoor". Can any one tell me where I can find it? |
|
|
|
#3 |
|
Guest
Posts: n/a
|
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? > |
|
|
|
#4 |
|
Guest
Posts: n/a
|
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? >>> >> >> > > |
|
|
|
#5 |
|
Guest
Posts: n/a
|
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? >>>> >>> >>> >> >> > > |
|
|
|
#6 |
|
Guest
Posts: n/a
|
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? >>>>> >>>> >>>> >>> >>> >> >> > > |
|
![]() |
|
| Thread Tools | |
| Rate This Thread | |
|
|

Main Page 

