Page 2 of 2
Re: Reboot EXPLORER
Posted: Wed Apr 27, 2016 7:32 pm
by Thunder93
I don't see how anything above PPid procedure is of relevance in that code.
KCC can't use that code for what he currently wants to-do. He needs to have explorer shell exited until several tasks is performed. That method bounces explorer right-back immediately!
The restart manager method, is the ideal thing for what he wants to accomplish here. Nothing else will suffice.

Re: Reboot EXPLORER
Posted: Wed Apr 27, 2016 8:05 pm
by Kwai chang caine
I not understand..i have try the two codes (Thunder and Rashad) and no effect with W7
My explorer is perhaps affraid

Re: Reboot EXPLORER
Posted: Wed Apr 27, 2016 8:11 pm
by Thunder93
Well from what you said previously, the code properly exits out of Windows Shell? Just not starting it back up? Have you tried the latest update that was made to my previous code?
I'm running Windows 10 x64, works perfectly here with PB 5.42 stable x64. Later I'll try with PB x86.
It should work on Vista and newer.
Edit: Just tested with PB 5.42 stable x86, working fine. All works in both Ascii and Unicode modes.
Re: Reboot EXPLORER
Posted: Wed Apr 27, 2016 8:28 pm
by Kwai chang caine
Incredible..me i try with v5.40 x86 on a W7 x64, it's perhaps that ..
I search why that not works....
Thanks for your numerous different try

Re: Reboot EXPLORER
Posted: Wed Apr 27, 2016 9:03 pm
by Thunder93
I've updated the codes, includes small changes. I don't know if it'll suffice to have it start explorer shell back up for you.
I find it odd that you experiencing problems. Is there still an error message with your previous test?
I lowered the delay? Perhaps you didn't give it enough time to start back up?
FinishExplorerRestart() procedure. Does it produce an debug message "RmRestart error: *"?
Might be best to retrieve the error message with GetLastError_() after RmRestart() command and see what it shows.
Re: Reboot EXPLORER
Posted: Wed Apr 27, 2016 10:15 pm
by Kwai chang caine
Thanks a lot, i test that tommorow, and say the result, i'm on my smartphone now
Have a good night and again thanks
Re: Reboot EXPLORER
Posted: Thu Apr 28, 2016 2:13 am
by Thunder93
I've dusted off my Windows 7 machine, and started it up. I did observe a problem, which I think is what you've experienced. It has been addressed, and should work good now.

Re: Reboot EXPLORER
Posted: Thu Apr 28, 2016 3:27 pm
by Kwai chang caine
Yeeeeahhh !!!! you are really an angel
Using your old pc just for me....
When i get home behind a pc i test that.
At the begining, i think it's simple to do my "personal modifier of windows", but finally i see all windows not have the same behavior, or the same registry key, etc...
Furthermore some options like, make visible on the desktop shortcut system like "workplace" (poste de travail or Ordinateur in french" are not so easy ...
Sometime i use the cmd not the bdr, for choose my theme for exampler, and that works very well.
Again thanks for all the time you lost for me

Re: Reboot EXPLORER
Posted: Thu Apr 28, 2016 3:55 pm
by blueb
Kwai chang caine wrote:
...
For that, even if the friends is virtal, all the time i was young, INTERNET not exist, and i have dreamed to have so much friend alone in my bedroom
I feel the same way KCC... but I make sure not to dream of them when I am alone in my bedroom.

Re: Reboot EXPLORER
Posted: Thu Apr 28, 2016 4:03 pm
by Thunder93
For all the Windows customizations that you've mentioned, It should be very easy thing to implement into your utility. For Vista+, lot of the registry tweaks should be compatible with also Windows 7 and newer.
At some point I'm thinking about doing something similar but for a technician tool. This and because time spent is educational, this wouldn't fall under time lost. Don't give it anymore thoughts, I enjoy helping you and others when time permits.
I've received some valuable help on here in the past, and I feel kindness should be rewarded.
Re: Reboot EXPLORER
Posted: Thu Apr 28, 2016 6:41 pm
by Kwai chang caine
You know...kcc have remove the word "easy" of his language since a long time...
In fact it's sometime easy for several members of this forum, but even open the IDE it's nearly a miracle for kcc
In fact, it's possible with all the forum for only one kcc
But easy...It's not the first word who come to me when i think programming
I have even not searched if this style of tools exist.
In fact it's the pleasure to create it.
It's sure, for a professional that can be very usefull.
Always do the same setup on numerous machine that not be cool.
It's even strange, Microsoft not thinking to a style of file of parameter in XML or other.
When you want you save all your setup, and when you have a problem...hop a clic and the thousand of parameter come in one time
in all case, again thanks for your precious help
@Blueb
Ok ok, me too it's not the only one things i dream alone in my bedroom when i was young
But at this time, they are numerous more x doc of women against informatic doc.
In fact...when you see internet. ..i'm not sure that have really changed
But kcc know why !!!! The women are always very complicated to understand
And there is never too much doc for "use it" correctly

Re: Reboot EXPLORER
Posted: Sat Apr 30, 2016 9:57 pm
by Thunder93
Wasn't thinking about same setup on numerous machines. There is moments when person like to upgrade or do fresh install. Taking a snapshot of the various Windows customization and then restoring can be beneficial thing.
Re: Reboot EXPLORER
Posted: Sat Apr 30, 2016 10:12 pm
by Kwai chang caine
Yes, that can be usefull too
I have tested your last code and it works great this time

You have well do to use your old W7 PC
A little thing strange sometime, i have a white and black bar below the screen, near the taskBar, but not always

And impossible to redraw the wallpaper....and after a time, she disapears...
Again thanks for your precious and big help
Have a good night

Re: Reboot EXPLORER
Posted: Sat Apr 30, 2016 10:18 pm
by Thunder93
Thanks for the update. That is good to see. I will try to reproduce the anomaly.
Apparently Windows 10 handles bad coding better.
