🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.readers
Article #24131

Re: Gravity , Netscape and URL's

#24131
From: Tony Edwards
Date: Mon, 15 Jul 1996 00:00
52 lines
2923 bytes
In article <MPLANET.31e64355billyd9896f1@news.gulf.net>, billyd@gulf.net 
says...
> I have a problem with Gravity launching URL's. When one is 
> launched, Netscape starts up and goes throught the splash 
> screen and the harddrive does it's thing. All looks and 
> sounds normal. Then Netscape just quits.
> Now, if I have NS minumized on the tool bar and a url is 
> launched, every thing works as advertised. ALL my other 
> programs launch url's annd NS properly. Seems to be a prob 
> with Gravity, since it won't launch NS from the sleeping 
> postition.
> 
> 

In a followup elsewhere (perhaps within this group, sorry if this repeats 
it) I admit that it is sort of our fault.  You can read on, or just note 
that version 1.01 fixes this.  It should be out before August.

the following is taken from another post:

"On a related note, many people have reported a problem concerning getting 
URLs to launch, especially with new versions of MSIE and Netscape.  This 
has been fixed in 1.01 as well.  The problem here was a judicioius reading 
of the Win32 programmer documentation.  The final parameter to ShellExecute 
is nCmdShow, which controls how a program gets displayed when it is 
launched using ShellExecute.  You can tell ShellExecute to maximize, 
minimize, hide, etc... the program when it first comes up.  At the bottom 
of the section under "nCmdShow" it say:

"If lpFile specifies a document file, nShowCmd should be zero."

Since in our case, "http://whatever" is a request to open a web document, 
we set this parameter to zero as recommended.   In earlier implementations 
of Netscape and MSIE, this seemed to work just fine (I don't know why, 
perhaps they were not honoring a request to come up hidden, or maybe 
something else has changed).  After hearing all of the complaints, I went 
back to look at this, and low and behold, zero happens to be SW_HIDE, which 
is what you would pass if you wanted the launched application to be hidden.  
Of course, we knew that MSIE and newer Netscapes were coming up not 
visible, which is what led to me discovering that the Win32 is erroneous.  
Still I would like to apologize to those who are having the problem and 
1.01 will definitely fix this."

-- 
Tony Edwards
MicroPlanet, Inc.
http://www.microplanet.com



Technical Details
Message-ID: <MPLANET.31eab022support989fcb@support.microplanet.com>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.mbox.zip!not-for-mail
References: <MPLANET.31e64355billyd9896f1@news.gulf.net>

Show Full Headers
Complete Article Headers
Message-ID: <MPLANET.31eab022support989fcb@support.microplanet.com>
Subject: Re: Gravity , Netscape and URL's
Date: Mon, 15 Jul 1996 00:00:00 +0000
From: support@microplanet.com (Tony Edwards)
References: <MPLANET.31e64355billyd9896f1@news.gulf.net>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.mbox.zip!not-for-mail
X-Deja-AN: 168430822
Organization: MicroPlanet, Inc
Newsgroups: news.software.readers