Solved

How to detect CD drive in HTML and Java

Posted on 2008-10-20
6
472 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
NFR key for Veeam Backup for Microsoft Office 365

Veeam is happy to provide a free NFR license (for 1 year, up to 10 users). This license allows for the non‑production use of Veeam Backup for Microsoft Office 365 in your home lab without any feature limitations.

 

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

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.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Java exception bubble up 2 21
by zero exception 10 52
add projects t working set in maven 2 22
java example issue 3 23
For beginner Java programmers or at least those new to the Eclipse IDE, the following tutorial will show some (four) ways in which you can import your Java projects to your Eclipse workbench. Introduction While learning Java can be done with…
Are you developing a Java application and want to create Excel Spreadsheets? You have come to the right place, this article will describe how you can create Excel Spreadsheets from a Java Application. For the purposes of this article, I will be u…
The purpose of this video is to demonstrate how to update a WordPress Site’s version. WordPress releases new versions of its software frequently and it is important to update frequently in order to keep your site secure, and to get new WordPress…
This video teaches viewers about errors in exception handling.

860 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