|
-
Feb 3rd, 2000, 07:08 PM
#1
Thread Starter
New Member
I am trying to pass a url from a VB5 application to IE or Netscape. I am using ShellExecute to start IE with the specified URL, which sither starts the IE if not already running, or loads the url into the existing browser is IEis running.
My problem is with Netscape (v4.08), which works ok if the browser is not running, but ShellExecute insists on starting a new copy of the browser everytime.
I wondered if it was possible to send the url to the Loaded browser, as I can detect if a browser is already running, or is there was a better solution. (Not supporting Netscape is not an option).
-
Feb 3rd, 2000, 08:27 PM
#2
Frenzied Member
It is my understanding that ShellExecute()runs the application associated with the file type.
(this is ie4)
If I un-check the DDE checkbox for HTML files a new browser is opened. If DDE is used then a current browser is opened
Maybe your netscape machine needs the DDE settings setting
Alternatively, are there any Netscape command line switches?
I've had a quick search but no luck so far!
------------------
Mark Sreeves
Analyst Programmer
[email protected]
A BMW Group Company
-
Feb 4th, 2000, 04:57 PM
#3
Fanatic Member
I dont know if this is going to help much... this procedure executes the default browser. Look at it, it dosent open a new window in netscape for me...
Code:
ShellExecute hwnd, "open","www.vbworld.com",vbNullString, vbNullString,
conSwNormal
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|