Order of Start Up Applications

Posted on 1998-11-26
Last Modified: 2013-12-28
I want my wife to be able to turn on the computer and have it bring up applications in a certain order so all she has to click on the OK buttons.  For example, when the computer turns on, it automatically loads the ISDN drivers.  Then it loads Outlook 98, then the dial up connection.  But then Outlook comes on top of the dial up window.  This confuses her.  (no comments!)  So, I want the ISDN to go first, then Outlook 98, completely, then the dial up in front.  Then all she has to do is click on connect, then Outlook.  

Is there a way to order the start up applications so they stack in front of each other?


Question by:McDorman
  • 5
  • 3
  • 2
  • +6

Expert Comment

ID: 1648034
Why not have the dialer automatically connect for her?

Expert Comment

ID: 1648035
I think that unless you are connected to the Internet by a rented line, or have some other direct LAN connection, that any program, be it Outlook, MS Internet Explorer, Netscape, or other, has to access through the dial up connection.

You answer lies in writing a script or macro that automatically accesses your dial up connection after boot up (I think you can do this by placing the connection in your "Startup" file), but then exiting the program will not ask to disconnect from the internet upon closing.

I think that you can make it easier for her to connect, but then it will be harder to disconnect.

Good luck.

Expert Comment

ID: 1648036
If you already know how to make the dialer automatically connect, you might want to try this:
Change the order of programs loading in the startup folder by renaming the shortcuts listed there.
Just pick the order desired, and place its number as the first character of the shortcut's name.
Let me know if this helps, or you need more.

Best Practices: Disaster Recovery Testing

Besides backup, any IT division should have a disaster recovery plan. You will find a few tips below relating to the development of such a plan and to what issues one should pay special attention in the course of backup planning.

LVL 20

Expert Comment

ID: 1648037
You can't simply specify the order of autostart because this is what windows is doing: It looks into all the autostart places (startmenu/ini-files/registry keys) and then starts all these programs. But the problem (for you) is that windows doesn't start the first program and then waits until it is finished. Windows starts them in a specific order but it's somehow all at the same time. So programs that bootup fast will come first and programs that need longer will come last.
You COULD write a little program that starts all these applications step by step in the desired order. But it would be some work and then the bootup would last very long.
So you'll have to find another way. I think it should be possible to configure all these programs in a way that they don't show up at all or at least without boxes where you have to click on something. So the order shouldn't matter. Your wife would have to shut her eyes for about 2 minutes. Then open it and begin with working...   :-)

Regards, Madshi.
LVL 23

Expert Comment

by:Tim Holman
ID: 1648038
  I'd take Outlook 98 out of startup, so that only the dial-up connection comes up, then you can connect first, then click on Outlook 98 seperately...
  Alternatively, you could do it for her, whilst she catches up on some ironing and cooks some dinner...
  Ooops !
  Did I say that ?


Expert Comment

ID: 1648039
Here is a work around.
Right click on "Outlook" and select properties.
In the "run" drop down box, select "minimized".
That will keep outlook from getting in your face when you don't want it to be. It will start minimized then all she has to do is select it from the task bar to maximize it.

Author Comment

ID: 1648040
You all have good ideas, but I like Skylab's.  So let me try some of the things you all have suggested and I'll get back to you.


Accepted Solution

arunm earned 50 total points
ID: 1648041
Writing a utility to start programs in a particular order, and then
pausing between the start of each program to ensure they appear in the
correct order, is pretty easy. The follow program takes a list of
program paths and delays as arguments. The easiest method to use it is
to place a shortcut to this program in the startup directory with the
correct target info. For example;-

A target string could look like.

c:\myprogs\thisprogram.exe c:\program files\first_program.exe 2
c:\program files\second_program.exe 3 c:\program files\third_program.exe

This would start c:\program files\first_program.exe wait 2 secs, then
start  c:\program files\second_program.exe wait 3 secs and then finally
start c:\program files\third_program.exe

