Solved

How to detect CD drive in HTML and Java

Posted on 2008-10-20
6
469 Views
Last Modified: 2013-11-23
How to detect CD drive in HTML and Java
0
Comment
Question by:ICCR
  • 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
Microsoft Certification Exam 74-409

Veeam® is happy to provide the Microsoft community with a study guide prepared by MVP and MCT, Orin Thomas. This guide will take you through each of the exam objectives, helping you to prepare for and pass the examination.

 

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

What is SQL Server and how does it work?

The purpose of this paper is to provide you background on SQL Server. It’s your self-study guide for learning fundamentals. It includes both the history of SQL and its technical basics. Concepts and definitions will form the solid foundation of your future DBA expertise.

Question has a verified solution.

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

This was posted to the Netbeans forum a Feb, 2010 and I also sent it to Verisign. Who didn't help much in my struggles to get my application signed. ------------------------- Start The idea here is to target your cell phones with the correct…
Introduction Java can be integrated with native programs using an interface called JNI(Java Native Interface). Native programs are programs which can directly run on the processor. JNI is simply a naming and calling convention so that the JVM (Java…
The purpose of this video is to demonstrate how to integrate Mailchimp with Facebook. This will be demonstrated using a Windows 8 PC. Mailchimp and Facebook will be used. Log into your Mailchimp account. : Click on your name. Go to Account Setti…
The purpose of this video is to demonstrate how to prevent comment spam on a WordPress Website. This will be demonstrated using a Windows 8 PC. Plugin Akismet will be used. Go to your WordPress login page. This will look like the following: myw…

863 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

24 Experts available now in Live!

Get 1:1 Help Now