comp.lang.ada
 help / color / mirror / Atom feed
From: "Beard, Frank" <beardf@spawar.navy.mil>
To: "'comp.lang.ada@ada.eu.org'" <comp.lang.ada@ada.eu.org>
Subject: RE: About lauching files on Win98
Date: Thu, 15 Feb 2001 19:17:58 -0500
Date: 2001-02-15T19:17:58-05:00	[thread overview]
Message-ID: <mailman.982282752.28007.comp.lang.ada@ada.eu.org> (raw)

Well, I said simplest not best.  The solution I gave works fine on
Windows 98, but your solution is probably "better" and more portable
across the Windows platforms.

And, I really wasn't trying to assume that he had Internet Explorer.
If it wasn't on his system he could simply substitute his browser of
choice.  It was just an example of what he could put in the string,
and hopefully he could figure out how to do the substitution.  If not,
he shouldn't be touching a computer, much less programming it.

However, since he specified Win98, if I were to assume a browser, I
would be 99.9% safe in assuming Internet Explorer would be on his
system, unless he intentionally removed it.  But, that wasn't my
point anyway.

The same reason I dislike CreateProcess is the same reason I dislike
ShellExecute.  Because of the excessive number of parameters for 
doing something simple.  Granted, ShellExecute has less parameters 
than CreateProcess.

So, in most cases I will still opt for WinExec because of it's
simplicity.

Frank

-----Original Message-----
From: John English [mailto:je@bton.ac.uk]
Sent: Tuesday, February 13, 2001 6:34 AM
To: comp.lang.ada@ada.eu.org
Subject: Re: About lauching files on Win98

I beg to differ. It is better to start the default browser using
ShellExecute than to assume the user has IE installed and that
the installation directory is in the user's path.





             reply	other threads:[~2001-02-16  0:17 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-02-16  0:17 Beard, Frank [this message]
  -- strict thread matches above, loose matches on Subject: below --
2001-02-12 22:21 About lauching files on Win98 Beard, Frank
2001-02-13 11:33 ` John English
2001-02-12 14:39 Stéphane Perret
     [not found] ` <96o913$m1loc$1@ID-76083.news.dfncis.de>
2001-02-23  8:37   ` Stephane Perret
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox