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 / Windows XP / Basics / August 2005

Tip: Looking for answers? Try searching our database.

Automatically Launching Application After Logon

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Tom Bombadill - 31 Aug 2005 05:07 GMT
Hi,

The machine in question is in an unsupervised, Kiosk type environement. The
computer is a stand-alone XP pro. It reboots itself once a day. The OS
automatically logs on a user with limited permissions after each reboot. I
have put a shortcut of the application in the Startup folder of the user. So
far, so good...

The problem:
The app that's being auto-launched runs on a local instance of SQL engine
(MSDE). It sometimes happens that the SQL services have not had enough time
to initialize before the App is launched. So it fails.

How can I configure the app to launch after the SQL has initialized?

All I need is about 30 secs. Can I insert a wait period? Can I slave it to
SQL?

Thanks for your input,
SteveWhiz - 31 Aug 2005 05:26 GMT
Setting the program access and defaults will do it. In Run type:
%SystemRoot%\system32\control.exe appwiz.cpl,,3.

> Hi,
>
[quoted text clipped - 15 lines]
>
> Thanks for your input,
Tom Bombadill - 31 Aug 2005 07:36 GMT
Hi Steve,

I went into the Programs Access and Defaults configuration page, but I
didn't find any relevant settings to delay the launch of this application.
Nothing under the Custom or any other button that allowed me to do that.

What am I missing?

Thanks,
David Candy - 31 Aug 2005 10:30 GMT
     Sleep.exe: Batch File Wait
     Overview | Syntax | Examples | Related Tools Open Command Prompt

--------------------------------------------------------------------------------

Batch File Wait (Sleep) is a command-line tool that causes the computer to wait for a specified amount of time.

Corresponding Operating System Features
The operating system provides no GUI functionality that corresponds to this tool.

Concepts
You can use batch files, which are also called batch programs or shell scripts, to simplify routine or repetitive tasks. A batch file is an ASCII (unformatted text) file that contains one or more operating system commands. When you type the file name at the command prompt, or when the batch program is run from another program, the commands are run sequentially as they appear in the file. The file name of a batch program has a .cmd or .bat extension. For more information about batch files and shell scripting, see Using batch files (http://go.microsoft.com/fwlink/?LinkID=13963) on the Microsoft TechNet Web site.

System Requirements
The following are the system requirements for Sleep:

 a.. Windows XP Professional or Windows Server 2003 operating system
File Required
 a.. Sleep.exe

http://www.microsoft.com/downloads/details.aspx?familyid467a69-57ff-4ae7-96ee-b
18c4790cffd&displaylang=en

Signature

--------------------------------------------------------------------------------------------------
http://webdiary.smh.com.au/archives/_comment/001075.html

> Hi Steve,
>
[quoted text clipped - 5 lines]
>
> Thanks,
 
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



©2008 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.