rcmaehl Posted November 14, 2011 Posted November 14, 2011 (edited) Okay, I'm creating a... well.... Desktop. It's basically going to be an alternative Windows Desktop, however I can't figure out how to kill the Desktop and Taskbar without them restarting. I know it's possible as Explorer was closed once when it was not responding and never restarted... Without the default Desktop and Taskbar killed the Desktop I'm making gets all overlapped and/or iffy. Any suggestions would be appreciated even if it turns out they don't work. Thanks -RC P.S. I've already tried the basics with ProcessClose() and closing through _RunDOS(), explorer.exe just restarts... Edited November 14, 2011 by rcmaehl My UDFs are generally for me. If they aren't updated for a while, it means I'm not using them myself. As soon as I start using them again, they'll get updated.My Projects WhyNotWin11Cisco Finesse, Github, IRC UDF, WindowEx UDF
AdmiralAlkex Posted November 14, 2011 Posted November 14, 2011 Killing Explorer is bad. Either set your app as the default shell so Explorer doesn't start to begin with, or let the user Exit Explorer. If you're on Vista/7, hold ctrl+shift and right-click an empty area on the start-menu (like around the shutdown button). You Exit in another way on XP, just do a search on Google. .Some of my scripts: ShiftER, Codec-Control, Resolution switcher for HTC ShiftSome of my UDFs: SDL UDF, SetDefaultDllDirectories, Converting GDI+ Bitmap/Image to SDL Surface
kylomas Posted November 14, 2011 Posted November 14, 2011 rcmaehl, ctrl+shift+right click works if you are NOT using "classic menus". IF you are then use the task manager to terminate explorer. kylomas Forum Rules Procedure for posting code "I like pigs. Dogs look up to us. Cats look down on us. Pigs treat us as equals." - Sir Winston Churchill
rcmaehl Posted November 15, 2011 Author Posted November 15, 2011 Killing Explorer is bad. Either set your app as the default shell so Explorer doesn't start to begin with, or let the user Exit Explorer.But what if I don't like explorer Also I find 2 flaws with that logic:1. My app isn't that COMPLEX enough right now to be the default shell, maybe in a few years but not anytime soon.2. Any AVERAGE user that used my program probably wouldn't know how to Exit Explorer. My UDFs are generally for me. If they aren't updated for a while, it means I'm not using them myself. As soon as I start using them again, they'll get updated.My Projects WhyNotWin11Cisco Finesse, Github, IRC UDF, WindowEx UDF
Bert Posted November 15, 2011 Posted November 15, 2011 Have you thought of finding an alternative to explorer? The Vollatran project My blog: http://www.vollysinterestingshit.com/
rcmaehl Posted November 16, 2011 Author Posted November 16, 2011 Have you thought of finding an alternative to explorer?I'm making an alternative DESKTOP, because when you choose an item on the desktop, even if it opens in an alternate explorer.exe, it was still opened in explorer.exe first because the desktop IS explorer.exe. My UDFs are generally for me. If they aren't updated for a while, it means I'm not using them myself. As soon as I start using them again, they'll get updated.My Projects WhyNotWin11Cisco Finesse, Github, IRC UDF, WindowEx UDF
ripdad Posted November 16, 2011 Posted November 16, 2011 Func Reg_AutoRestartShell($mode = 1); 0=disable, 1=enable (default) Local $Winlogon = 'HKLMSOFTWAREMicrosoftWindows NTCurrentVersionWinlogon' If RegWrite($Winlogon, 'AutoRestartShell', 'REG_DWORD', $mode) Then Return 1 Return 0 EndFunc "The mediocre teacher tells. The Good teacher explains. The superior teacher demonstrates. The great teacher inspires." -William Arthur Ward
kylomas Posted November 16, 2011 Posted November 16, 2011 @MPH, How did you do that???? @rcmaehl, Sorry for the hijack!! kylomas Forum Rules Procedure for posting code "I like pigs. Dogs look up to us. Cats look down on us. Pigs treat us as equals." - Sir Winston Churchill
guinness Posted November 16, 2011 Posted November 16, 2011 What MPH linked to are file browsers and not shell replacements. A popular shell replacement with WinPE installations is 'BBox Shell.' UDF List: _AdapterConnections() • _AlwaysRun() • _AppMon() • _AppMonEx() • _ArrayFilter/_ArrayReduce • _BinaryBin() • _CheckMsgBox() • _CmdLineRaw() • _ContextMenu() • _ConvertLHWebColor()/_ConvertSHWebColor() • _DesktopDimensions() • _DisplayPassword() • _DotNet_Load()/_DotNet_Unload() • _Fibonacci() • _FileCompare() • _FileCompareContents() • _FileNameByHandle() • _FilePrefix/SRE() • _FindInFile() • _GetBackgroundColor()/_SetBackgroundColor() • _GetConrolID() • _GetCtrlClass() • _GetDirectoryFormat() • _GetDriveMediaType() • _GetFilename()/_GetFilenameExt() • _GetHardwareID() • _GetIP() • _GetIP_Country() • _GetOSLanguage() • _GetSavedSource() • _GetStringSize() • _GetSystemPaths() • _GetURLImage() • _GIFImage() • _GoogleWeather() • _GUICtrlCreateGroup() • _GUICtrlListBox_CreateArray() • _GUICtrlListView_CreateArray() • _GUICtrlListView_SaveCSV() • _GUICtrlListView_SaveHTML() • _GUICtrlListView_SaveTxt() • _GUICtrlListView_SaveXML() • _GUICtrlMenu_Recent() • _GUICtrlMenu_SetItemImage() • _GUICtrlTreeView_CreateArray() • _GUIDisable() • _GUIImageList_SetIconFromHandle() • _GUIRegisterMsg() • _GUISetIcon() • _Icon_Clear()/_Icon_Set() • _IdleTime() • _InetGet() • _InetGetGUI() • _InetGetProgress() • _IPDetails() • _IsFileOlder() • _IsGUID() • _IsHex() • _IsPalindrome() • _IsRegKey() • _IsStringRegExp() • _IsSystemDrive() • _IsUPX() • _IsValidType() • _IsWebColor() • _Language() • _Log() • _MicrosoftInternetConnectivity() • _MSDNDataType() • _PathFull/GetRelative/Split() • _PathSplitEx() • _PrintFromArray() • _ProgressSetMarquee() • _ReDim() • _RockPaperScissors()/_RockPaperScissorsLizardSpock() • _ScrollingCredits • _SelfDelete() • _SelfRename() • _SelfUpdate() • _SendTo() • _ShellAll() • _ShellFile() • _ShellFolder() • _SingletonHWID() • _SingletonPID() • _Startup() • _StringCompact() • _StringIsValid() • _StringRegExpMetaCharacters() • _StringReplaceWholeWord() • _StringStripChars() • _Temperature() • _TrialPeriod() • _UKToUSDate()/_USToUKDate() • _WinAPI_Create_CTL_CODE() • _WinAPI_CreateGUID() • _WMIDateStringToDate()/_DateToWMIDateString() • Au3 script parsing • AutoIt Search • AutoIt3 Portable • AutoIt3WrapperToPragma • AutoItWinGetTitle()/AutoItWinSetTitle() • Coding • DirToHTML5 • FileInstallr • FileReadLastChars() • GeoIP database • GUI - Only Close Button • GUI Examples • GUICtrlDeleteImage() • GUICtrlGetBkColor() • GUICtrlGetStyle() • GUIEvents • GUIGetBkColor() • Int_Parse() & Int_TryParse() • IsISBN() • LockFile() • Mapping CtrlIDs • OOP in AutoIt • ParseHeadersToSciTE() • PasswordValid • PasteBin • Posts Per Day • PreExpand • Protect Globals • Queue() • Resource Update • ResourcesEx • SciTE Jump • Settings INI • SHELLHOOK • Shunting-Yard • Signature Creator • Stack() • Stopwatch() • StringAddLF()/StringStripLF() • StringEOLToCRLF() • VSCROLL • WM_COPYDATA • More Examples... Updated: 22/04/2018
Bert Posted November 17, 2011 Posted November 17, 2011 What MPH linked to are file browsers and not shell replacements. A popular shell replacement with WinPE installations is 'BBox Shell.'My mistake. You are correct. I meant to list shells. The Vollatran project My blog: http://www.vollysinterestingshit.com/
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now