Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

cd rom license agreement

Status
Not open for further replies.

sammyroo

Technical User
Jul 10, 2002
4
GB
Hi,
I am trying to produce a CD ROM that has a license agreement on it. I want the user to click or check a radio button that will confirm their acknowledgment of the license agreement. my problem is that I want the first time they agree to the agreement is the only time they see it. I though i could do this by placing a small file some where on the users computer that will act as a variable that the cdrom will search for, and if it finds will not load the license agreement into the screen, but by pass it as it will know the user has already agreed. can anyone suggest a way to do this and where i might find the code/ technicques to achieve this end product. thanks for all help.
 
You are on the right track. First you have to work out where you want to save the file. Ideally I'd save it in the Windows\System folder. (I'm assuming only windows here. Things may change very slightly for cross platform)
You can get the system folder by using something like fileXTRA3 or buddyAPI. Once you have the path to the folder you desire, all you need is the fileIO xtra to write a simple text file with whatever data you want in it.

I'd suggest you lookup MM's technotes where there are code samples for fileIO.
Also lookup director-online.com for additional help.

Mayuresh
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top