Page 1 of 2 12 LastLast
Results 1 to 10 of 14

Thread: Direct boot into front-end, XP GUI on exit

  1. #1
    Constant Bitrate
    Join Date
    Sep 2006
    Location
    Cornwall, England
    Posts
    161

    Direct boot into front-end, XP GUI on exit

    I have read a lot of people want to boot directly into their front-end without running the wXP GUI. It has been said that if you have the registry entry to shell into your front-end, when you run explorer.exe, it only brings up the windows explorer window, not the entire GUI. After playing around with it for an hour, I found that if you boot into your front-end and then edit the registry entry in .....winlogon\shell and enter 'explorer.exe', then run explorer.exe, the full XP GUI will pop up, not just a windows explorer window.

    Because I have programed my own front end in VB.NET, I can write code into it to change the registry entry.

    What I do first when my front-end loads is change the registry entry to shell explorer.exe

    When I click the exit button, it shells explorer.exe, then re-writes the registry entry to shell my front-end, then ends the front-end:


    In the main form load_Load:

    '-----------------------------
    Dim WSH
    WSH = CreateObject("WScript.Shell")
    WSH.RegWrite("HKEY_LOCAL_MACHINE\Software\Microsof t\Windows
    NT\CurrentVersion\Winlogon\Shell", "explorer.exe")
    '-----------------------------


    In the 'exit' button:

    '-----------------------------
    Shell("explorer.exe")
    Dim WSH
    WSH = CreateObject("WScript.Shell")
    WSH.RegWrite("HKEY_LOCAL_MACHINE\Software\Microsof t\Windows NT\CurrentVersion\Winlogon\Shell", My.Application.Info.DirectoryPath & "\Vive.exe")
    End
    '-----------------------------

    Vive.exe is the front-end executable.



    This seems to work fine, hope this helps some people
    ViVE - Volkswagen In Van Entertainment:

    VoomPC 2, VIA C7 2GHz
    7" Lilliput
    120Gb Sata drive
    1GB RAM


    [||||||||||] 100% - Planning
    [||||||||||] 100% - Software coding
    [||||||||||] 100% - Built

    (Always tweaking!)

  2. #2
    Maximum Bitrate jonessc's Avatar
    Join Date
    Nov 2006
    Location
    Wales, UK
    Posts
    787
    Great idea!

    so all your literally doing is importing registry keys to get the relevant menus, i always thought a restart would be needed b4 the changes would take effect.

    You may wanna change your title to How to!
    CarPuter Progress:
    Planning:-----> [||||||||||] 100%
    Hardware Buying:-> [||||||||||] 100%
    Software:-----> [||||||||||] 100%
    Installing:-----> [||||||||||] 100%
    Current Project= Making skins in photoshop...

  3. #3
    Constant Bitrate
    Join Date
    Sep 2006
    Location
    Cornwall, England
    Posts
    161
    Yeah. It's strange that when the Shell entry is "your front-end.exe", and you try and run exporer.exe you only get the explorer windows. And if you change the entry to "explorer.exe", then run explorer.exe, you get the full GUI.

    I thought that this entry is only 'looked' at when XP starts, until I played around with it.
    ViVE - Volkswagen In Van Entertainment:

    VoomPC 2, VIA C7 2GHz
    7" Lilliput
    120Gb Sata drive
    1GB RAM


    [||||||||||] 100% - Planning
    [||||||||||] 100% - Software coding
    [||||||||||] 100% - Built

    (Always tweaking!)

  4. #4
    Maximum Bitrate jonessc's Avatar
    Join Date
    Nov 2006
    Location
    Wales, UK
    Posts
    787
    Quote Originally Posted by portreathbeach View Post
    Yeah. It's strange that when the Shell entry is "your front-end.exe", and you try and run exporer.exe you only get the explorer windows. And if you change the entry to "explorer.exe", then run explorer.exe, you get the full GUI.

    I thought that this entry is only 'looked' at when XP starts, until I played around with it.
    I might give it a go, without the correct explorer loading you dont get a start menu/taskbar if im thinking correctly only the file exporer and ability to use taskmgr, i use to boot to front end, but found it annoying when i wnated to get back into windows!
    CarPuter Progress:
    Planning:-----> [||||||||||] 100%
    Hardware Buying:-> [||||||||||] 100%
    Software:-----> [||||||||||] 100%
    Installing:-----> [||||||||||] 100%
    Current Project= Making skins in photoshop...

  5. #5
    LTi
    LTi is offline
    Newbie
    Join Date
    Jul 2007
    Location
    Hungary
    Posts
    23

    Frontends GUI on startup, without explorer running

    Dear friends,

    The easiest and safest way to do such (mentioned in title) thing is to create and use Policies with the Policy Editor,
    which works only on "XP Professional". I mean the sw works on all XP versions, but policies can not be applied only on XP Pro.

    What is great beside a lot of things is that you can tie the frontend only login to a selected user so any problem should happen you can have the admin or any other user to log into and fix things. Also while the frontend is running and you would like to have explorer you can start it up anytime.


    Regards

  6. #6
    Constant Bitrate
    Join Date
    Sep 2006
    Location
    Cornwall, England
    Posts
    161
    The main reason that I alter the 'Shell' in the registry is that if you shell to your front-end, and try and run explorer.exe, you only get the explorer window. You have to change the registry entry to explorer.exe while in the front-end to allow the full GUI to load. I don't really understand why this is, but it seems to work.

    You would have thought that after XP looks at the 'shell' entry and runs the front-end, it wouldn't look at it again, but it does, and explorer.exe will only run the full GUI if the 'shell' entry is explorer.exe.
    ViVE - Volkswagen In Van Entertainment:

    VoomPC 2, VIA C7 2GHz
    7" Lilliput
    120Gb Sata drive
    1GB RAM


    [||||||||||] 100% - Planning
    [||||||||||] 100% - Software coding
    [||||||||||] 100% - Built

    (Always tweaking!)

  7. #7
    Constant Bitrate krnpimpsta's Avatar
    Join Date
    Dec 2007
    Location
    DC Metro area
    Posts
    164
    Noob question here,

    What is the benefit of starting your HU software this way, versus just adding it to the startup folder, where it loads after explorer/etc?

  8. #8
    Constant Bitrate
    Join Date
    Sep 2006
    Location
    Cornwall, England
    Posts
    161
    Boots quicker, XP doesn't have to load the GUI and programs in the task bar.
    ViVE - Volkswagen In Van Entertainment:

    VoomPC 2, VIA C7 2GHz
    7" Lilliput
    120Gb Sata drive
    1GB RAM


    [||||||||||] 100% - Planning
    [||||||||||] 100% - Software coding
    [||||||||||] 100% - Built

    (Always tweaking!)

  9. #9
    Constant Bitrate krnpimpsta's Avatar
    Join Date
    Dec 2007
    Location
    DC Metro area
    Posts
    164
    Thanks.

  10. #10
    Newbie DVLRCR's Avatar
    Join Date
    Jul 2005
    Location
    West Auckland, New Zealand
    Posts
    13
    Are there any side affects? e.g. wireless network not loaded etc?

    Regards, Neil
    Carputer HW Status: 70%
    Carputer SW Status: 15%

    Microcontroller HW Status: 20%
    Microcontroller SW Status: 10%

Page 1 of 2 12 LastLast

Similar Threads

  1. Problems with XM input thru any front end
    By CyberLogic in forum Software & Software Development
    Replies: 10
    Last Post: 05-07-2006, 02:49 PM
  2. This is an awesome front end, and here is why:
    By WhiteRabbit in forum NeoCar Media Center
    Replies: 47
    Last Post: 08-27-2005, 10:43 PM
  3. BASIC Stamp question
    By Banderon in forum General Hardware Discussion
    Replies: 18
    Last Post: 05-07-2004, 09:33 AM
  4. So many Front Ends now, we need a Front End to load the Front Ends.
    By LESLIEx317537 in forum Software & Software Development
    Replies: 5
    Last Post: 04-09-2004, 05:53 AM
  5. GUI Front end skins
    By BMW318_Mp3 in forum Software & Software Development
    Replies: 0
    Last Post: 08-29-2002, 05:48 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •