[DUG] Show splash screen across two exe files
Hello everyone, I got two exe files a.exe, b.exe. I want a.exe startup to show a splash screen. And a.exe will launch b.exe and a.exe will quit. I want b.exe once finish launching and close the splash screen. How to do that? TIA Regards Leigh www.smootharm.com ___ NZ Borland Developers Group - Delphi mailing list Post: delphi@delphi.org.nz Admin: http://delphi.org.nz/mailman/listinfo/delphi Unsubscribe: send an email to [EMAIL PROTECTED] with Subject: unsubscribe
Re: [DUG] Show splash screen across two exe files
You can have a.exe start b.exe and then just wait in the background... then when b.exe exits a.exe also exits and closes the splash screen. On Tue, 31 Jul 2007 00:58:56 +0200, Leigh Wanstead [EMAIL PROTECTED] wrote: Hello everyone, I got two exe files a.exe, b.exe. I want a.exe startup to show a splash screen. And a.exe will launch b.exe and a.exe will quit. I want b.exe once finish launching and close the splash screen. How to do that? TIA Regards Leigh www.smootharm.com -- Using Opera's revolutionary e-mail client: http://www.opera.com/mail/ ___ NZ Borland Developers Group - Delphi mailing list Post: delphi@delphi.org.nz Admin: http://delphi.org.nz/mailman/listinfo/delphi Unsubscribe: send an email to [EMAIL PROTECTED] with Subject: unsubscribe
Re: [DUG] Show splash screen across two exe files
Leigh I would do a slightly different sequence you run a, which shows the splashscreen and lauches b, when b has initialises it sets a mutex which a detects and exits (closing the splash) HTH Neven Hello everyone, I got two exe files a.exe, b.exe. I want a.exe startup to show a splash screen. And a.exe will launch b.exe and a.exe will quit. I want b.exe once finish launching and close the splash screen. How to do that? TIA Regards Leigh www.smootharm.com http://www.smootharm.com ___ NZ Borland Developers Group - Delphi mailing list Post: delphi@delphi.org.nz Admin: http://delphi.org.nz/mailman/listinfo/delphi Unsubscribe: send an email to [EMAIL PROTECTED] with Subject: unsubscribe ___ NZ Borland Developers Group - Delphi mailing list Post: delphi@delphi.org.nz Admin: http://delphi.org.nz/mailman/listinfo/delphi Unsubscribe: send an email to [EMAIL PROTECTED] with Subject: unsubscribe
RE: [DUG] Show splash screen across two exe files
Good idea. Could enhance it by passing a Windows message from b.exe to a.exe telling a.exe to shut itself down, at which point, the splash screen will obviously disappear. HTH, C. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Csaba Gajo You can have a.exe start b.exe and then just wait in the background... then when b.exe exits a.exe also exits and closes the splash screen. On Tue, 31 Jul 2007 00:58:56 +0200, Leigh Wanstead [EMAIL PROTECTED] wrote: Hello everyone, I got two exe files a.exe, b.exe. I want a.exe startup to show a splash screen. And a.exe will launch b.exe and a.exe will quit. I want b.exe once finish launching and close the splash screen. ___ NZ Borland Developers Group - Delphi mailing list Post: delphi@delphi.org.nz Admin: http://delphi.org.nz/mailman/listinfo/delphi Unsubscribe: send an email to [EMAIL PROTECTED] with Subject: unsubscribe
Re: [DUG] Show splash screen across two exe files
You could cheat and make both exes show the same splash screen. I expect it'll look like what you say. Wayne NZ Borland Developers Group - Delphi List delphi@delphi.org.nz on Tuesday, 31 July 2007 at 10:58 a.m. + wrote: Hello everyone, I got two exe files a.exe, b.exe. I want a.exe startup to show a splash screen. And a.exe will launch b.exe and a.exe will quit. I want b.exe once finish launching and close the splash screen. How to do that? ___ NZ Borland Developers Group - Delphi mailing list Post: delphi@delphi.org.nz Admin: http://delphi.org.nz/mailman/listinfo/delphi Unsubscribe: send an email to [EMAIL PROTECTED] with Subject: unsubscribe
RE: [DUG] Show splash screen across two exe files
I talked to my collegue and decided to do this way. Just display two different splash screen in both application, so user will know something is still starting. Regards Leigh www.smootharm.com -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Wayne Roser Sent: Tuesday, July 31, 2007 11:23 AM To: NZ Borland Developers Group - Delphi List Subject: Re: [DUG] Show splash screen across two exe files You could cheat and make both exes show the same splash screen. I expect it'll look like what you say. Wayne NZ Borland Developers Group - Delphi List delphi@delphi.org.nz on Tuesday, 31 July 2007 at 10:58 a.m. + wrote: Hello everyone, I got two exe files a.exe, b.exe. I want a.exe startup to show a splash screen. And a.exe will launch b.exe and a.exe will quit. I want b.exe once finish launching and close the splash screen. How to do that? ___ NZ Borland Developers Group - Delphi mailing list Post: delphi@delphi.org.nz Admin: http://delphi.org.nz/mailman/listinfo/delphi Unsubscribe: send an email to [EMAIL PROTECTED] with Subject: unsubscribe ___ NZ Borland Developers Group - Delphi mailing list Post: delphi@delphi.org.nz Admin: http://delphi.org.nz/mailman/listinfo/delphi Unsubscribe: send an email to [EMAIL PROTECTED] with Subject: unsubscribe
Re: [DUG] Show splash screen across two exe files
The way mine works is that a starts its splash screen (which has the progress info on it) and launches b. b has the identical splash screen and just takes over, the user does not notice that the screen has been replaced. And a dies in the background. Havent had to use any process locking means. Leigh Wanstead wrote: Hello everyone, I got two exe files a.exe, b.exe. I want a.exe startup to show a splash screen. And a.exe will launch b.exe and a.exe will quit. I want b.exe once finish launching and close the splash screen. How to do that? TIA Regards Leigh www.smootharm.com http://www.smootharm.com ___ NZ Borland Developers Group - Delphi mailing list Post: delphi@delphi.org.nz Admin: http://delphi.org.nz/mailman/listinfo/delphi Unsubscribe: send an email to [EMAIL PROTECTED] with Subject: unsubscribe -- *Rohit Gupta* * B.E. Elec. M.E. Mem IEEEAssociate IEE* *Technical Manager* *Computer Fanatics Limited* ** *Tel* +64 9 4892280 *Fax*+64 9 4892290 *Email [EMAIL PROTECTED] mailto:[EMAIL PROTECTED]** *Web*www.cfl.co.nz http://www.cfl.co.nz/ This email and any attachments contain information, which is confidential and may be subject to legal privilege and copyright. If you are not the intended recipient, you must not use, distribute or copy this email or attachments. If you have received this in error, please notify us immediately by return email and then delete this email and any attachments. ___ NZ Borland Developers Group - Delphi mailing list Post: delphi@delphi.org.nz Admin: http://delphi.org.nz/mailman/listinfo/delphi Unsubscribe: send an email to [EMAIL PROTECTED] with Subject: unsubscribe
Re: [DUG] Show splash screen across two exe files
or, A opens B, then sits and waits until... FindWindow('MyForm', nil) 0 ...then closes. FindWindow is in the Wondows unit and tells you whether a window is open or not. That way A starts up withthe splash screen and sits there until it knows that B has loaded and is displaying it's 'MyForm', then A closes, leaving B to it. Steve -- Steve Peacocke http://stevepeacocke.blogspot.com/ On 31/07/07, Rohit Gupta [EMAIL PROTECTED] wrote: The way mine works is that a starts its splash screen (which has the progress info on it) and launches b. b has the identical splash screen and just takes over, the user does not notice that the screen has been replaced. And a dies in the background. Havent had to use any process locking means. Leigh Wanstead wrote: Hello everyone, I got two exe files a.exe, b.exe. I want a.exe startup to show a splash screen. And a.exe will launch b.exe and a.exe will quit. I want b.exe once finish launching and close the splash screen. How to do that? TIA Regards Leigh www.smootharm.com ___ NZ Borland Developers Group - Delphi mailing list Post: delphi@delphi.org.nz Admin: http://delphi.org.nz/mailman/listinfo/delphi Unsubscribe: send an email to [EMAIL PROTECTED] with Subject: unsubscribe -- Rohit Gupta B.E. Elec. M.E. Mem IEEEAssociate IEE Technical Manager Computer Fanatics Limited Tel +64 9 4892280 Fax+64 9 4892290 Email [EMAIL PROTECTED] Webwww.cfl.co.nz This email and any attachments contain information, which is confidential and may be subject to legal privilege and copyright. If you are not the intended recipient, you must not use, distribute or copy this email or attachments. If you have received this in error, please notify us immediately by return email and then delete this email and any attachments. ___ NZ Borland Developers Group - Delphi mailing list Post: delphi@delphi.org.nz Admin: http://delphi.org.nz/mailman/listinfo/delphi Unsubscribe: send an email to [EMAIL PROTECTED] with Subject: unsubscribe ___ NZ Borland Developers Group - Delphi mailing list Post: delphi@delphi.org.nz Admin: http://delphi.org.nz/mailman/listinfo/delphi Unsubscribe: send an email to [EMAIL PROTECTED] with Subject: unsubscribe