If you dont have a vc++ complier I can email you a working version of
this. Or if you need any more help on how to use it, let me know.

#include <afx.h>
#include <iostream.h>
#include <winbase.h>
#include <process.h>

int main(int argc, char *argv[])
 int   seconds;
 int   currentArg = 1;

 // Initialise Startup structure
 InfoToPass.cb = sizeof(InfoToPass);
 InfoToPass.lpReserved = NULL;
 InfoToPass.lpDesktop = NULL;
 InfoToPass.lpTitle = NULL;
 InfoToPass.cbReserved2 = 0;
 InfoToPass.lpReserved2 = NULL;
 InfoToPass.wShowWindow = SW_SHOWNORMAL;

 // Spawn required process as a normal process

 while (currentArg < argc)
  // You could also use winexec here, but i prefer the control achived using
  CreateProcess(argv[currentArg++], "", NULL, NULL, FALSE,
   CREATE_NEW_CONSOLE, NULL, NULL, &InfoToPass, &ProcessInfo);

  sscanf(argv[currentArg++],"%d", &seconds);

   // wait
  Sleep(seconds * 1000);

 return (0);



Expert Comment

ID: 1648042
Programmers note: You can also use winexec here, but I prefer the control acheiveable though using createProcess. Also, replacing SW_SHOWNORMAL with SW_SHOWMINIMISED would start each processe minimised on the task tar.


Expert Comment

ID: 1648043
I dont know how I posted that twice? The comment should have been:-
Note:- I prefer to use createprocess() over winexec() due to the additional control it gives you over the process. Also, replacing  SW_SHOWNORMAL with SW_SHOWMINISMED allows an application to start minimsed on the task bar. It would be quite simple to add this to the list of arguments at start up.


Expert Comment

ID: 1648044
Wierd there appears to be a bug at EE. The comment should have been ( at the 2 previous attempts to post it!):-
Note:- I prefer to use createprocess() over winexec() due to the additional control it gives you over the process. Also, replacing  SW_SHOWNORMAL with SW_SHOWMINISMED allows an application to start minimsed on the task bar. It would be quite simple to add this to the list of arguments at start up.


Expert Comment

ID: 1648045
arunm is having a problem getting a comment posted.  I'm testing to see if I can post a comment.

Linda Gardner
Customer Service @ Experts Exchange

Expert Comment

ID: 1648046
The attribution chain on this quesiton hass been repaired.  Please let us know if there are any other anomalies.  Thank you.


Expert Comment

ID: 1648047
Im glad they sorted that out!  Although it appears that I still have 2 "proposed answers"?

Author Comment

ID: 1648048
Everyone, this question has been posted again in order to help fix a potential problem at EE, although based on the comments shown, it looks like it may have been fixed.

Author Comment

ID: 1648049

Thanks for your efforts, although I really liked the download suggested on the repost.


Featured Post

Master Your Team's Linux and Cloud Stack!

The average business loses $13.5M per year to ineffective training (per 1,000 employees). Keep ahead of the competition and combine in-person quality with online cost and flexibility by training with Linux Academy.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Sometimes drives fill up and we don't know why.  If you don't understand the best way to use the tools available, you may end up being stumped as to why your drive says it's not full when you have no space left!  Here's how you can find out...
Today, still in the boom of Apple, PC's and products, nearly 50% of the computer users use Windows as graphical operating systems. If you are among those users who love windows, but are grappling to keep the system's hard drive optimized, then you s…
Windows 8 came with a dramatically different user interface known as Metro. Notably missing from that interface was a Start button and Start Menu. Microsoft responded to negative user feedback of the Metro interface, bringing back the Start button a…
With the advent of Windows 10, Microsoft is pushing a Get Windows 10 icon into the notification area (system tray) of qualifying computers. There are many reasons for wanting to remove this icon. This two-part Experts Exchange video Micro Tutorial s…

809 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question