Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: How to goto URL from app [OT]



On Tuesday, July 8, 2003, at 03:39 PM, Greg Guerin <email@hidden> wrote:

Date: Tue, 8 Jul 2003 14:17:44 -0700
To: email@hidden
From: Greg Guerin <email@hidden>
Subject: Re: How to goto URL from app

In my experience, it works better to run the START program directly:

case OS_WIN_9X :
params = new String[] {
"start",
s
};
break;

For one thing, you don't have to quote the URL. It works as-is.

For another, running START.EXE by itself won't display a dorky
command-window, which makes your program look ever so stupid, given the
defaults of the command.com window.

Sadly, START is a builtin on NT-lineage versions of Windows (NT, 2K, XP),
and puzzling out how to tell it to not put up the geekoid command-line
window was more than I could decipher even after playing around with it for
a couple hours. The price of innovation, I suppose.

You may well be right (I'm no Windows expert). However, I was not able to exec "start" directly from XP, and I was told that I should use command.com for Win9X. I have managed to get various people to test the code on most of the Win32 variants without a reported problem, but Win32 is such a ugly mess that it's hard to be sure of anything.

- Nick
_______________________________________________
java-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/java-dev
Be sure to read the FAQ http://developer.apple.com/java/faq/ before posting
Do not post admin requests to the list. They will be ignored.



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.