PC Review


Reply
Thread Tools Rate Thread

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

 
 
Liren Zhao
Guest
Posts: n/a
 
      28th Dec 2004
I have modified the registry "HKCU\ControlPanel\Profiles\ActiveProfile" ,but
it not take effect.

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



"Alex Feinman [MVP]" <(E-Mail Removed)> wrote in message
news:%(E-Mail Removed)...
> 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" <(E-Mail Removed)> wrote in message
> news:%23$(E-Mail Removed)...
>> ask for APIs about change smartphone mode like "Slient" ,"
>> Flight","OutDoor".
>> Can any one tell me where I can find it?
>>

>
>



 
Reply With Quote
 
 
 
 
Liren Zhao
Guest
Posts: n/a
 
      29th Dec 2004
ask for APIs about change smartphone mode like "Slient" ,"
Flight","OutDoor".
Can any one tell me where I can find it?


 
Reply With Quote
 
Alex Feinman [MVP]
Guest
Posts: n/a
 
      29th Dec 2004
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" <(E-Mail Removed)> wrote in message
news:%23$(E-Mail Removed)...
> ask for APIs about change smartphone mode like "Slient" ,"
> Flight","OutDoor".
> Can any one tell me where I can find it?
>



 
Reply With Quote
 
Alex Feinman [MVP]
Guest
Posts: n/a
 
      29th Dec 2004
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" <(E-Mail Removed)> wrote in message
news:uqb$(E-Mail Removed)...
>I have modified the registry "HKCU\ControlPanel\Profiles\ActiveProfile"
>,but it not take effect.
>
> And there is not "Flight Mode" !!!!
>
>
>
> "Alex Feinman [MVP]" <(E-Mail Removed)> wrote in message
> news:%(E-Mail Removed)...
>> 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" <(E-Mail Removed)> wrote in message
>> news:%23$(E-Mail Removed)...
>>> ask for APIs about change smartphone mode like "Slient" ,"
>>> Flight","OutDoor".
>>> Can any one tell me where I can find it?
>>>

>>
>>

>
>



 
Reply With Quote
 
Liren Zhao
Guest
Posts: n/a
 
      30th Dec 2004
Thanks a lot.
Do you know what api function can do this or where I can find it?


"Alex Feinman [MVP]" <(E-Mail Removed)> wrote in message
news:enNLw$(E-Mail Removed)...
> 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" <(E-Mail Removed)> wrote in message
> news:uqb$(E-Mail Removed)...
>>I have modified the registry "HKCU\ControlPanel\Profiles\ActiveProfile"
>>,but it not take effect.
>>
>> And there is not "Flight Mode" !!!!
>>
>>
>>
>> "Alex Feinman [MVP]" <(E-Mail Removed)> wrote in message
>> news:%(E-Mail Removed)...
>>> 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" <(E-Mail Removed)> wrote in message
>>> news:%23$(E-Mail Removed)...
>>>> ask for APIs about change smartphone mode like "Slient" ,"
>>>> Flight","OutDoor".
>>>> Can any one tell me where I can find it?
>>>>
>>>
>>>

>>
>>

>
>



 
Reply With Quote
 
Alex Feinman [MVP]
Guest
Posts: n/a
 
      4th Jan 2005
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" <(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
> Thanks a lot.
> Do you know what api function can do this or where I can find it?
>
>
> "Alex Feinman [MVP]" <(E-Mail Removed)> wrote in message
> news:enNLw$(E-Mail Removed)...
>> 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" <(E-Mail Removed)> wrote in message
>> news:uqb$(E-Mail Removed)...
>>>I have modified the registry "HKCU\ControlPanel\Profiles\ActiveProfile"
>>>,but it not take effect.
>>>
>>> And there is not "Flight Mode" !!!!
>>>
>>>
>>>
>>> "Alex Feinman [MVP]" <(E-Mail Removed)> wrote in message
>>> news:%(E-Mail Removed)...
>>>> 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" <(E-Mail Removed)> wrote in message
>>>> news:%23$(E-Mail Removed)...
>>>>> 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

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
[Click the star to watch this topic] "bollywood actress""bollywood wallpapers" "bollywood news" "bollywood movies" "bollywood videosongs" "bollywood masala" "bollywood" "b Naeem Microsoft C# .NET 0 4th Jan 2010 07:57 AM
Field Names: "LongName", "ShortName", "Code", "Description","Comments" PeteCresswell Microsoft Access 2 26th Feb 2009 12:41 AM
change "true" and "false" to "availble" and "out of stock" =?Utf-8?B?aW50aGVzdGFuZHM=?= Microsoft Excel Worksheet Functions 2 19th Jul 2007 08:05 PM
<FORM METHOD="post" onSubmit="return fieldcheck()" name="orientation" action="http://ws-kitty.BU.edu/AT/survey/orientation/script/write.asp" language="JavaScript"> Joeyej Microsoft ASP .NET 0 4th Jun 2004 09:55 PM
Manual "Windows Update" produces "ActiveX/active scripting" error message even with "LOW" security level setting in "Trusted" Zone Ray2 Windows XP Help 1 14th Nov 2003 07:50 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 07:30 AM.