Solved

How to detect CD drive in HTML and Java

Posted on 2008-10-20
6
477 Views
Last Modified: 2013-11-23
How to detect CD drive in HTML and Java
0
Comment
Question by:ICCR
[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
  • 3
  • 3
6 Comments
 
LVL 8

Accepted Solution

by:
MatthiasVance earned 125 total points
ID: 22762141
What exactly are you trying to accomplish?

Kind regards,

Matthias Vance
0
 

Author Comment

by:ICCR
ID: 22768412
Hi Matthias.
I have an online map with placemarks each displaying a link for more information which is located on the user's CD (the user is instructed to have the CD already loaded.) Seems to be a simple idea. Works in the development local mode, ie, Frontpage not a browser.  Here is the xml code:   CDLink="<a href="D:\Current Docket Information\North\S08 Backgrounds/S08 N2001.pdf">Application</a>"

Thank you
Chris
0
 
LVL 8

Assisted Solution

by:MatthiasVance
MatthiasVance earned 125 total points
ID: 22768610
If you are using some client-side Java, you could probably loop through available disks and try reading for a specific file that the CD holds for certain. If it succeeds, you can be quite sure you have the right drive letter.

Kind regards,

Matthias Vance
0
Don't Cry: How Liquid Web is Ensuring Security

WannaCry is just the start. Read how Liquid Web is protecting itself and its customers against new threats.

 

Author Comment

by:ICCR
ID: 22779140
Hi Matthias,

I am familiar with basic, very basic java script. My application is browser based. Would you know, or no where tofind a code example that loops through a computer's harddrive to find a certain file using a browser?
Thank you fro your help.
Chris
0
 
LVL 8

Assisted Solution

by:MatthiasVance
MatthiasVance earned 125 total points
ID: 22779367
You would need to use a trusted Java applet for example, or JScript or VBScript with ActiveX objects.

Kind regards,

Matthias Vance
0
 

Author Comment

by:ICCR
ID: 22924637
Anyone have a JScript example that finds the local CD/DCD drive? - Thanks Chris
0

Featured Post

Secure Your WordPress Site: 5 Essential Approaches

WordPress is the web's most popular CMS, but its dominance also makes it a target for attackers. Our eBook will show you how to:

Prevent costly exploits of core and plugin vulnerabilities
Repel automated attacks
Lock down your dashboard, secure your code, and protect your users

Question has a verified solution.

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

When setting up new project requests for our site, one of the most powerful tools our team has available to use is Axure (http://www.axure.com/). It’s a tool for creating software and web prototypes that can function and interact as if it were the a…
Objective of This Article In 1990’s, when I was a budding software professional, I had a lot of confusion about which stream or technology, I had to choose to build my career. In those days, I had lot of confusion like whether to choose System so…
The viewer will learn how to implement Singleton Design Pattern in Java.
This tutorial covers a practical example of lazy loading technique and early loading technique in a Singleton Design Pattern.

690 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