Gary,
Follow the link I provided in the previouse message for explaination of all the parameters. The last (6th) parameter contros how an application is to be displayed when it is opened. See available codes below.
#define SW_HIDE 0
#define SW_SHOWNORMAL 1
#define SW_NORMAL 1
#define SW_SHOWMINIMIZED 2
#define SW_SHOWMAXIMIZED 3
#define SW_MAXIMIZE 3
#define SW_SHOWNOACTIVATE 4
#define SW_SHOW 5
#define SW_MINIMIZE 6
#define SW_SHOWMINNOACTIVE 7
#define SW_SHOWNA 8
#define SW_RESTORE 9
#define SW_SHOWDEFAULT 10
#define SW_FORCEMINIMIZE 11
#define SW_MAX 11
>Than You so Much.
>
>One last ?
> would you explain the parameters I am sending
>
>Shellexecute(0,"Open", lcPDFfile, "","",7)
>
>when i call the above funcition is works fine except I woul like to have it come up as the selected window. It comes up minimized for some reason.
>
>
>Again Thanks
--sb--