The MP3car.com Store  

Welcome to the MP3Car.com forums.

You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. Registering will also remove advertisements. By joining our free community you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content and access many other special features. Registration is fast, simple and absolutely free so please, join our community today!

If you have any problems with the registration process or your account login, please contact contact us.

Go Back   MP3Car.com > Mp3Car Technical > Software & Software Development > Coders Corner

Reply
 
Thread Tools Display Modes
Old 02-07-2008, 05:02 PM   #1
Constant Bitrate
portreathbeach's CarPC Specs
 
Join Date: Sep 2006
Location: Cornwall, England
Vehicle: 2003 VW Transporter T5
Posts: 145
My Photos: (46)
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!)
portreathbeach is offline   Reply With Quote
Sponsored Links
Old 02-09-2008, 11:23 AM   #2
Maximum Bitrate
jonessc's CarPC Specs
 
jonessc's Avatar
 
Join Date: Nov 2006
Location: Wales, UK
Vehicle: BMW 320D M-Sport
Posts: 781
My Photos: (0)
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...
jonessc is offline   Reply With Quote
Old 02-09-2008, 12:51 PM   #3
Constant Bitrate
portreathbeach's CarPC Specs
 
Join Date: Sep 2006
Location: Cornwall, England
Vehicle: 2003 VW Transporter T5
Posts: 145
My Photos: (46)
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!)
portreathbeach is offline   Reply With Quote
Old 02-09-2008, 01:05 PM   #4
Maximum Bitrate
jonessc's CarPC Specs
 
jonessc's Avatar
 
Join Date: Nov 2006
Location: Wales, UK
Vehicle: BMW 320D M-Sport
Posts: 781
My Photos: (0)
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...
jonessc is offline   Reply With Quote
Old 02-11-2008, 06:04 AM   #5
LTi
Newbie
 
Join Date: Jul 2007
Location: Hungary
Vehicle: 2007/Ford/Focus II
Posts: 23
My Photos: (0)
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

Last edited by LTi : 02-11-2008 at 06:08 AM.
LTi is offline   Reply With Quote
Old 02-11-2008, 04:41 PM   #6
Constant Bitrate
portreathbeach's CarPC Specs
 
Join Date: Sep 2006
Location: Cornwall, England
Vehicle: 2003 VW Transporter T5
Posts: 145
My Photos: (46)
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!)
portreathbeach is offline   Reply With Quote
Old 02-11-2008, 05:14 PM   #7
Constant Bitrate
krnpimpsta's CarPC Specs
 
krnpimpsta's Avatar
 
Join Date: Dec 2007
Location: DC Metro area
Vehicle: 2008 Ford Mustang GT
Posts: 158
My Photos: (0)
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?
krnpimpsta is offline   Reply With Quote
Old 02-12-2008, 11:24 AM   #8
Constant Bitrate
portreathbeach's CarPC Specs
 
Join Date: Sep 2006
Location: Cornwall, England
Vehicle: 2003 VW Transporter T5
Posts: 145
My Photos: (46)
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!)
portreathbeach is offline   Reply With Quote
Old 02-12-2008, 01:41 PM   #9
Constant Bitrate
krnpimpsta's CarPC Specs
 
krnpimpsta's Avatar
 
Join Date: Dec 2007
Location: DC Metro area
Vehicle: 2008 Ford Mustang GT
Posts: 158
My Photos: (0)
Thanks.
krnpimpsta is offline   Reply With Quote
Old 03-23-2008, 06:03 PM   #10
Newbie
DVLRCR's CarPC Specs
 
DVLRCR's Avatar
 
Join Date: Jul 2005
Location: West Auckland, New Zealand
Vehicle: 1990 Lexus LS400
Posts: 9
My Photos: (0)
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%
DVLRCR is offline   Reply With Quote
Sponsored Links
Old 03-23-2008, 07:53 PM   #11
Mac Car Moderator
 
kandyman676's Avatar
 
Join Date: Apr 2004
Location: Maryland
Vehicle: 2008 Nissan Altima Sedan 3.5 SL
Posts: 788
My Photos: (1)
As LTi said, the *correct* way is to use Win XP pro and make a specific login for your PC startup via Local Group Policy, and then a separate admin login for your maintenance.
__________________
"If it works this good why F with it?" -KMFDM "Intro"

Strive for ethical wardriving: http://faq.wardrive.net/

My CarCPUs: v1 - 2000 | v2 - 2004
Mp3Car Meets: http://detrimental.org/eyecandy/MP3CarMeets
kandyman676 is offline   Reply With Quote
Sponsored Links
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 Off

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


All times are GMT -5. The time now is 10:07 PM.


Sponsored Links
The MP3car.com Store

Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.1.0
Copyright © 1999 - 2008 Mp3Car.com Inc.
Ad Management by RedTyger
Message Board Statistics