Solved

Launch an application from Netscape

Posted on 1997-06-03
8
248 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
[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
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
Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 

Author Comment

by:mesmith
ID: 1854278
Edited text of question
0
 

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

PeopleSoft Has Never Been Easier

PeopleSoft Adoption Made Smooth & Simple!

On-The-Job Training Is made Intuitive & Easy With WalkMe's On-Screen Guidance Tool.  Claim Your Free WalkMe Account Now

Question has a verified solution.

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

When the s#!t hits the fan, you don’t have time to look up who’s on call, draft emails, call collaborators, or send text messages. An instant chat window is definitely the way to go, especially one like HipChat. HipChat is a true business app. An…
When it comes to security, close monitoring is a must. According to WhiteHat Security annual report, a substantial number of all web applications are vulnerable always. Monitis offers a new product - fully-featured Website security monitoring and pr…
The viewer will learn how to look for a specific file type in a local or remote server directory using PHP.
Video by: Mark
This lesson goes over how to construct ordered and unordered lists and how to create hyperlinks.

696 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