Solved

How to detect CD drive in HTML and Java

Posted on 2008-10-20
6
467 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
IT, Stop Being Called Into Every Meeting

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

 

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

6 Surprising Benefits of Threat Intelligence

All sorts of threat intelligence is available on the web. Intelligence you can learn from, and use to anticipate and prepare for future attacks.

Join & Write a Comment

Suggested Solutions

Title # Comments Views Activity
pairstar challenge 2 42
mapBully challenge 6 92
Unexpected HttpURLConnection connection behavior 2 52
GUI builder for Eclipse? 8 13
Now that Expression Web 4.0 (http://www.microsoft.com/expression/products/Upgrade.aspx) is free if you buy or have the full version of Expression Web 3.0, now is the best time to  migrate from FrontPage to Expression Web (http://www.frontpage-to-exp…
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…
The purpose of this video is to demonstrate how to exclude a particular blog category from the main blog page. This is can be used when a category already has its own tab, or you simply want certain types of posts not to show up on the main blog. …
This tutorial covers a step-by-step guide to install VisualVM launcher in eclipse.

746 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

17 Experts available now in Live!

Get 1:1 Help Now