PDA

View Full Version : notification when CD is open/executed


voyager
06-30-2008, 02:55 PM
Is possible that when my clients open my CD with my AMS presentation, I could be notified in some way, and know which client is?

thanks

RizlaUK
07-03-2008, 08:21 PM
ok, to test if your disk is in the drive you could use something like this called from a timer every 1 min or so

MyDiskName="Test"
NameInDrive=Drive.GetInformation(_SourceDrive).Dis playName
if NameInDrive == MyDiskName then
-- your disk is in the drive

else
-- your disk is not in the drive

end

by client do you mean the user ??

if so then you need to make your app send you the users details, via email, ftp, ams+mysql, php+mysql or however suites your app, there are plenty of examples on the forum for all of the above.