Solved

exe file thru CD path

Posted on 2002-07-28
6
165 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
Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 
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

Secure Your Active Directory - April 20, 2017

Active Directory plays a critical role in your company’s IT infrastructure and keeping it secure in today’s hacker-infested world is a must.
Microsoft published 300+ pages of guidance, but who has the time, money, and resources to implement? Register now to find an easier way.

Question has a verified solution.

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

When trying to find the cause of a problem in VBA or VB6 it's often valuable to know what procedures were executed prior to the error. You can use the Call Stack for that but it is often inadequate because it may show procedures you aren't intereste…
Since upgrading to Office 2013 or higher installing the Smart Indenter addin will fail. This article will explain how to install it so it will work regardless of the Office version installed.
Get people started with the process of using Access VBA to control Outlook using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Microsoft Outlook. Using automation, an Access applic…
Get people started with the utilization of class modules. Class modules can be a powerful tool in Microsoft Access. They allow you to create self-contained objects that encapsulate functionality. They can easily hide the complexity of a process from…

749 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