Download the free trial version
Basic4android Video
Features
Tutorials and manuals
Showcase
Screenshots

Go Back   Android Development Forum - Basic4android > Basic4ppc (Windows Mobile) > Questions (Windows Mobile)
Documentation Wiki Register Members List B4P Search Today's Posts Mark Forums Read

Questions (Windows Mobile) Post any question regarding Basic4ppc.

Reload registry after change?

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 06-12-2007, 05:52 PM
Junior Member
 
Join Date: May 2007
Posts: 12
Default Reload registry after change?

Hello,
is there a chance to reload the registry after a change with out soft.- or hardreset?
I want to change some today screen settings and there I don't have to make a softreset.
With Google I found this but I don't know how I can do it with Basic4ppc.
Quote:
::SendMessage(::GetDesktopWindow(), WM_WININICHANGE, 0xF2, 0);
Greet
Stefan
Reply With Quote
  #2 (permalink)  
Old 06-12-2007, 06:03 PM
MM2forever's Avatar
Senior Member
 
Join Date: Jun 2007
Location: Germany
Posts: 103
Send a message via ICQ to MM2forever Send a message via MSN to MM2forever Send a message via Skype™ to MM2forever
Default

syntax like this - 100% not

edit:// uh... i do think so, but who knows - we've got B4P 5!!!!
Reply With Quote
  #3 (permalink)  
Old 06-12-2007, 06:14 PM
Cableguy's Avatar
Basic4ppc Expert
 
Join Date: Apr 2007
Location: N 41º11'30.30" W 8º39'46.60"
Posts: 2,344
Awards Showcase
Forum Contributer 
Total Awards: 1
Default

There's no chance at all unless you learn how to cook a ROM.

The key's stored in the ROM will always be loaded after a Hardreset, but not on a "normal" soft reset...
You can always write your own key changer soft and store it in a sd card and re-load it as needed.....
__________________
Paulo Gomes - Porto, Portugal - Living/Working in France
Mobile Device: Samsung Galaxy S, Android 2.3.4 CUstom ROM
Laptop: Toshiba NB100-130 (running on Win7Ultimate)

My Posts helped you? Consider Buying me a Porto Glass!
Reply With Quote
  #4 (permalink)  
Old 06-13-2007, 03:57 AM
Junior Member
 
Join Date: May 2007
Posts: 12
Default

I think there must be a chance to reload or refresh the registry but how is the question.
Most of the today plugins do this with out softreset.
Reply With Quote
  #5 (permalink)  
Old 06-13-2007, 04:33 PM
Junior Member
 
Join Date: May 2007
Posts: 12
Default Or can I refresh the today screen?

Is there a chance to refresh the today screen after changing?
I want to change the settings for the today plugins enable or disable them and set position on screen.
But when I do this by hand the changes will only be taken over when I go into the today settings, there are they displayed so I do it in the registry.
Hope you can follow me and find some help!
Reply With Quote
  #6 (permalink)  
Old 06-13-2007, 06:22 PM
RandomCoder's Avatar
Basic4ppc Expert
 
Join Date: May 2007
Location: Derbyshire, UK
Posts: 623
Awards Showcase
Beta Tester 
Total Awards: 1
Default

Isn't it possible that if you know roughly which parts of the registry you are going to be tweaking then you could use the registry library to extract the current settings and store them to a file.
Then you could make your changes knowing that you have a backup of the original settings. The only problem I can see that could arise is if you add new keys as this will change the array that B4PPC creates when getting the list of sub keys.

I haven't tried anything like this myself, it's just an idea.

Regards,
RandomCoder
__________________
"Defeat never comes to any man until he admits it."Josephus Daniels
Reply With Quote
  #7 (permalink)  
Old 06-13-2007, 06:35 PM
Junior Member
 
Join Date: May 2007
Posts: 12
Default

I believe I wrongly expressed myself or was wrongly understood.
I don't have a problem with changing something in the registry.
I have a problem when I change something in registry (today items only) that I have to reset the ppc when otherone can do it with out reset.
Hope thats hopefull for you!
Reply With Quote
  #8 (permalink)  
Old 06-13-2007, 06:52 PM
dzt's Avatar
dzt dzt is offline
Basic4ppc Veteran
 
Join Date: May 2007
Location: Ioannina, Greece
Posts: 356
Awards Showcase
Beta Tester Forum Contributer 
Total Awards: 2
Default

I'll post soon a more reach dzHW.dll at "code samples & tips". Using it, it could be possible to Post Messages (like in your first post mcflaytasche).
I don't know if WM_WININICHANGE message will refresh today screen.
__________________
Dimitris Zacharakis
http://www.terracom.gr
Reply With Quote
  #9 (permalink)  
Old 06-13-2007, 07:50 PM
RandomCoder's Avatar
Basic4ppc Expert
 
Join Date: May 2007
Location: Derbyshire, UK
Posts: 623
Awards Showcase
Beta Tester 
Total Awards: 1
Default

This was as I understood you meant. I was thinking that you could read and save the registry values so that if need be you could load them back in again. Saving them to a file I think would be easy enough but reloading them might be more difficult.

Regards,
RandomCoder
__________________
"Defeat never comes to any man until he admits it."Josephus Daniels
Reply With Quote
  #10 (permalink)  
Old 04-28-2010, 03:49 PM
Junior Member
 
Join Date: Jan 2010
Posts: 26
Default

Quote:
Originally Posted by mcflaytasche View Post
I believe I wrongly expressed myself or was wrongly understood.
I don't have a problem with changing something in the registry.
I have a problem when I change something in registry (today items only) that I have to reset the ppc when otherone can do it with out reset.
Hope thats hopefull for you!
Did you ever find a solution to your problem? I need to do exactly the same thing myself but can't find out how
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

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
Trackbacks are Off
Pingbacks are Off
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
WM6.1 Backlight Timeout (Registry) digitaldon37 Open Source Projects 3 11-20-2008 04:23 PM
Lettura del registry Raytracer Italian Forum 9 04-19-2008 01:03 PM
NullReference error with Registry alfcen Questions (Windows Mobile) 10 04-09-2008 12:50 AM
Reload system fonts on run Mistrel Basic4ppc Wishlist 2 10-16-2007 08:54 PM
registry bdiscount Questions (Windows Mobile) 4 05-11-2007 02:29 PM


All times are GMT. The time now is 04:04 AM.


Powered by vBulletin® Version 3.6.12
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.3.0