Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
Discussion GroupsWindows VistaWindows XPWindows MeWindows 98Windows 95Virtual PCInternet ExplorerOutlook ExpressWindows MediaSecurity
Related Topics
MS Server ProductsMS OfficePC HardwareMore Topics ...

Windows Forum / Internet Explorer / General Topics / June 2007

Tip: Looking for answers? Try searching our database.

.hta fails to launch from Startup folder

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
TSR Webman - 21 Jun 2007 11:12 GMT
Using fully updated Vista Home Premium.

I want to run an  .hta application automatically on login.
If I put a shortcut to the .hta on the desktop and then I launch from the
shortcut all is OK.

If I copy the shortcut into the user account startup folder and then logoff
and log in all is also OK

The system I am creating is for a Mutlimedia presentation. I want it to
autostart at power on. I created an autologon using 'netplwiz'. Without the
.hta in startup when the machine powers on it logs in - also OK.

However putting the .hta in startup, sgutting down and the powering on is a
different matter.

The system starts and logs in, then the side bar and bottom bar appear, but
the backgroung is neither the screen background nor my .hta - instead it is a
white background. Right click on the white and the whole screen goes white
(my .hta should take over the whole screen, however it does not appear).
ALT/F4 closes whatever is open and the screen returns to a normal windows
desktop. Tabbing round the screen does not activate any of the .hta content.

Weird.

I suspect this is because some service hasn't started up before the.hta
starts up

Any ideas/suggestions appreciated

I will cross post on HTML Forums/Windows Administration
TSR Webman - 21 Jun 2007 11:39 GMT
Well - I sort of solved the problem. It is definitely due to ssome service
not starting

My .hta code is

<html>
<head>
<title>Launcher</title>
<HTA:APPLICATION ID="oMyApp"
   APPLICATIONNAME="monster"
   BORDER="none"
   CAPTION="no"
   ICON="mages/favicon.ico"
   SHOWINTASKBAR="no"
   SINGLEINSTANCE="yes"
   SYSMENU="no"
   SCROLL="no"
   NAVIGABLE="yes"
   WINDOWSTATE="maximize">
<meta http-equiv="refresh" content="1;url=http://localhost/feed_1.php" >
   
</head>
<body >
<p>Screen will open shortly</p>
</body>

</html>

I changed to
<meta http-equiv="refresh" content="20;url=http://localhost/feed_1.php" >

and all is well

> Using fully updated Vista Home Premium.
>
[quoted text clipped - 27 lines]
>
> I will cross post on HTML Forums/Windows Administration
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2009 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.