Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

ShellExecute & Netscape

Posted on 1997-03-23
2
Medium Priority
?
259 Views
Last Modified: 2010-05-18
In my application I am attempting to use ShellExecute to launch a file e.g. "http://www.mysite.com/home.htm" (can be local or url).  Windows launches the browser associated with the htm file.  

This process works great with IE, however Netscape will load and give an error message saying it cannot find the file or a component is missing.  

Can I take an alternative approach to loading the file?
Note: I am currently developing for 32bit and will want to migrate this to 16bit.

Thanks
0
Comment
Question by:forde
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 
LVL 3

Accepted Solution

by:
sperling earned 100 total points
ID: 1334832
Look up the extension in registry.

HKEY_CLASSES_ROOT\.htm
  (Default) = "NetscapeMarkup"  (or any other string if using another browser as default)

Look up HKEY_CLASSES_ROOT\NetscapeMarkup\shell\open\command
Execute the actual string, replacing %1 with the url.

This is how a double-click on a .HTM file would execute, and how ShellExecute preferrably should work.

If this don't work, netscape needs a reinstall to fix up registry entries.



Regards,

Erik.
0
 

Expert Comment

by:slash
ID: 1334833
OK,
Or :

Execute browser with API and then use DDE to send him LoadURL
command !!!
I could even give you some code

See ya
Slash
0

Featured Post

Concerto Cloud for Software Providers & ISVs

Can Concerto Cloud Services help you focus on evolving your application offerings, while delivering the best cloud experience to your customers? From DevOps to revenue models and customer support, the answer is yes!

Learn how Concerto can help you.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

In this tutorial I will show you how to use the Windows Speech API in Delphi. I will only cover basic functions such as text to speech and controlling the speed of the speech. SAPI Installation First you need to install the SAPI type library, th…
Introduction Raise your hands if you were as upset with FireMonkey as I was when I discovered that there was no TListview.  I use TListView in almost all of my applications I've written, and I was not going to compromise by resorting to TStringGrid…
Sometimes it takes a new vantage point, apart from our everyday security practices, to truly see our Active Directory (AD) vulnerabilities. We get used to implementing the same techniques and checking the same areas for a breach. This pattern can re…
Is your data getting by on basic protection measures? In today’s climate of debilitating malware and ransomware—like WannaCry—that may not be enough. You need to establish more than basics, like a recovery plan that protects both data and endpoints.…
Suggested Courses

636 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question