Solved

Launch an application from Netscape

Posted on 1997-06-03
8
219 Views
Last Modified: 2013-12-25
I am working on an information system based on HTML pages using Netscape as a frontend.  I would like to be able to launch an application to plot data from a link.  The obvious way to do this is to make the application a helper; however, I need to pass some command line arguments to the application. Thus far I have not been able to determine if this is possible.

I want everything to run on the client side, so no cgi solutions will work.

If using a plug-in is the answer I would like to know an easy way to turn my application into a plugin, e.g. a plug-in skeleton that I can pop my application into.

Any ideas?

Note:  cu made a pertinent comment about adding argument parameters to the commandline in the MIME configurations file.  The question remains, how does one pass arguments to the application?  What kind of HTML tag would one use for the arguments?  Would something like

      <a href="file.myext  arg1 arg2">

where myext is registered in the MIME configuration file work?
0
Comment
Question by:mesmith
8 Comments
 
LVL 1

Expert Comment

by:viro
ID: 1854275
You must tell to your 'clients' to put on 'mime types section' a type (ex:*.mesmith) and the application that will run when this extension appears.
Then, the browser will launch the application every times this extension appears.

Hope it help!
0
 
LVL 1

Expert Comment

by:cu
ID: 1854276
In Netscape 4, go thru Edit, Preferences, Applications. Find the wanted file type, click Edit and write applications name, some paramater placeholders (%1, %2 etc.) and command line arguments.
Everytime you click that filetype, Netscape will ask you "Shall I open it or save to disk", you have to choose "open it". If the program supports OLE/ActiveX, then Netscape can open the application inplace, i.e. within the main browser window.
This solution should work in NS3 as well.
Good luck...
0
 

Author Comment

by:mesmith
ID: 1854277
The question is how do I pass arguments to the application.  The comment made by cu appears to be more to the point.
0
 

Author Comment

by:mesmith
ID: 1854278
Edited text of question
0
How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

 

Author Comment

by:mesmith
ID: 1854279
Adjusted points to 200
0
 

Accepted Solution

by:
gracie earned 200 total points
ID: 1854280
Allowing Netscape to run applications on the client side would be a major securtiy breach.  So, yes, a plug-in would be one way to go, though it would be a major undertaking.  

However, you could use a java applet that is actually on your server, but is downloaded to the client machine to execute.  The variables could be passed as paramiters.


0
 

Author Comment

by:mesmith
ID: 1854281
You win the jackpot gracie.  I came to the conclusion that a plugin was the only solution and bit the bullet and did it.  I am fairly pleased with the results; however, as you point out, I will need to be very careful with security.  Actually, I intend for the entire archival system to reside on cdrom with no access to a web server or the user's machine being necessary.  I only want to use Netscape as a user interface.

An interesting thing I learned along the way.  Microsoft explorer allows applications to run on the client side very easily and simply.  What does that say about security?
0
 

Expert Comment

by:gracie
ID: 1854282
To me, it says that only the insecure need worry :}


0

Featured Post

Maximize Your Threat Intelligence Reporting

Reporting is one of the most important and least talked about aspects of a world-class threat intelligence program. Here’s how to do it right.

Join & Write a Comment

Suggested Solutions

Popularity Can Be Measured Sometimes we deal with questions of popularity, and we need a way to collect opinions from our clients.  This article shows a simple teaching example of how we might elect a favorite color by letting our clients vote for …
Password hashing is better than message digests or encryption, and you should be using it instead of message digests or encryption.  Find out why and how in this article, which supplements the original article on PHP Client Registration, Login, Logo…
The viewer will learn how to dynamically set the form action using jQuery.
This tutorial will teach you the core code needed to finalize the addition of a watermark to your image. The viewer will use a small PHP class to learn and create a watermark.

760 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

Need Help in Real-Time?

Connect with top rated Experts

21 Experts available now in Live!

Get 1:1 Help Now