Solved

How to detect CD drive in HTML and Java

Posted on 2008-10-20
6
471 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

Windows Server 2016: All you need to know

Learn about Hyper-V features that increase functionality and usability of Microsoft Windows Server 2016. Also, throughout this eBook, you’ll find some basic PowerShell examples that will help you leverage the scripts in your environments!

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
mockito example issue 8 72
custom annotations 9 39
jdbc error in jsp application 20 45
Java: anonymous class 4 22
Java Flight Recorder and Java Mission Control together create a complete tool chain to continuously collect low level and detailed runtime information enabling after-the-fact incident analysis. Java Flight Recorder is a profiling and event collectio…
Java functions are among the best things for programmers to work with as Java sites can be very easy to read and prepare. Java especially simplifies many processes in the coding industry as it helps integrate many forms of technology and different d…
The purpose of this video is to demonstrate how to integrate Mailchimp with WordPress, by placing a Mailchimp signup form on a WordPress Page or Post. This will be demonstrated using a Windows 8 PC. Mailchimp will be used. Log into your Mailchi…
This tutorial covers a practical example of lazy loading technique and early loading technique in a Singleton Design Pattern.

810 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