Solved

exe file thru CD path

Posted on 2002-07-28
6
168 Views
Last Modified: 2012-05-05
If I a application in CD-ROM with a setup to install
app should be in such a way it requires CD to execute exe file
0
Comment
Question by:manjunath_msr
[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
6 Comments
 
LVL 5

Expert Comment

by:jayeshshah
ID: 7183176
could you please explain your question properly in detail.
0
 

Author Comment

by:manjunath_msr
ID: 7183204
Suppose i have CD I will install in a system if they click  microsoft word.exe file it should not run without ms-office CD i.e, it should not install microsoft word.exe file into the system only it soule have the path
this is only eg
0
 
LVL 4

Accepted Solution

by:
mcoop earned 20 total points
ID: 7183269
Within your program - you can test for the presence of a specific file (or series of files) on 'another' drive...

This drive in turn should validate as a) a CDR drive, and b) with the correct media label.

(obviously you can't assume that D: is always a CD!)

Of course you can also start doing other things as well - like uniques hardware serial etc - but the above will answer your initial question.
0
Online Training Solution

Drastically shorten your training time with WalkMe's advanced online training solution that Guides your trainees to action. Forget about retraining and skyrocket knowledge retention rates.

 
LVL 45

Expert Comment

by:aikimark
ID: 7183686
You will need to use some Window API to inspect the type of media.  I don't think that the FileSystemObject will give you enough detail for this.  You can only control your own application.  Your Word example can't be enforced, since it isn't your program.

Your user might have copied the CD to a mapped directory on the LAN.
===============================================
What will you do if the user has duplicated their CD?
What is the purpose of such a configuration?
0
 
LVL 49

Expert Comment

by:DanRollins
ID: 8049037
Hi manjunath_msr,
It appears that you have forgotten this question. I will ask Community Support to close it unless you finalize it within 7 days. I will ask a Community Support Moderator to:

    Accept mcoop's comment(s) as an answer.

manjunath_msr, if you think your question was not answered at all or if you need help, just post a new comment here; Community Support will help you.  DO NOT accept this comment as an answer.

EXPERTS: If you disagree with that recommendation, please post an explanatory comment.
==========
DanRollins -- EE database cleanup volunteer
0
 

Expert Comment

by:SpideyMod
ID: 8095833
per recommendation

SpideyMod
Community Support Moderator @Experts Exchange
0

Featured Post

Revamp Your Training Process

Drastically shorten your training time with WalkMe's advanced online training solution that Guides your trainees to action.

Question has a verified solution.

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

If you have ever used Microsoft Word then you know that it has a good spell checker and it may have occurred to you that the ability to check spelling might be a nice piece of functionality to add to certain applications of yours. Well the code that…
Background What I'm presenting in this article is the result of 2 conditions in my work area: We have a SQL Server production environment but no development or test environment; andWe have an MS Access front end using tables in SQL Server but we a…
Get people started with the process of using Access VBA to control Excel using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Excel. Using automation, an Access application can laun…
Show developers how to use a criteria form to limit the data that appears on an Access report. It is a common requirement that users can specify the criteria for a report at runtime. The easiest way to accomplish this is using a criteria form that a…

695 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